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

Matthew Miller mattdm at fedoraproject.org
Tue Oct 9 21:40:28 UTC 2012


On Tue, Oct 09, 2012 at 11:26:19PM +0200, Lennart Poettering wrote:
> Well, you have to actually enable the journal on persistent storage
> first. Try "mkdir /var/log/journal". Without that we will only keep a
> very small set of logs in RAM, so that things are flushed out quickly.

So, minutes before seeing this message, on my F17 test system, I did:

$ mkdir /var/log/journal
$ sudo systemctl restart  systemd-journald.service

And now I get

Logs begin at Sat, 29 Sep 2012 09:23:21 -0400, end at Tue, 09 Oct 2012 17:30:59 -0400.
Failed to iterate through journal: Bad message
Sep 29 09:23:21 localhost.localdomain systemd-journal[313]: Journal started

Is this the expected behavor?

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm at fedoraproject.org>


More information about the devel mailing list