mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03: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
|
KillMode=mixed
|
||||||
WatchdogSec=3min
|
WatchdogSec=3min
|
||||||
TasksMax=infinity
|
TasksMax=infinity
|
||||||
MountFlags=slave
|
PrivateMounts=yes
|
||||||
MemoryDenyWriteExecute=yes
|
MemoryDenyWriteExecute=yes
|
||||||
RestrictRealtime=yes
|
RestrictRealtime=yes
|
||||||
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
|
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6
|
||||||
|
Loading…
Reference in New Issue
Block a user