Description of problem: Basename tool from coreutils is missing in initramfs while NM requires it. It is breaking our https://github.com/rhinstaller/kickstart-tests/blob/master/network-device-default-ksdevice-httpks.ks.in kickstart test. Version-Release number of selected component (if applicable): Fedora-Rawhide-20200214.n.1 dracut-049-27.git20181204.fc32.2 How reproducible: Always Steps to Reproduce: 1. Run pxe installation on VM with 2 network devices (eg ens3, ens11) specifying device (the "second" one, eg ens11) to be used by ksdevice boot option, for example: append initrd=test/rv/scripted/development-rawhide/initrd.img repo=http://download.englab.brq.redhat.com/pub/fedora/development-rawhide/Everything/x86_64/os ks=http://10.43.136.2/ks/rv/ks.netdbg.cfg ksdevice=ens11 2. 3. Actual results: The installation fails in dracut emergency shell [ 39.793774] dracut-initqueue[2155]: /lib/dracut/hooks/initqueue/settled/99-nm-run.sh: line 13: basename: command not found [ 40.347354] dracut-initqueue[894]: Warning: dracut-initqueue timeout - starting timeout scripts [ 40.347587] dracut-initqueue[894]: Warning: Could not boot. Starting Setup Virtual Console... [ OK ] Started Setup Virtual Console. [ 40.501106] kauditd_printk_skb: 14 callbacks suppressed [ 40.501108] audit: type=1130 audit(1582019831.298:26): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 40.505402] audit: type=1131 audit(1582019831.298:27): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=systemd-vconsole-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Starting Dracut Emergency Shell... [ 40.541654] audit: type=1131 audit(1582019831.339:28): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=plymouth-start comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Warning: /dev/root does not exist Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report. dracut:/# Expected results: The installation proceeds to stage 2 (anaconda). Additional info: Adding basename to initramfs manually fixes the kickstart test / installer use case.
This is fixed upstream for a while: https://github.com/dracutdevs/dracut/commit/5e0f8c8a4ced36268d0077acafa1db2402776fa6 https://github.com/dracutdevs/dracut/commit/687e17aa7f2f40d21717be9a04302c749e139d4a Seems Rawhide should get an update of dracut...
Seems like there hasn't been a dracut rebase for a really long time (Dec 2018). Will we get a fix for this bug in Rawhide any time soon? It also breaks NBD root.
This appears to be a duplicate of bug 1795411.
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.
*** This bug has been marked as a duplicate of bug 1795411 ***