I'm experiencing a very weird issue with a fresh Fedora 21 image on a Linode instance. I cannot reproduce it outside of Linode. The issue is that my systemd journal is not persistent across reboots. According to the documentation:
By default, the journal stores log data in /run/log/journal/. Since /run/ is volatile, log data is lost at reboot. To make the data persistent, it is sufficient to create /var/log/journal/ where systemd-journald will then store the data.
I have checked that /var/log/journal exists and I have also set Storage=persistent
in /etc/systemd/journald.conf. The log directory contains a bunch of data:
$ du -sh /var/log/journal/
89M /var/log/journal/
The journal, however, only contains log entries since the last system restart:
$ journalctl --list-boots
0 9f6a5a789dd64ec0b067140905e6da86 Thu 2015-03-19 15:08:48 GMT—Thu 2015-03-19 22:14:37 GMT
Even if I journalctl --flush
before I reboot the logs are lost. I suspect this is an issue with Linode's Fedora 21 image, and I have opened a support ticket with them. Meanwhile, I continue to search for the cause of this problem.
How can I debug this? What could cause this? What can I do to fix this?