diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-06-01 11:24:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-06-12 16:27:37 +0200 |
commit | b2e8ae7380d009ab9f9260a34e251ac5990b01ca (patch) | |
tree | 2fdfa940cbbd9b1068c380b426ba30d35ba7f45a /units/systemd-udevd.service.in | |
parent | man: document the new PrivateMounts= setting (diff) | |
download | systemd-b2e8ae7380d009ab9f9260a34e251ac5990b01ca.tar.xz systemd-b2e8ae7380d009ab9f9260a34e251ac5990b01ca.zip |
units: switch udev service to use PrivateMounts=yes
Given that PrivateMounts=yes is the "successor" to MountFlags=slave in
unit files, let's make use of it for udevd.
Diffstat (limited to 'units/systemd-udevd.service.in')
-rw-r--r-- | units/systemd-udevd.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index 8557522e7b..2b9fa69d9b 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -25,7 +25,7 @@ ExecStart=@rootlibexecdir@/systemd-udevd KillMode=mixed WatchdogSec=3min TasksMax=infinity -MountFlags=slave +PrivateMounts=yes MemoryDenyWriteExecute=yes RestrictRealtime=yes RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 |