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.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to