Bug 799005 - F16 hangs for minutes when rebooting/shutdown
F16 hangs for minutes when rebooting/shutdown
Status: CLOSED DUPLICATE of bug 739836
Product: Fedora
Classification: Fedora
Component: systemd (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: systemd-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-03-01 09:30 EST by Marc Muehlfeld
Modified: 2012-03-05 07:40 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-03-05 07:40:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Debug dmesg output (228.05 KB, text/plain)
2012-03-04 10:05 EST, Marc Muehlfeld
no flags Details

  None (edit)
Description Marc Muehlfeld 2012-03-01 09:30:19 EST
Description of problem:
Since F16 is out I have the problem, that my computer hangs when I want to shutdown/reboot. This happens if the computer run for several ours and also happens if it was just started and direclty told to shutdown again (even without logging in). It also doesn't matter if I boot to runlevel 5 (I'm using KDE) or booting to runlevel 3.

Version-Release number of selected component (if applicable):

How reproducible:
In about 9 of 10 shutdown/reboots the shutdown process hangs for 3-5 minutes.

Steps to Reproduce:
1. Start computer and let F16 boot
2. Shutdown/reboot

Actual results:

When shuting down from runlevel 5, the F-logo shutdown-screen is shown. When I hit [ESC], I can see, where it hangs:
Sometimes it hangs on a completely black screen and after 3-5 minutes it continues with
Sending SIGTERM to remaining processes...
Sending SIGKILL to remainging processes...
But sometimes the hanging moment is between this two messages.

Expected results:

When telling the system to shutdown/reboot, it should directly do this - without a 3-5 minute hang.

Additional info:

I already opened bug 751060, but this was hijacked by others users having also shutdown problems, but with IMSM Raid. And I was told in comment 36 to open a new bug, because I don't have IMSM Raid.
Comment 1 Michal Schmidt 2012-03-01 19:06:11 EST
Save this script as /lib/systemd/system-shutdown/debug.sh:

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

Make it executable (chmod +x /lib/systemd/system-shutdown/debug.sh).

Then boot with the following kernel command line parameters:
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M enforcing=0

Reproduce the delay on shutdown.
After booting back, attach the resulting /dmesg.txt file here. Thanks.
Comment 2 Marc Muehlfeld 2012-03-04 10:05:05 EST
Created attachment 567400 [details]
Debug dmesg output

Find attached the requested output.

I started the computer with the given kernel parameters to runlevel 5 and directly let the computer reboot (without logging into KDE).
Comment 3 Michal Schmidt 2012-03-05 07:40:18 EST
NetworkManager did not exit within 90 seconds after getting SIGTERM, then a timeout kicked in.

*** This bug has been marked as a duplicate of bug 739836 ***

Note You need to log in before you can comment on or make changes to this bug.