Bug 2117226 - Multiple misleading error messages on running livecd-creator
Summary: Multiple misleading error messages on running livecd-creator
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: livecd-tools
Version: epel9
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-10 11:04 UTC by Roger Sewell
Modified: 2022-08-10 11:06 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
Kickstart file that can be used to demonstrate the problem reported (2.41 KB, text/plain)
2022-08-10 11:06 UTC, Roger Sewell
no flags Details

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.


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