summaryrefslogtreecommitdiff
path: root/src/journal/mmap-cache.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-09-17 16:42:36 -0500
committerLennart Poettering <lennart@poettering.net>2013-09-17 16:55:37 -0500
commit4608af4333d0f7f5f8e3bc632801b04ef07d246d (patch)
treec8614f1e3cf783bf6e969c9d485fdd528f2c5b37 /src/journal/mmap-cache.c
parent265ffa1e05acf12769a64d0734fd2472237c03c5 (diff)
journald: avoid NSS in journald
In order to avoid a deadlock between journald looking up the "systemd-journal" group name, and nscd (or anyother NSS backing daemon) logging something back to the journal avoid all NSS in journald the same way as we avoid it from PID 1. With this change we rely on the kernel file system logic to adjust the group of created journal files via the SETGID bit on the journal directory. To ensure that it is always set, even after the user created it with a simply "mkdir" on the shell we fix it up via tmpfiles on boot.
Diffstat (limited to 'src/journal/mmap-cache.c')
0 files changed, 0 insertions, 0 deletions