Bug 734096

Summary: live cd boot error message: failed to execute '/sbin/initqueue' ...: No such file or directory
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: dracutAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: harald, jonathan, kay, oliver.henshaw, yann
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: dracut-013-12.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-02 18:11:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
lsinitrd /media/live/syslinux/initrd0.img none

Description Mads Kiilerich 2011-08-29 13:00:55 UTC
Created attachment 520388 [details]

When booting a f16+updates-testing live image I get

[   17.620676] udevd[657]: failed to execute '/sbin/initqueue' '/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root /dev/sdb': No such file or directory


Comment 1 Harald Hoyer 2011-08-29 15:42:13 UTC
what is the output of:

# lsinitrd <livecd initrd.img>

Comment 2 Mads Kiilerich 2011-08-29 16:29:54 UTC
Created attachment 520427 [details]
lsinitrd /media/live/syslinux/initrd0.img

It is not in the initrd created for the live cd - see the attached output.

I can however confirm that it exists in a corresponding initrd for an 'ordinary' system with the same package versions.

The live initrd was build with /etc/sysconfig/mkinitrd :

MODULES+="squashfs ext4 ext3 ext2 vfat msdos "
MODULES+="sr_mod sd_mod ide-cd cdrom =ata sym53c8xx aic7xxx ehci_hcd uhci_hcd ohci_hcd usb_storage usbhid firewire-sbp2 firewire-ohci sbp2 ohci1394 ieee1394 mmc_block sdhci sdhci-pci pata_pcmcia mptsas udf virtio_blk virtio_pci "

- but I don't know if that could play any role ... or what controls how/when the iniqueue creation script is called.

I noticed
  /sbin/lsinitrd: line 27: file: command not found
when I ran lsinitrd - which is true. It is a minimal live cd and no packages required 'file'. I do however not see any indication that that can explain why iniqueue isn't created.

Comment 3 Harald Hoyer 2011-08-29 18:13:14 UTC
lrwxrwxrwx   1 root     root           18 Aug 29 11:08 sbin -> run/initramfs/sbin
-rwxr-xr-x   1 root     root         1131 Aug 12 14:17 run/initramfs/sbin/initqueue

Comment 4 Harald Hoyer 2011-08-29 18:15:31 UTC
lrwxrwxrwx   1 root     root            4 Aug 29 11:08 run/initramfs/bin/sh -> dash
-rwxr-xr-x   1 root     root       106872 May 23 07:22 run/initramfs/bin/dash

Hmm... this really should work.

Comment 5 Harald Hoyer 2011-08-29 18:19:26 UTC

[   11.440251] dracut: Switching root
[   17.620676] udevd[657]: failed to execute '/sbin/initqueue' '/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root /dev/sdb': No such file or directory

Huh?? How could that happen? We are not in the dracut initramfs anymore and we have udev rules from the initramfs still floating around....

Let me have a close look!

Comment 6 Harald Hoyer 2011-08-29 18:23:01 UTC
You don't happen to have "/etc/udev/rules.d/99-liveiso-mount.rules" in your live-CD root?

Comment 7 Mads Kiilerich 2011-08-29 19:06:47 UTC
No 99-liveiso-mount.rule anywhere. Also no 99-live-squash.rules.

Do the old initramfs udev and all children die silently when the real udev starts?

Comment 8 Mads Kiilerich 2011-08-29 19:31:12 UTC
The live system do have /run/udev/rules.d/99-live-squash.rules and /run/initramfs/sbin/initqueue .

Comment 9 Harald Hoyer 2011-08-29 21:55:09 UTC
can you upload the .iso somewhere for me to inspect it?

Comment 10 Mads Kiilerich 2011-08-29 22:13:20 UTC
I assume the latest isos from http://alt.fedoraproject.org/pub/alt/nightly-composes/ can be used - I will verify that tomorrow.

Comment 11 Mads Kiilerich 2011-08-30 14:03:39 UTC
Reproduced with Fedora-16-Nightly-20110828.10-x86_64-Live-desktop.iso from http://alt.fedoraproject.org/pub/alt/nightly-composes/
- livecd-iso-to-disk'ed and booted with enforcing=0

Comment 12 Fedora Update System 2011-09-20 08:58:49 UTC
dracut-013-10.fc16 has been submitted as an update for Fedora 16.

Comment 13 Fedora Update System 2011-09-20 14:32:59 UTC
dracut-013-11.fc16 has been submitted as an update for Fedora 16.

Comment 14 Fedora Update System 2011-09-20 19:05:42 UTC
Package dracut-013-11.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dracut-013-11.fc16'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2011-09-21 16:38:06 UTC
dracut-013-12.fc16 has been submitted as an update for Fedora 16.

Comment 16 Fedora Update System 2011-10-02 18:11:42 UTC
dracut-013-12.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Harald Hoyer 2011-10-10 08:46:49 UTC
*** Bug 744464 has been marked as a duplicate of this bug. ***