summaryrefslogtreecommitdiff
path: root/test/sleep.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-15 21:55:12 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-15 21:59:04 +0200
commit9a3ef988b8442360500e7df4db3ff27d2f13de10 (patch)
tree29712050075a0c7ba805a8be01ccda3a6634c5be /test/sleep.service
parent7a9ec5c9027d919839ab6e286ede753caa164241 (diff)
audit: since nspawn now sets CAP_AUDIT_CONTROL for containers we cannot user this anymore to skip audit session ID retrieval
As audit is still broken in containers we need a reliable way how we can determine whether the audit data we read from 7proc is actually useful. Previously we used CAP_AUDIT_CONTROL for this, since nspawn removed that from the nspawn container. This has changed a while back however, which means we used audit data of host system in the container. This adds an explicit container check to the audit calls, so that all audit data is turned off in containers. This should fix session creation with pam_systemd/logind in nspawn containers.
Diffstat (limited to 'test/sleep.service')
0 files changed, 0 insertions, 0 deletions