On Sat, Jul 20, 2013 at 11:24:48AM +0200, Michael Stapelberg wrote:
> Hi Josh,
> 
> Josh Triplett <j...@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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to