Why does systemd-journald stopped logging post switching root?
Issue
- This issue happens only if Storage is set to "none" in /etc/systemd/journald.conf
# grep ^Storage /etc/systemd/journald.conf
Storage=none
- After a reboot, systemd-journald doesn't log to /var/log/messages. Last entry on both journal logs and /var/log/messages is showing journal has stopped:
# journalctl | tail -n 1
Jul 04 09:05:27 rhel8.adamibrahim.net systemd-journald[216]: Journal stopped
# tail -n 1 /var/log/messages
Jul 4 09:05:27 rhel8 systemd-journald[216]: Journal stopped
Environment
Red Hat Enterprise Linux (RHEL) 7
Red Hat Enterprise Linux (RHEL) 8
Red Hat Enterprise Linux (RHEL) 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.