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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to