21 May
2016
21 May
'16
21:39
On Sat, 21 May 2016 23:25, Cristian Rodríguez wrote:
On Sat, May 21, 2016 at 5:08 PM, jcsl wrote:
How do I get what is keeping /run busy?
Boot with
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M
create /usr/lib/systemd/system-shutdown/debug.sh and make it executable with the following content
#!/bin/sh mount -o remount,rw / lsof /run > /shutdown-log.txt dmesg >> /shutdown-log.txt mount -o remount,ro /
Reboot the system
send /shutdown-log.txt back for analysis.
Yoink! This goes to the "HowTo Debug Shutdown" file. Thank you very much. IMHO worthy to be in the man-pages of systemd. Have a nice sunday, - Yamaban