Bug 2117226

Summary: Multiple misleading error messages on running livecd-creator
Product: [Fedora] Fedora EPEL Reporter: Roger Sewell <roger.sewell>
Component: livecd-toolsAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: epel9CC: adam.stokes, bcl, bruno, dhuff, katzj, metherid, ngompa13, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Kickstart file that can be used to demonstrate the problem reported none

Description Roger Sewell 2022-08-10 11:04:20 UTC
Description of problem: On running livecd-creator there are multiple error messages produced, none of which are actually important (assuming that the leakage of file descriptors by dnf has been fixed - see bug 2087999)


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

livecd-tools-31.0-1.el9.x86_64.rpm

dnf-4.10.0-5m.el9.noarch.rpm (the m denoting that this package has been patched as indicated in bug 2087999)

How reproducible: Always


Steps to Reproduce:
1. Take the kickstart file that I will attach as the next comment to this report and amend it by adding an appropriate crypted password where I have removed my own (in the two lines containing --iscrypted).

2. Run

livecd-creator -vdc Rocky-9.0-LiveGNOME-rfs.ks -f Rocky-9.0-LiveGNOME-rfs --cache=cachedir --cacheonly > & ! livecd-creator.out

Actual results: Get the following error messages, none of which actually cause any problems that I can detect in the built iso image:

dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces!
dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file.

dracut-install: Failed to find module 'ide_cd'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.GE5m2x/initramfs --kerneldir /lib/modules/5.14.0-70.17.1.el9_0.x86_64/ -m sr_mod sd_mod ide_cd cdrom =ata sym53c8xx aic7xxx ehci_hcd uhci_hcd ohci_hcd usb_storage usbhid uas firewire-sbp2 firewire-ohci sbp2 ohci1394 ieee1394 mmc_block sdhci sdhci-pci pata_pcmcia mptsas virtio_blk virtio_pci virtio_scsi virtio_net virtio_mmio virtio_balloon virtio-rng
dracut-install: Failed to find module 'btrfs'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.GE5m2x/initramfs --kerneldir /lib/modules/5.14.0-70.17.1.el9_0.x86_64/ -m vfat msdos isofs ext4 xfs btrfs squashfs

In fact, some of the modules (which I think are obsolete ?) (not limited to those that it's warned of) have been omitted, while some of the others on the lists have been included despite the FAILED message.

Expected results: Either:

a) the obsolete modules should be removed from live.py so this error wouldn't happen (and a space added where appropriate to avoid the first warning); or

b) (less desirable, but potentially necessary if these modules are present on some systems but not others) add a message to the effect that these dracut warnings can be ignored but that the omitted modules are not limited to those mentioned.


Additional info: If dnf has not been patched as mentioned above then the entire build fails.

Comment 1 Roger Sewell 2022-08-10 11:06:26 UTC
Created attachment 1904685 [details]
Kickstart file that can be used to demonstrate the problem reported

This is the kickstart file that was used to do the build with the reported problems, EXCEPT that I have removed my own passwords from it and you will need to replace them with ones of your own.