Bug#826297: really should document the Debian way to create /shutdown-log.txt

積丹尼 Dan Jacobson jidanni at jidanni.org
Fri Nov 11 00:05:25 GMT 2016


found 826297 232-3
retitle 826297 really should document the Debian way to create /shutdown-log.txt
thanks

Many Debian users will read
https://freedesktop.org/wiki/Software/systemd/Debugging/#diagnosingshutdownproblems
and scratch their heads about why no /shutdown-log.txt is produced.

Therefore, please in /usr/share/doc/systemd/README.Debian.gz at
Debugging boot/shutdown problems
mention the *Debian way* of making /shutdown-log.txt,
namely just without the /usr prepended to
/lib/systemd/system-shutdown/debug.sh !

P.S., won't the advice
'For shutdown problems, run "systemctl start debug-shell" as root, then shut down.'
often just make something that flies off the screen and then the computer
goes blank? Hence you really need to document the method to make
/shutdown-log.txt !

P.P.S., also please mention any hazards to leaving
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=10M enforcing=0
on the kernel command line and always producing /shutdown-log.txt just
in case one time one would like to look at it. Will the system run
slower etc.?



More information about the Pkg-systemd-maintainers mailing list