diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-26 15:05:55 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-11-26 15:17:07 -0500 |
commit | 3d82301321afdcc4f2f8786883bd15b1a64c6e83 (patch) | |
tree | 083f97a80bba06093309ddd34d6c3892f9531f62 /src/journal/test-mmap-cache.c | |
parent | 5607d856b8606ba75446a07ab5e9048753e1d7a6 (diff) |
journald: proceed even if some sockets are unknown
systemd-journald would refuse to start if it received an unknown
socket from systemd. This is annoying, because the failure more for
systemd-journald is unpleasant: systemd will keep restarting journald,
but most likely the same error will occur every time. It is better
to continue. journald will try to open missing sockets on its own,
so things should mostly work.
One question is whether to close the sockets which cannot be parsed or
to keep them open. Either way we might lose some messages. This
failure is most likely for the audit socket (selinux issues), which
can be opened multiple times so this not a problem, so I decided to
keep them open because it makes it easier to debug the issue after the
system is fully started.
Diffstat (limited to 'src/journal/test-mmap-cache.c')
0 files changed, 0 insertions, 0 deletions