Red Hat Bugzilla – Bug 988100
RFE: journal reader in guestfish
Last modified: 2017-03-08 07:58:45 EST
It would be cool if I could mount an image with systemd journal logs and easily view those logs in guestfish -- basically, a built-in journalctl.
Yeah, I briefly talked to Lennart about how to do this. Luckily
the journal format is backwards compatible (and semi-forwards
compatible too), and there's a sane library for reading it:
One option is to add this API to the libguestfs API (rather
like how hivex is done now).
Another is to have some guestfish command to download the journal
files into a temporary directory and run journalctl -D on it,
although this would be rather slow.
Simple matter of programming :-)
Some support has been added to the API now:
(in libguestfs >= 1.23.11)
It would be nice to enhance guestfish further to add a journalctl-like
command for browsing the logs, so I'll leave this bug open for now.