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

Пронин Илья Сергеевич mimeticdrift at gmail.com
Fri Jul 24 05:50:34 BST 2015


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.




More information about the Pkg-systemd-maintainers mailing list