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
1 changed files with 2 additions and 1 deletions

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/