Bug 948612 - Shutdown fails with kernel 3.8 series,
Summary: Shutdown fails with kernel 3.8 series,
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 18
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-04 19:52 UTC by hans.karlsson
Modified: 2013-05-29 13:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-29 13:39:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Output from lsinitrd (191.09 KB, application/octet-stream)
2013-04-05 15:04 UTC, hans.karlsson
no flags Details

Description hans.karlsson 2013-04-04 19:52:50 UTC
Description of problem:
Hangs on shutdown with kernel 3.8, drops to debug shell

Version-Release number of selected component (if applicable):
Kernel 3.8, dracut-024-25

How reproducible:
Everytime I try to shutdown

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Hangs on shutdown, message 
"/shutdown line 103: poweroff command not found 
dracut warning: poweroff failed"

Then I'm droped to debug shell.

Expected results:
Clean shutdown

Additional info:
Fedora 18, kernel 3.8, Lenovo W530

Comment 1 Harald Hoyer 2013-04-05 05:49:30 UTC
wow.. what's the output of:

# lsinitrd
# ls -l $(which poweroff)
# ls -l $(readlink -f $(which poweroff))

Comment 2 hans.karlsson 2013-04-05 15:04:31 UTC
Created attachment 731922 [details]
Output from lsinitrd

Comment 3 hans.karlsson 2013-04-05 15:06:08 UTC
(In reply to comment #1)
> wow.. what's the output of:
> 
> # lsinitrd
Added as attachment
> # ls -l $(which poweroff)
lrwxrwxrwx. 1 root root 16 Apr  3 17:48 /usr/sbin/poweroff -> ../bin/systemctl

> # ls -l $(readlink -f $(which poweroff))
-rwxr-xr-x. 1 root root 291336 Jan 28 20:05 /usr/bin/systemctl

Comment 4 Harald Hoyer 2013-04-08 06:42:22 UTC
very strange... "poweroff" is missing from the initramfs. 
Can you append /var/log/dracut.log?

Run:
# dracut -f

and check, if poweroff is in your initramfs:

# lsinitrd | grep poweroff

Comment 5 hans.karlsson 2013-04-08 06:47:24 UTC
(In reply to comment #4)
> very strange... "poweroff" is missing from the initramfs. 
> Can you append /var/log/dracut.log?
> 
> Run:
> # dracut -f
> 
> and check, if poweroff is in your initramfs:
> 
> # lsinitrd | grep poweroff

I did a complete reinstallation of Fedora 18 and now its working.
The error started to appear when I upgraded from kernel 3.7 to 3.8.

You can close this ticket. Thanks for your help and time.


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