mirror of
https://github.com/systemd/systemd
synced 2024-07-22 02:34:54 +00:00
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.
This commit is contained in:
parent
2f2e14b251
commit
b2e8ae7380
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue