Bug 2364442 - regression: Fedora IoT 42 ostree ISO Anaconda installer doesn't run %post kickstart sections
Summary: regression: Fedora IoT 42 ostree ISO Anaconda installer doesn't run %post kic...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: image-builder
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Simon de Vlieger
QA Contact:
URL: https://github.com/rhinstaller/anacon...
Whiteboard:
Depends On:
Blocks: IoT
TreeView+ depends on / blocked
 
Reported: 2025-05-06 17:22 UTC by Andrey
Modified: 2025-07-18 08:55 UTC (History)
7 users (show)

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


Attachments (Terms of Use)
anaconda.log without %post script run (11.02 KB, text/plain)
2025-07-17 17:05 UTC, Andrey
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-iot iot-distro issues 97 0 None open regression: Fedora IoT 42 ostree ISO Anaconda installer doesn't run %post kickstart sections 2025-05-06 20:12:57 UTC
Github rhinstaller/anaconda/discussions/6397#discussioncomment-13790351 0 None None None 2025-07-17 17:20:52 UTC

Description Andrey 2025-05-06 17:22:13 UTC
This is regression.
The last known working IoT ISO is:
Fedora-IoT-ostree-41-20241027.0.x86_64.iso

With the very same kickstart, Fedora IoT 41 does run %post sections:

# grep -irI %post /tmp/
/tmp/anaconda.log:15:59:53,292 INF kickstart.script: Running kickstart %%post script(s)
/tmp/anaconda.log:15:59:57,469 INF kickstart.script: All kickstart %%post script(s) have been run

I do not see any attempts on Fedora IoT 42. %pre section runs, though.

Reproducible: Always

Steps to Reproduce:
1. Boot Fedora IoT 42 ostree ISO with any custom ks containing %post section.
2. Let system autoinstall.
3. Without reboot, from the installer console, run:
# grep -irI %post /tmp/
Actual Results:
No relevant "%post" lines found anywhere in /tmp/* files.

Expected Results:
Something like this:
# grep -irI %post /tmp/
/tmp/anaconda.log:15:59:53,292 INF kickstart.script: Running kickstart %%post script(s)
/tmp/anaconda.log:15:59:57,469 INF kickstart.script: All kickstart %%post script(s) have been run

Comment 1 Peter Robinson 2025-05-06 20:01:43 UTC
Can you report this upstream here please: https://github.com/fedora-iot/iot-distro/issues

Comment 3 Andrey 2025-05-29 11:49:09 UTC
Please note I don't see the issue with Fedora Silverblue ISO,
so it's yet unknown if it's Anaconda or IoT issue.

Comment 4 Andrey 2025-07-17 17:05:53 UTC
Created attachment 2097504 [details]
anaconda.log without %post script run

Added "anaconda.log" with the problem - no %post section run there, but %pre is present.

Comment 5 Simon de Vlieger 2025-07-18 08:55:36 UTC
I've re-assigned this issue to image-builder; an upstream PR has been created: https://github.com/osbuild/images/pull/1672


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