summaryrefslogtreecommitdiff
path: root/units/systemd-networkd.service.in
diff options
context:
space:
mode:
authorKevin Kuehler <keur@xcf.berkeley.edu>2019-11-13 16:56:23 -0800
committerKevin Kuehler <keur@xcf.berkeley.edu>2019-11-15 00:59:54 -0800
commit6168ae5840bf206b1d1f88d5173fb292230f56a8 (patch)
tree1048330b903602686dc56cd5986cfeb226d08740 /units/systemd-networkd.service.in
parent806aea3879ca86355af24a7c36cdbf7432b0c7c7 (diff)
downloadsystemd-6168ae5840bf206b1d1f88d5173fb292230f56a8.tar.gz
units: set ProtectKernelLogs=yes on relevant units
We set ProtectKernelLogs=yes on all long running services except for udevd, since it accesses /dev/kmsg, and journald, since it calls syslog and accesses /dev/kmsg.
Diffstat (limited to 'units/systemd-networkd.service.in')
-rw-r--r--units/systemd-networkd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in
index ed985f64fa..01931665a4 100644
--- a/units/systemd-networkd.service.in
+++ b/units/systemd-networkd.service.in
@@ -29,6 +29,7 @@ NoNewPrivileges=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectKernelModules=yes
+ProtectKernelLogs=yes
ProtectSystem=strict
Restart=on-failure
RestartSec=0