mirror of
https://github.com/systemd/systemd
synced 2024-10-15 20:45:09 +00:00
units: don't set PrivateNetwork= in systemd-homed.service
We want to watch USB sticks being plugged in, and that requires AF_NETLINK to work correctly and get the host's events. But if we live in a network namespace AF_NETLINK is disconnected too and we'll not get the host udev events. Fixes: #15287
This commit is contained in:
parent
8a7b71bd97
commit
48432791ac
|
@ -25,7 +25,6 @@ LimitNOFILE=@HIGH_RLIMIT_NOFILE@
|
|||
LockPersonality=yes
|
||||
MemoryDenyWriteExecute=yes
|
||||
NoNewPrivileges=yes
|
||||
PrivateNetwork=yes
|
||||
RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG
|
||||
RestrictNamespaces=mnt
|
||||
RestrictRealtime=yes
|
||||
|
|
Loading…
Reference in a new issue