Bug 59223

Summary: Calling poweroff and reboot doesn't work
Product: systemd Reporter: Henrique Dante de Almeida <hdante>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: hdante
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: dmesg
fstab
full journal since install
ls -lR /dev/disk
/proc/swaps
systemctl list-jobs
udevadm info -q all -n /dev/sda4
udevadm info -q all -n /dev/sdb4
/proc/mdstat
dmesg systemd.log_level=debug
systemctl dump

Description Henrique Dante de Almeida 2013-01-11 01:40:19 UTC
In a fresh install of Arch Linux, calling poweroff or reboot from the command line may get stuck at "Reached target Shutdown", without progressing for more than 10 minutes. It happens frequently. Running the debug shell led to problems with unmounting swap.
Comment 1 Henrique Dante de Almeida 2013-01-11 01:49:41 UTC
Created attachment 72823 [details]
dmesg
Comment 2 Henrique Dante de Almeida 2013-01-11 01:50:08 UTC
Created attachment 72824 [details]
fstab
Comment 3 Henrique Dante de Almeida 2013-01-11 01:51:17 UTC
Created attachment 72825 [details]
full journal since install
Comment 4 Henrique Dante de Almeida 2013-01-11 01:51:50 UTC
Created attachment 72826 [details]
ls -lR /dev/disk
Comment 5 Henrique Dante de Almeida 2013-01-11 01:52:06 UTC
Created attachment 72827 [details]
/proc/swaps
Comment 6 Henrique Dante de Almeida 2013-01-11 01:52:23 UTC
Created attachment 72828 [details]
systemctl list-jobs
Comment 7 Henrique Dante de Almeida 2013-01-11 01:52:55 UTC
Created attachment 72829 [details]
udevadm info -q all -n /dev/sda4
Comment 8 Henrique Dante de Almeida 2013-01-11 01:53:10 UTC
Created attachment 72830 [details]
udevadm info -q all -n /dev/sdb4
Comment 9 Henrique Dante de Almeida 2013-01-11 01:56:26 UTC
Created attachment 72831 [details]
/proc/mdstat
Comment 10 Henrique Dante de Almeida 2013-01-11 01:58:25 UTC
executing "swapoff /dev/sda4" successfully completes the shutdown.
Comment 11 Lennart Poettering 2013-01-14 22:33:27 UTC
Please follow the guide on:

http://freedesktop.org/wiki/Software/systemd/Debugging#Diagnosing_Shutdown_Problems

And try to get the shutdown log explained therein.
Comment 12 Henrique Dante de Almeida 2013-01-31 23:02:10 UTC
(In reply to comment #11)
> Please follow the guide on:
> 
> http://freedesktop.org/wiki/Software/systemd/
> Debugging#Diagnosing_Shutdown_Problems
> 
> And try to get the shutdown log explained therein.

I'm still owing you this one. I hope I can do this until the end of the week. You want systemd.log_level=debug, right ?
Comment 13 Henrique Dante de Almeida 2013-02-03 22:32:43 UTC
Created attachment 74155 [details]
dmesg systemd.log_level=debug
Comment 14 Henrique Dante de Almeida 2013-02-03 22:33:58 UTC
Created attachment 74156 [details]
systemctl dump
Comment 15 Lennart Poettering 2014-02-21 17:29:29 UTC
Hmm, I am pretty sure bugs like this one should be all fixed with 209. Could you retest? Please open a new bug if problem persists.

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.