diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-05-26 19:20:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-26 23:37:44 +0200 |
commit | 48432791accdcf775995781ddefd6027283f8a97 (patch) | |
tree | 6831024b091e0c03570194c62c7882866a199c94 /units/systemd-homed.service.in | |
parent | Merge pull request #15910 from poettering/tmpfiles-pstore-tweak (diff) | |
download | systemd-48432791accdcf775995781ddefd6027283f8a97.tar.xz systemd-48432791accdcf775995781ddefd6027283f8a97.zip |
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
Diffstat (limited to 'units/systemd-homed.service.in')
-rw-r--r-- | units/systemd-homed.service.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in index 91dabee034..b7b0c3ef10 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 |