]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: don't set PrivateNetwork= in systemd-homed.service
authorLennart Poettering <lennart@poettering.net>
Tue, 26 May 2020 17:20:33 +0000 (19:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 May 2020 21:37:44 +0000 (23:37 +0200)
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
units/systemd-homed.service.in

index 91dabee03456159a58582752ba2788153f86fa58..b7b0c3ef1015fde6f9242101bd944a3e76bb0f5b 100644 (file)
@@ -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