mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 06:40:04 +01:00
daemon: Fix upower not having access to udev events
PrivateNetwork=true will cut off upower from the udev netlink socket, so it's not what we want to use, as we want those events. See https://lists.freedesktop.org/archives/systemd-devel/2018-July/041000.html Closes: #68
This commit is contained in:
parent
5ffcb1c269
commit
fe356951a9
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ ProtectHome=true
|
|||
PrivateTmp=true
|
||||
|
||||
# Network
|
||||
PrivateNetwork=true
|
||||
# PrivateNetwork=true would block udev's netlink socket
|
||||
RestrictAddressFamilies=AF_UNIX AF_NETLINK
|
||||
|
||||
# Execute Mappings
|
||||
MemoryDenyWriteExecute=true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue