systemd: require CAP_AUDIT_WRITE for NetworkManager service
We need it to write messages to kernel auditing log.
This commit is contained in:
@@ -11,7 +11,7 @@ ExecStart=@sbindir@/NetworkManager --no-daemon
|
|||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
# NM doesn't want systemd to kill its children for it
|
# NM doesn't want systemd to kill its children for it
|
||||||
KillMode=process
|
KillMode=process
|
||||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE CAP_AUDIT_WRITE
|
||||||
ProtectSystem=true
|
ProtectSystem=true
|
||||||
ProtectHome=read-only
|
ProtectHome=read-only
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user