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

Tom Gundersen teg at jklm.no
Tue Aug 30 19:41:33 EDT 2011


Hi all,

On Tue, Aug 30, 2011 at 3:36 PM, Seblu <seblu at seblu.net> wrote:
> I don't understand something, even if we doesn't have any package
> using /etc/sysctl.d is an handy way of adding config to sysctl for *real* users.

So even if the number of packages that might need this was
underwhelming, Seblu convinced me in a chat that it might still be a
good thing to have for an admin.

The way I understood it was that he has a collection of .conf files,
each of which has a different purpose (such as "laptop", "noswap",
"xen", etc). Then it is much simpler to drop one of these files into
one of his machine's /etc/sysctl.d/ directories than to have to edit
/etc/sysctl.conf.

This sounds fair enough to me. So if anyone want to implement the
standard outlined in the systemd manpage I'd be happy to merge it
(please coordinate a bit, so not two people start working on the same
thing though). Maybe inspiration can be taken from Dave's
arch-tmpfiles script for how to deal with precedence of config file
dirs.

We should keep backwards compatibility and always load /etc/sysctl.conf.

Cheers,

Tom


More information about the arch-projects mailing list