[Pkg-systemd-maintainers] Bug#717388: Bug#717388: Please enable persistent journal
Josh Triplett
josh at joshtriplett.org
Sat Jul 20 17:40:57 BST 2013
On Sat, Jul 20, 2013 at 11:24:48AM +0200, Michael Stapelberg wrote:
> Hi Josh,
>
> Josh Triplett <josh at joshtriplett.org> writes:
> > By default, journald logs to the non-persistent /run/log/journal.
> > journald will only maintain a persistent journal if /var/log/journal
> > exists.
> >
> > Please create /var/log/journal, to enable persistent journal logging.
> Note that this is not a straight-forward fix, because it will result in
> having the logfiles twice on your machine by default (rsyslog +
> journal), which is not a great default.
True. Personally, I intended to fix that problem on my own system by
removing rsyslog as soon as persistent logging is enabled. :)
> Fedora is trying to disable syslog in their default installation, but
> that is a debate that we should really not be having right now.
>
> I’d say the situation is unfortunate, but nothing we should address
> immediately.
As a fix which wouldn't need to wait on the Great Syslog/Journal Debate,
what about creating a separate trivial systemd-persistent-journal
package, which enables persistent logging by installing
/var/log/journal, sets up the appropriate permissions on that directory
(systemd-journal and adm), and provides linux-kernel-log-daemon and
system-log-daemon (since journald handles /dev/log compatibly)?
- Josh Triplett
More information about the Pkg-systemd-maintainers
mailing list