[arch-projects] [INITSCRIPTS][PATCH 2/4] arch-sysctl: allow passing specific config files

Seblu seblu at seblu.net
Tue Mar 13 07:21:33 EDT 2012

On Mon, Mar 12, 2012 at 11:19 PM, Tom Gundersen <teg at jklm.no> wrote:
> On Mon, Mar 12, 2012 at 10:54 PM, Sébastien Luttringer <seblu at seblu.net> wrote:
>> Modify our path collection loop to accept the remaining argv as paths to
>> config files. This overrides the default lookup for config files in
>> /etc, /lib, and /run so that single config files can be parsed at a time
> Makes sense in principle. Do you know if any packages yet ship with
> sysctl files (systemd does, but that doesn't count ;-) )? If so they
> could call this in post_install, so that makes sense to me.

I don't know if package ship sysctl files, but there is few case where
this should be done. It's more an admin facility to tweak a system and
be compatible with other distro.

Idea behind this commit, is to have the same behaviour in initscripts plugin.

If package want trigger it, he can do it with the initscripts binary,
calling /usr/lib/initscripts/arch-sysctl. But it's initscripts
oriented and not really compatible with systemd and should directly
call "sysctl -p hisfile.conf" instead.

Sébastien Luttringer

More information about the arch-projects mailing list