From 48432791accdcf775995781ddefd6027283f8a97 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 May 2020 19:20:33 +0200 Subject: [PATCH] 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 --- units/systemd-homed.service.in | 1 - 1 file changed, 1 deletion(-) 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