Am 04.06.2016 um 07:27 schrieb 積丹尼 Dan Jacobson:
> Package: systemd
> Version: 230-2
> Severity: wishlist
> 
> In https://freedesktop.org/wiki/Software/systemd/Debugging/#index2h1
> one sees it is quite possible to save a /shutdown-log.txt .
> 
> Alas the method there does not work on Debian. No /shutdown-log.txt is
> produced.
> 
> Please:
> 1. Make it work on Debian.

The upstream documentation assumes you have a merged-usr setup.
If you change the paths to use /lib instead of /usr/lib (i.e.
/lib/systemd/system-shutdown/debug.sh), it should work. Can you confirm?

> 2. Offer it as a convenient service that one can just enable / disable.

I guess this won't work. This debugging mechanism doesn't use service
files. I don't see how we could put this into a service unit.

> By the way, it would be great if boot logs could also be kept in such a
> fashion too.

You can use the journal, which contains that information.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to