Fix systemd service: Disable NoNewPrivileges
NoNewPrivileges=true prevents file capabilities from working. Since we need CAP_NET_RAW/CAP_NET_ADMIN for Bluetooth, we must disable this security feature.
This commit is contained in:
@@ -23,7 +23,9 @@ StandardError=journal
|
|||||||
SyslogIdentifier=sensorpajen
|
SyslogIdentifier=sensorpajen
|
||||||
|
|
||||||
# Security
|
# Security
|
||||||
NoNewPrivileges=true
|
# Note: NoNewPrivileges=true can prevent file capabilities from working
|
||||||
|
# We need capabilities for Bluetooth access, so we can't use it
|
||||||
|
#NoNewPrivileges=true
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user