Bug#799549: systemd: Provide system-log-daemon

Josh Triplett josh at joshtriplett.org
Mon Sep 21 17:02:35 BST 2015


On Sun, 20 Sep 2015 17:09:58 +0200 Michael Biebl <biebl at debian.org> wrote:
> Am 20.09.2015 um 16:37 schrieb Martin Pitt:
> > Hello Matthias,
> > 
> > Matthias Urlichs [2015-09-20  9:22 +0200]:
> >> Some packages depend on or recommend e.g. "rsyslogd | system-log-daemon".
> >> systemd provides a log daemon (the journal) and already intercepts all
> >> syslog requests, so IMHO adding a "Provides: system-log-daemon" makes
> >> sense.
> > 
> > Indeed, thanks for the suggestion! Done in packaging git.
> 
> I'm actually not sure if we should do that just yet.
> Keep in mind that we don't enable persistent logging in journald.
> One idea, that's coming from openSUSE, is a basically empty package
> which ships /var/log/journal, thus enabled persistent logging and this
> package would provide system-log-daemon.

I'd actually suggest *two* tiny packages: a systemd-journal-persistent
package that ships /var/log/journal and provides/conflicts
system-log-daemon, and a systemd-journal-transient package that
pointedly doesn't ship /var/log/journal (or in the future if "auto" mode
goes away, explicitly configures transient mode) and provides/conflicts
system-log-daemon.  That way, someone who really does want in-memory
logging only can install systemd-journal-transient to make that choice
explicitly, satisfying other packages that need a system-log-daemon.

(It might then also make sense for systemd to express some form of
Depends/Recommends/Suggests on systemd-journal-persistent |
systemd-journal-transient | system-log-daemon.)




More information about the Pkg-systemd-maintainers mailing list