Bug 2247940 - post scripts fail in image builds
Summary: post scripts fail in image builds
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kexec-tools
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Coiby
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-04 20:37 UTC by Colin Walters
Modified: 2023-12-20 08:13 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-12-20 08:13:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1019 0 None None None 2023-11-04 20:37:45 UTC

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


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