chiark / gitweb /
journald: remove unconditional log_*() use in the main loop
authorKay Sievers <kay@vrfy.org>
Sat, 23 Mar 2013 20:02:59 +0000 (21:02 +0100)
committerKay Sievers <kay@vrfy.org>
Sat, 23 Mar 2013 20:09:37 +0000 (21:09 +0100)
commit7964dfca1b6c4b37d069b3713f9f1b11219c3474
treeed985274b12e3147fcf441f95c337a2024b8b964
parent7eb1dfcfc4c9c02e772e042c39f801c6fa8ad1b4
journald: remove unconditional log_*() use in the main loop

Setting MaxRetentionSec= caused the kernel log to overflow and the
journal daemon to enter an endless loop.

Logging from the journald main loop gets directed to /dev/kmsg,
which wakes up journald again. We skip the import of this message
by checking for our own PID, but this still causes the main loop
to never go to sleep again because we never stopped logging from
there.
TODO
src/journal/journald.c