replacing rsyslogd in minimal with journald [was Re: systemd requires HTTP server and serves QR codes]

drago01 drago01 at gmail.com
Wed Oct 10 12:54:13 UTC 2012


On Wed, Oct 10, 2012 at 12:49 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> On Wed, Oct 10, 2012 at 10:11:03AM +0000, "J├│hann B. Gu├░mundsson" wrote:
>> On 10/10/2012 08:54 AM, Richard W.M. Jones wrote:
>> >This would be essential for libguestfs tools to parse logs out of
>> >guests (we do it now by reading /var/log/messages etc which has all of
>> >the properties you state).
>>
>> I'm not sure how you are doing this currently but for shutdown guest
>> I assume you would mount then run something like
>>
>> journalctl -D /path/to/journal/files | the script you use to parse the logs
>
> The question is whether this works with different versions of journal
> on the host and in the guest.  A typical case we have to deal with is
> someone running a stable RHEL host, and Fedora guests
> (ie. host version < guest version).

Can't you run the journal from the guest? Or does this open another
can of worms?


More information about the devel mailing list