mirror of
https://github.com/systemd/systemd.git
synced 2024-11-30 13:53:39 +08:00
units: set ConditionVirtualization=!private-users on journald audit socket (#6508)
It fails to start in an unprivileged container as audit is not namespace aware.
This commit is contained in:
parent
ebc6f34a0b
commit
d2a1ba103b
@ -12,6 +12,7 @@ DefaultDependencies=no
|
||||
Before=sockets.target
|
||||
ConditionSecurity=audit
|
||||
ConditionCapability=CAP_AUDIT_READ
|
||||
ConditionVirtualization=!private-users
|
||||
|
||||
[Socket]
|
||||
Service=systemd-journald.service
|
||||
|
Loading…
Reference in New Issue
Block a user