]> git.ipfire.org Git - thirdparty/systemd.git/commit
units: disable ProtectKernelLogs for machined
authorGuillaume Douézan-Grard <gdouezangrard@gmail.com>
Sun, 1 Mar 2020 20:43:24 +0000 (21:43 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 2 Mar 2020 05:49:14 +0000 (14:49 +0900)
commitf4665664c4ff69a3666fabc220535fced1544fa8
treedede31a28d5f792847e656d8549a8961d70dc445
parent123aeae20672f251fa0305a99ee8ccd6c97850ad
units: disable ProtectKernelLogs for machined

machined needs access to the host mount namespace to propagate bind
mounts created with the "machinectl bind" command. However, the
"ProtectKernelLogs" directive relies on mount namespaces to make the
kernel ring buffer inaccessible. This commit removes the
"ProtectKernelLogs=yes" directive from machined service file introduced
in 6168ae5.

Closes #14559.
units/systemd-machined.service.in