Bug 2546181
| Summary: | image-builder writes pxeboot initrd.img with 0600 permissions so it cannot be downloaded | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson (Fedora) <rhbz> |
| Component: | image-builder | Assignee: | Simon de Vlieger <cmdr> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | cmdr, go-sig, osbuilders |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | openqa | ||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-10-15 20:32:17 UTC | 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: | |||
|
Description
Adam Williamson (Fedora)
2026-10-05 22:55:54 UTC
To join a few dots here: the way these files actually wind up in that location in the compose tree is that the boot ISO builder (formerly lorax, now image-builder) puts them in the ISO, then pungi copies the contents of the ISO out to that location in the compose tree. Seems a slightly baroque approach but hey. For the new boot_iso phase, this is done in `pungi/phases/boot_iso.py` method `RunBootIsoThread._extract_boot_infra`. So I checked an image-builder-created ISO, and sure enough, the file permissions are wrong there: [root@omnibook unixODBC (rawhide)]# mount /var/home/adamw/Downloads/iso/46/Fedora-Everything-netinst-x86_64-Rawhide-20261005.n.0.iso /mnt/temp1 [root@omnibook unixODBC (rawhide)]# ls /mnt/temp1/images/pxeboot/ -l total 298580 -rw-------. 1 root root 286536964 Oct 4 22:32 initrd.img so if we fix the permissions there, it should fix this problem. Thanks Adam, I kept the `buildinstall` approach to creating the PXE tree (by exploding the ISO) so while I do feel it's probably better to fix this up in `pungi` in the interest of backwards compatibility for other users who also manually explode the ISO I'll document (and fix up in `image-builder`) that the `/images/pxeboot` files need 644 permissions. Upstream PR: https://github.com/osbuild/image-builder/pull/2747 Should be in rawhide now via: https://bodhi.fedoraproject.org/updates/FEDORA-2026-3595d7b688 This has been resolved. |