Re: Journalctl reading incorrect file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> journalctl reads from both dirs, always. What makes you think it reads
> from the wrong dir only?
> 

when I do `journalctl` I only get output up to the switch-root:


Jan 28 08:33:31 archlinux systemd[1]: Reached target Switch Root.
Jan 28 08:33:31 archlinux systemd[1]: Starting Switch Root...
Jan 28 08:33:31 archlinux systemd[1]: Switching root.
Jan 28 08:33:31 archlinux audit: BPF prog-id=8 op=UNLOAD
Jan 28 08:33:31 archlinux audit: BPF prog-id=7 op=UNLOAD
Jan 28 08:33:31 archlinux audit: BPF prog-id=10 op=UNLOAD
Jan 28 08:33:31 archlinux audit: BPF prog-id=9 op=UNLOAD
Jan 28 08:33:31 archlinux systemd-journald[235]: Journal stopped

If I use -D to select the newest subdir of /var/log/journal then
I see live messages.

So I think it's reading from /run and not from /var but I could of
course be wrong. I'm just going on the fact that the "live" data is
definitely on /var and the /run file ends with the output above.
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux