mirror of
https://github.com/systemd/systemd.git
synced 2025-01-21 22:04:01 +03:00
units: conditionalize audit multicast socket on CAP_AUDIT_READ
The multicast logic can only work if the capability is available, hence require it.
This commit is contained in:
parent
b4da6d6bec
commit
01906c76c1
@ -11,6 +11,7 @@ Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
ConditionSecurity=audit
|
||||
ConditionCapability=CAP_AUDIT_READ
|
||||
|
||||
[Socket]
|
||||
Service=systemd-journald.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user