diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-14 05:32:14 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-14 05:35:12 +0200 |
commit | e40ec7aec5e64cd0cfa5fc556d6a9747229b5794 (patch) | |
tree | dc0d5ff693d8de783c66f6b91854a6cd73c30242 /man/sd_journal_open.xml | |
parent | journal: use initialization instead of zeroing (diff) | |
download | systemd-e40ec7aec5e64cd0cfa5fc556d6a9747229b5794.tar.xz systemd-e40ec7aec5e64cd0cfa5fc556d6a9747229b5794.zip |
journald: do not calculate free space too early
Since the system journal wasn't open yet, available_space() returned 0.
Before:
systemd-journal[22170]: Allowing system journal files to grow to 4.0G.
systemd-journal[22170]: Journal size currently limited to 0B due to SystemKeepFree.
After:
systemd-journal[22178]: Allowing system journal files to grow to 4.0G.
systemd-journal[22178]: Journal size currently limited to 3.0G due to SystemKeepFree.
Also, when failing to write a message, show how much space was needed:
"Failed to write entry (26 items, 260123456 bytes) despite vacuuming, ignoring: ...".
Diffstat (limited to 'man/sd_journal_open.xml')
0 files changed, 0 insertions, 0 deletions