3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

iwd.service.in: remove PrivateDevices=true

Previously, the option PrivateDevices=true disabled access to
/dev/rfkill, which lead to:
  'iwctl adapter phy0 set-property Powered {off|on}'
to fail.

This patch explicitly allows access to /dev/rfkill
This commit is contained in:
Matthias Schoepfer 2019-07-31 14:59:16 +02:00 committed by Denis Kenzior
parent 236211af60
commit 4ae5c38be8

View File

@ -11,7 +11,8 @@ LimitNPROC=1
Restart=on-failure
PrivateTmp=true
NoNewPrivileges=true
PrivateDevices=true
DevicePolicy=closed
DeviceAllow=/dev/rfkill rw
ProtectHome=yes
ProtectSystem=strict
ReadWritePaths=/var/lib/iwd/