Bug#766050: systemd: Please look at a read-only implementation of debug-shell.service

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Oct 22 02:22:10 BST 2014


On Mon, Oct 20, 2014 at 11:01:08PM +0200, Richard Hartmann wrote:
> On Mon, Oct 20, 2014 at 9:01 PM, Martin Pitt <mpitt at debian.org> wrote:
> > Perhaps a better thing would be to always log systemd events/changes
> > to tty9? There is no scrollback buffer while its logging in the
> > background (i. e. you are looking at a different tty), but usually the
> > last 20-something lines should give you an idea what it's hanging on.
There's ForwardToConsole and TTYPath. This is enough to have messages forwarded
to a tty [1]. Currently enabling this requires editing /etc/systemd/journald.conf,
but when the patches currently being discussed [2] on the mailing list are merged,
journald.conf should allow dropin snippets, so this should become even easier
to enable.

[1] http://www.freedesktop.org/software/systemd/man/journald.conf.html#ForwardToSyslog=
[2] http://lists.freedesktop.org/archives/systemd-devel/2014-October/024022.html

Zbyszek




More information about the Pkg-systemd-maintainers mailing list