]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-journald-audit.socket
units: set ConditionVirtualization=!private-users on journald audit socket (#6508)
[thirdparty/systemd.git] / units / systemd-journald-audit.socket
CommitLineData
875c2e22
LP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU Lesser General Public License as published by
5# the Free Software Foundation; either version 2.1 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Journal Audit Socket
10Documentation=man:systemd-journald.service(8) man:journald.conf(5)
11DefaultDependencies=no
12Before=sockets.target
cfb1f5df 13ConditionSecurity=audit
01906c76 14ConditionCapability=CAP_AUDIT_READ
d2a1ba10 15ConditionVirtualization=!private-users
875c2e22
LP
16
17[Socket]
18Service=systemd-journald.service
19ReceiveBuffer=128M
20ListenNetlink=audit 1
21PassCredentials=yes