Bug 1988105 - mkksiso fails to create ISO with error "Invalid APM signature"
Summary: mkksiso fails to create ISO with error "Invalid APM signature"
Keywords:
Status: CLOSED DUPLICATE of bug 1956566
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 34
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-29 18:40 UTC by Angelo Theodorakis
Modified: 2021-07-29 23:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-07-29 23:09:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Angelo Theodorakis 2021-07-29 18:40:27 UTC
Description of problem:

Using mkksiso to build a custom ISO fails with error "Invalid APM signature"


Version-Release number of selected component (if applicable): lorax-34.12-1.fc34


How reproducible: Always


Steps to Reproduce:
1. Download official ISO from distribution of preference. (for example Fedora-Everything-netinst-x86_64-34-1.2.iso) 
2. Point mkksiso to use the ISO from the official distro you have downloaded 
3. Observe error in output

Actual results:

sudo mkksiso /share/fedora_stable/fedora_stable_kickstart.cfg ~/Downloads/Fedora-Everything-netinst-x86_64-34-1.2.iso ~/Documents/fedora-fantasy-stable.iso
[sudo] password for angelotheo: 
INFO:Running... mount -o loop /home/angelotheo/Downloads/Fedora-Everything-netinst-x86_64-34-1.2.iso /tmp/lorax.imgutils.mzr_f9eh
INFO:mount: /tmp/lorax.imgutils.mzr_f9eh: WARNING: source write-protected, mounted read-only.
ERROR:Problem reading label from /home/angelotheo/Downloads/Fedora-Everything-netinst-x86_64-34-1.2.iso: Invalid APM signature
INFO:Volume Id = None
INFO:Using xorrisofs to create the new iso
INFO:Running... umount /tmp/lorax.imgutils.mzr_f9eh
Traceback (most recent call last):
  File "/usr/sbin/mkksiso", line 618, in <module>
    main()
  File "/usr/sbin/mkksiso", line 613, in main
    app.run()
  File "/usr/sbin/mkksiso", line 560, in run
    self.edit_configs(self.iso.mount_dir, tmpdir)
  File "/usr/sbin/mkksiso", line 456, in edit_configs
    self._edit_isolinux(isodir, tmpdir)
  File "/usr/sbin/mkksiso", line 472, in _edit_isolinux
    escaped_iso_label = udev_escape(self.iso.label)
  File "/usr/lib/python3.9/site-packages/pylorax/treebuilder.py", line 421, in udev_escape
    for ch in label:
TypeError: 'NoneType' object is not iterable



Expected results:

Custom ISO to be built as expected. It's worth noting that this works as expected under Fedora 33 or if manually installing lorax f33 and it's dependencies on Fedora 34.

Comment 1 Brian Lane 2021-07-29 23:09:05 UTC
This is a bug in pycdlib, see bug #1956566

*** This bug has been marked as a duplicate of bug 1956566 ***


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