[arch-projects] [PATCH] initscripts: load of sysctl files at startup

Tom Gundersen teg at jklm.no
Mon Aug 29 14:10:32 EDT 2011


On Mon, Aug 29, 2011 at 7:26 PM, Seblu <seblu at seblu.net> wrote:
> On Mon, Aug 29, 2011 at 12:17 AM, Tom Gundersen <teg at jklm.no> wrote:
>> On Sun, Aug 28, 2011 at 11:51 PM, Dave Reisner <d at falconindy.com> wrote:
>>> On Sun, Aug 28, 2011 at 11:44:17PM +0200, Earendil wrote:
>>>> I have also added the capability to stip th sysctl.conf files in many
>>>> files in the sysctl.d directory.
>>>> This idea was inspired by Debian architecture.
>>>
>>> Sure, systemd uses this as well. Do we have any cases where distributing
>>> a sysctl file with a package is needed? I'm really not sure this is
>>> something that's wanted/needed in Arch.
>>
>> I agree with Dave, if we are going to support this there should be at
>> least one user of it. Are there any packages that either already ship
>> with their own sysctl file, or that would benefit from doing it?
> As /etc/udev/rules.d, sysctl.d can be reserved for users.
>
> It's a very pratical way of setting system config. Make it a default,
> is a good advice for users.
> It will maybe also help packager which want add some systcl param.
> (chicken or the egg?)

I'm all for it if we have users (packages). I.e. if there are packages
that could use this, I'd be happy to merge a patch. A candidate would
be any package that instructs the user to add something to
sysctl.conf. I have not seen this, but maybe it exists.

If we start shipping files in /usr/lib/sysctl.d/, then the counerpart
in /etc makes sense for user files and as an override mechanism.
However, if there are no shipped files, then the user might as well
keep all the config in /etc/sysctl.conf.

-t


More information about the arch-projects mailing list