Is the journal persistent across reboots?
IntermediateConceptProcesses, Signals & systemd
Answer
It depends on Storage= in /etc/systemd/journald.conf. With the default auto, logs are persistent only if /var/log/journal/ exists; otherwise they go to /run/log/journal/ and vanish on reboot. RHEL 9 and Ubuntu ship persistent by default.
sudo mkdir -p /var/log/journal && sudo systemctl restart systemd-journald
journalctl --list-boots
More on Processes, Signals & systemd
What is the difference between a program, a process and a thread?BeginnerHow are new processes created in Linux?IntermediateWhat is a zombie process, and how do you get rid of it?IntermediateWhat is an orphan process?BeginnerExplain the process states shown in ps (R, S, D, T, Z).IntermediateWhy can't you kill a process in D state?Advanced