75f709fbf284041d951717cfb3bf6304db0fa7c9 |
|
02-Feb-2015 |
Lennart Poettering <lennart@poettering.net> |
units: so far we defaulted to 90s as default timeout for most things, let's do so for our oneshot services too
Fewer surprises, and stuff... |
0775b9b61120f8be99cd45a7df907b828188cb47 |
|
01-Feb-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
units: set TimeoutSec on some oneshot services
Services which are not crucial to system bootup, and have Type=oneshot
can effectively "hang" the system if they fail to complete for whatever
reason. To allow the boot to continue, kill them after a timeout.
In case of systemd-journal-flush the flush will continue in the background,
and in the other two cases the job will be aborted, but this should not
result in any permanent problem. |
1f1926aa5e836caa3bd6df43704aecd606135103 |
|
03-Nov-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
units: order sd-journal-flush after sd-remount-fs
Otherwise we could attempt to flush the journal while /var/log/ was
still ro, and silently skip journal flushing.
The way that errors in flushing are handled should still be changed to
be more transparent and robust. |
a65b82457735df2ef58736a55846f400124a8dc0 |
|
01-Nov-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
systemd-journal-flush.service: remove "trigger" from description
This service is now synchronous, so "trigger" is misleading. |
919699ec301ea507edce4a619141ed22e789ac0d |
|
31-Oct-2014 |
Lennart Poettering <lennart@poettering.net> |
units: don't order journal flushing afte remote-fs.target
Instead, only depend on the actual file systems we need.
This should solve dep loops on setups where remote-fs.target is moved
into late boot. |
74055aa76278232ff05574fc47c4e6b3560554a7 |
|
23-Oct-2014 |
Lennart Poettering <lennart@poettering.net> |
journalctl: add new --flush command and make use of it in systemd-journal-flush.service
This new command will ask the journal daemon to flush all log data
stored in /run to /var, and wait for it to complete. This is useful, so
that in case of Storage=persistent we can order systemd-tmpfiles-setup
afterwards, to ensure any possibly newly created directory in /var/log
gets proper access mode and owners. |
b8156be03f71c53072c7126bb418410acbef6c81 |
|
11-Jul-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: replace implicit flushing of journal by explicit one
The old automatism that the flushing of the journal from /run to /var
was triggered by the appearance of /var/log/journal is broken if that
directory is mounted from another host and hence always available to be
useful as mount point. To avoid probelsm with this, introduce a new unit
that is explicitly orderer after all mounte files systems and triggers
the flushing. |