From: Lennart Poettering Date: Tue, 26 May 2020 17:20:33 +0000 (+0200) Subject: units: don't set PrivateNetwork= in systemd-homed.service X-Git-Tag: v246-rc1~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48432791accdcf775995781ddefd6027283f8a97;p=thirdparty%2Fsystemd.git 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 --- diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in index 91dabee0345..b7b0c3ef101 100644 --- a/units/systemd-homed.service.in +++ b/units/systemd-homed.service.in @@ -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