]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysctl: downgrade message when we have no permission 14585/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Jan 2020 13:45:28 +0000 (14:45 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Jan 2020 13:45:50 +0000 (14:45 +0100)
commit32458cc9687c1b60ff0f22c0e71da93ce78b1534
tree60b494f34e98936c54bb4ff6c31192b4d4c7d522
parentb2ae4d9eb85f80d639733e0ff140c5fa8cae71ab
sysctl: downgrade message when we have no permission

We need to run sysctl also in containers, because the network
subtree is namespaces and may legitimately be writable. But logging
all "errors" at notice level creates unwanted noise.

Also downgrade message about missing sysctls to log_info. This might also be
relatively common when configuration is targeted at different kernel
versions. With log_debug it'll still end up in the logs, but isn't really worth
of "notice" most of the time.

https://bugzilla.redhat.com/show_bug.cgi?id=1609806
src/sysctl/sysctl.c