diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-13 23:32:14 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-13 23:35:12 -0400 |
commit | e40ec7aec5e64cd0cfa5fc556d6a9747229b5794 (patch) | |
tree | dc0d5ff693d8de783c66f6b91854a6cd73c30242 /src/journal/journal-verify.c | |
parent | 6e5abe1564070a760196b97031eca9cf5e95e8a2 (diff) |
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 'src/journal/journal-verify.c')
0 files changed, 0 insertions, 0 deletions