Bug#793198: systemd: poweroff, reboot without stopping services and unmounting

Michael Biebl biebl at debian.org
Fri Jul 24 11:02:36 BST 2015


Am 24.07.2015 um 06:50 schrieb Пронин Илья Сергеевич:
> Please help write shutdown log. Method described here doesn't work:
> 
> https://wiki.freedesktop.org/www/Software/systemd/Debugging/#diagnosingshutdownproblems
> 
> boot with the debug options:
> 
> systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M
> enforcing=0
> 
> save the following script as /usr/lib/systemd/system-shutdown/debug.sh
> and make it executable:
> 
> #!/bin/sh
> mount -o remount,rw /
> dmesg > /shutdown-log.txt
> mount -o remount,ro /
> 
> chmod a+x /usr/lib/systemd/system-shutdown/debug.sh
> 
> No /shutdown-log.txt is created.

In Debian, the file needs to be placed at
/lib/systemd/system-shutdown/debug.sh

If that still doesn't work, remove "quiet" from the kernel command line,
add systemd.log_level=debug and run "systemctl halt" and make a photo of
the screen.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150724/473d646e/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list