Bug 556687

Summary: dracut-003 doesn't allow encrypted root install to boot
Product: [Fedora] Fedora Reporter: Kevin Fenzi <kevin>
Component: dracutAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: fedora, harald, jonathan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 004-4.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-28 00:54:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kevin Fenzi 2010-01-19 04:20:26 UTC
With dracut-003 here I am never asked for my passphrase and boot dies with a 'cannot mount root'. 

Happens with any kernel and 003-1 and 003-2. 

Happy to provide more info. 

dracut-002-13.4.git8f397a9b.fc12.noarch works fine here. 

Diffing a working vs non working with lsinitrd I see: 

1507,1508d1449
< ln -s /proc/self/fd /dev/fd >/dev/null 2>&1
< 
1522,1523c1463,1464
< mount -t devpts -o gid=5,mode=620 devpts /dev/pts >/dev/null 2>&1
< mount -t tmpfs tmpfs /dev/shm >/dev/null 2>&1
---
> mount -t devpts -o gid=5,mode=620 /dev/pts /dev/pts >/dev/null 2>&1
> mount -t tmpfs /dev/shm /dev/shm >/dev/null 2>&1
1695a1637,1646
> # Prepare network opts for passing
> if [ -e /tmp/net.ifaces ]; then
>     mkdir /dev/.initramfs/
>     cp /tmp/net.* /dev/.initramfs/ >/dev/null 2>&1
>     mkdir -p /dev/.initramfs/state/etc/sysconfig/network-scripts/
>     cp /tmp/resolv.conf /dev/.initramfs/state/etc/ >/dev/null 2>&1
>     echo "files /etc/sysconfig/network-scripts" > /dev/.initramfs/rwtab
>     cp -a /tmp/ifcfg/* /dev/.initramfs/state/etc/sysconfig/network-scripts/ >/dev/null 2>&1
> fi
> 
1698d1648
<     mkdir /dev/.initramfs/

Happy to provide more info.

Comment 1 Fedora Update System 2010-01-26 10:49:58 UTC
dracut-004-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/dracut-004-4.fc12

Comment 2 Martin Ebourne 2010-01-26 13:30:33 UTC
I had the same bug, this updated fixes it for me.

Comment 3 Fedora Update System 2010-01-27 01:06:57 UTC
dracut-004-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dracut'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1088

Comment 4 Fedora Update System 2010-01-28 00:52:19 UTC
dracut-004-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.