[arch-projects] [initscripts][PATCH] arch-sysctl: suppress errors about unknown keys

Tom Gundersen teg at jklm.no
Tue Dec 13 13:26:53 EST 2011

On Tue, Dec 13, 2011 at 5:55 PM, lolilolicon <lolilolicon at gmail.com> wrote:
> The errors about unknown keys in boot messages are harmless, but annoying.
> Some keys may become unknown when some modules are disabled, yet the user
> may want to keep the sysctl.conf entries so they can take effect when the
> modules are subsequently (re)enabled.  One example is the IPv6 module and
> the net.ipv6.conf.all.use_tempaddr key.

Thanks for the patch. However, I don't think this is what we want. As
a general rule we don't hide any error/warning messages from the user.
It might be that the user does not care, but it might also be that
s/he misspelled the name of the key, or that there is some other error
where action needs to be taken.

Alternatively, you could keep all your ipv6 (or whatever) settings in
a separate file in /etc/sysctl.d/ipv6.conf, and rename it to
ipv6.conf.backup when you don't want them to be used...

> Signed-off-by: lolilolicon <lolilolicon at gmail.com>

Signed-off-by without your real name doesn't really mean anything btw...



More information about the arch-projects mailing list