Bug 1911799 - livecd-creator fails after installing grub2-efi-x64-cdboot
Summary: livecd-creator fails after installing grub2-efi-x64-cdboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-31 11:22 UTC by ycollet
Modified: 2021-06-07 01:15 UTC (History)
8 users (show)

Fixed In Version: livecd-tools-28.0-2.el8 livecd-tools-28.1-1.fc33 livecd-tools-28.1-1.fc34
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-22 02:02:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description ycollet 2020-12-31 11:22:26 UTC
I use livecd-creator on Fedora32.

I updated the config/live-fedora-minimal.ks file from the repo:

shim-x64
isomd5sum
grub2-efi-x64-cdboot

After installing grub2-efi-x64-cdboot in the ks file:

The authconfig command is not available.
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
success
The 'rhgb' entity is not available.
The '/usr/lib/anaconda-runtime/checkisomd5' entity is not available.
The 'checkisomd5' entity is not available.
The 'rhgb' entity is not available.
The '/usr/lib/anaconda-runtime/checkisomd5' entity is not available.
The 'checkisomd5' entity is not available.
Unmounting directory /var/tmp/imgcreate-rk0djegr/install_root
Losetup remove /dev/loop1
Traceback (most recent call last):
  File "/home/collette/repositories/github/livecd-tools/tools/livecd-creator", line 258, in <module>
    sys.exit(main())
  File "/home/collette/repositories/github/livecd-tools/tools/livecd-creator", line 232, in main
    creator.configure()
  File "/home/collette/repositories/github/livecd-tools/imgcreate/creator.py", line 800, in configure
    self._create_bootconfig()
  File "/home/collette/repositories/github/livecd-tools/imgcreate/live.py", line 259, in _create_bootconfig
    self._configure_bootloader(self.__ensure_isodir())
  File "/home/collette/repositories/github/livecd-tools/imgcreate/live.py", line 843, in _configure_bootloader
    self._configure_efi_bootloader(isodir)
  File "/home/collette/repositories/github/livecd-tools/imgcreate/live.py", line 829, in _configure_efi_bootloader
    cfg += self.__get_efi_image_stanzas(isodir, self.name)
  File "/home/collette/repositories/github/livecd-tools/imgcreate/live.py", line 796, in __get_efi_image_stanzas
    cfg += self.__get_efi_image_stanza(fslabel = self.fslabel,
  File "/home/collette/repositories/github/livecd-tools/imgcreate/live.py", line 774, in __get_efi_image_stanza
    if self._isDracut:
AttributeError: 'x86LiveImageCreator' object has no attribute '_isDracut'





And you can also see that livecd-creator is not able to locate checkismd5 executable.
Under fedora 32 no package provides /usr/lib/anaconda-runtime/checkisomd5.
I installed both on my machine and in the ks file isomd5sum which provides /usr/bin/checkisomd5 program but livecd-creator is not able to locate the program is /usr/bin.

Comment 1 Ben Cotton 2021-02-09 15:36:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 2 Fedora Update System 2021-05-08 17:57:33 UTC
FEDORA-2021-b2b5636c1a has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b2b5636c1a

Comment 3 Fedora Update System 2021-05-08 17:57:33 UTC
FEDORA-EPEL-2021-11822cc291 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-11822cc291

Comment 4 Fedora Update System 2021-05-09 02:08:12 UTC
FEDORA-2021-b2b5636c1a has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b2b5636c1a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b2b5636c1a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-05-09 02:20:24 UTC
FEDORA-2021-2d424a6bbb has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2d424a6bbb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2d424a6bbb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-05-09 02:30:24 UTC
FEDORA-EPEL-2021-11822cc291 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-11822cc291

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-05-22 00:36:05 UTC
FEDORA-2021-2d424a6bbb has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-2d424a6bbb

Comment 8 Fedora Update System 2021-05-22 00:36:39 UTC
FEDORA-2021-b2b5636c1a has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b2b5636c1a

Comment 9 Fedora Update System 2021-05-22 02:02:00 UTC
FEDORA-EPEL-2021-11822cc291 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2021-05-23 01:36:49 UTC
FEDORA-2021-2d424a6bbb has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-2d424a6bbb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-2d424a6bbb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-05-23 01:50:04 UTC
FEDORA-2021-b2b5636c1a has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-b2b5636c1a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b2b5636c1a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2021-06-07 00:51:25 UTC
FEDORA-2021-b2b5636c1a has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2021-06-07 01:15:51 UTC
FEDORA-2021-2d424a6bbb has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


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