chiark / gitweb /
execute: robustness against journald failures
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 15 Feb 2013 21:43:23 +0000 (22:43 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Sat, 16 Feb 2013 00:18:02 +0000 (01:18 +0100)
commit47c1d80d844689c81faf2eede95803c1ed6eb4af
tree905b40a9a1c3c414ba612c86b702cb1e8906d80e
parent4a01181e460686d8b4a543b1dfa7f77c9e3c5ab8
execute: robustness against journald failures

Almost every unit logs to the journal. If journald gets a permanent
failure, units would not be able to start (exit code 209/STDOUT).

Add a fallback to /dev/null to avoid making the system entirely
unusable in such a case.
src/core/execute.c