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)
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.


No differences found