Bug 63134 - shutdown/reboot hangs on new arch install
Summary: shutdown/reboot hangs on new arch install
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: systemd-bugs
QA Contact: systemd-bugs
Keywords: love
Depends on:
Reported: 2013-04-04 20:53 UTC by Jake
Modified: 2014-06-25 09:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

What is printed to screen when the shutdown process hangs AND lines from journalctl that caught my eye (22.44 KB, text/plain)
2013-04-04 20:53 UTC, Jake

Description Jake 2013-04-04 20:53:51 UTC
Created attachment 77444 [details]
What is printed to screen when the shutdown process hangs AND lines from journalctl that caught my eye

First of all, I appologize if I go off track or if this isn't the right place to come. This is my first time doing one of these.

Some system information:

It is a uefi install using the kernels boot stub loader with an efibootmgr entry
root is in a logical volume on raid 5

The modules line in /etc/mkinitcpio.conf is:

MODULES="efivars dm_mod raid456 ext4"

The hooks line in /etc/mkinitcpio.conf is:

HOOKS="base udev autodetect modconf block filesystems keyboard fsck mdadm_udev lvm2 timestamp shutdown"


When attempting to reboot or shutdown the system it hangs during the shutdown process and will not shut down.


In 5 tries with systemctl reboot: failed on the 4th run (all other runs successful)
In 5 tries with systemctl shutdown: failed on the 4th and 5th runs

Last night I did...

boot with the debug options: 

systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M enforcing=0

    save the following script as /lib/systemd/system-shutdown/debug.sh and make it executable: 

mount -o remount,rw /
dmesg > /shutdown-log.txt
mount -o remount,ro /


reference: http://freedesktop.org/wiki/Software/systemd/Debugging#Shutdown_Completes_Eventually

 ...then went to bed. When I awoke the sytem was still hung up in the shutdown process. (That there be no shadow of a doubt it will not eventually complete).

After resetting the machine using the button on the front of the box I discoverd there was no shutdown-log.txt file on the sytem (the script was made executable).


On a command line, type one of the folowing then press < enter > :

shutdown -h now
shutdown -r now

What does work:

halt (iirc)
sync && poweroff -f


Attached are some data that may (or may not) be helpful. Again, this is my first time here. Please let me know if any other iformation is required.

The bottom line for me is I don't know what to test for or what command(s) to run to make that happen. I can only imagine that I should want to know what that next line is that would have been printed to the sceen when shutdown hangs, but how to get that data I don't know. Is there someone who can supply the command(s) to run to determine the problem's source? I'm unable to use my system properly and I need help. I have a thread on the arch forum and I ask on their irc chanel but I'm not getting the help I need and days are beginning to pass.

Comment 1 Lennart Poettering 2014-06-25 09:54:35 UTC
I am pretty sure this got fixed in more recent systemd versions. If this problem persists, please reopen.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.