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.

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

Reply via email to