Bug 988100 - RFE: journal reader in guestfish
RFE: journal reader in guestfish
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
Depends On:
  Show dependency treegraph
Reported: 2013-07-24 14:01 EDT by Matthew Miller
Modified: 2017-03-08 07:58 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Miller 2013-07-24 14:01:32 EDT
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.
Comment 1 Richard W.M. Jones 2013-07-24 14:30:51 EDT
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 :-)
Comment 2 Richard W.M. Jones 2013-07-29 05:17:38 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.