Some failures make noise and some make none. This one was of the second kind: for seventy-five minutes, three of my servers stopped writing to /var/log/messages and /var/log/secure , with no failed service, no error line, and it was a change I had just made myself, for good reasons, that caused it. The only witness was my monitoring, which noticed that another tool had stopped reading anything.
The context: a journal that didn’t survive crashes
It starts with a machine that dies abruptly. One of the machines in my small Kubernetes cluster crashes overnight, and after the reboot I want to know what happened just before. The natural command is journalctl -b -1 , which shows the previous boot’s journal. It answers that no persistent journal exists. On that machine, and on two others, systemd-journald kept everything in memory, in /run/log/journal , and a reboot erased it all.
That isn’t an exotic setting. journald has a Storage= parameter with four values. volatile keeps the journal in memory only.…