1
0
mirror of https://github.com/systemd/systemd synced 2024-07-09 04:26:06 +00:00
systemd/src/sysctl
Christian Göttsche 1805fbcf06 sysctl: increase log severity on failed write
Increase the log severity in case of writing to a non existent sysctl
parameter as this can either be caused by a misspelling or a kernel mis-
configuration, e.g. in case YAMA does not get loaded due to a incomplete
lsm= override:

    systemd-sysctl[354]: Couldn't write '1' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory
2022-06-14 09:29:37 +09:00
..
sysctl.c sysctl: increase log severity on failed write 2022-06-14 09:29:37 +09:00