Bug 2247940

Summary: post scripts fail in image builds
Product: [Fedora] Fedora Reporter: Colin Walters <walters>
Component: kexec-toolsAssignee: Coiby <coxu>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: bhe, coxu, dustymabe, miabbott, ruyang, ryncsn
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-20 08:13:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Colin Walters 2023-11-04 20:37:27 UTC
Migrating this from https://github.com/coreos/fedora-coreos-tracker/issues/1598

For image-based systems we run the %post on the server side (true of e.g. Red Hat Image Builder as well as rpm-ostree etc.)

This bit of logic https://src.fedoraproject.org/rpms/kexec-tools/blob/rawhide/f/kexec-tools.spec#_272
likely needs to move to a systemd unit that will run per machine.

Reproducible: Always

Comment 2 Dusty Mabe 2023-12-11 17:08:48 UTC
Potential fix landed in https://src.fedoraproject.org/rpms/kexec-tools/c/bc31f6dd0fc5234eb62de884aa7a7a8686630d05?branch=rawhide

This was built in `kexec-tools-2.0.27-5.fc40`: https://bodhi.fedoraproject.org/updates/FEDORA-2023-200c352c4c

@coxu - can we get that built for Fedora 39 too?

Comment 3 Coiby 2023-12-18 00:57:00 UTC
(In reply to Dusty Mabe from comment #2)
> Potential fix landed in
> https://src.fedoraproject.org/rpms/kexec-tools/c/
> bc31f6dd0fc5234eb62de884aa7a7a8686630d05?branch=rawhide
> 
> This was built in `kexec-tools-2.0.27-5.fc40`:
> https://bodhi.fedoraproject.org/updates/FEDORA-2023-200c352c4c
> 
> @coxu - can we get that built for Fedora 39 too?

Sure, I've created an update kexec-tools-2.0.27-4.fc39 
https://bodhi.fedoraproject.org/updates/FEDORA-2023-948015a231