Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2094085

Summary: rpm-ostree replacing kernel-automotive package fails during %posttrans
Product: Red Hat Enterprise Linux 9 Reporter: bgrech
Component: rpm-ostreeAssignee: Jonathan Lebon <jlebon>
Status: CLOSED ERRATA QA Contact: RHCOS SST QE <rhcos-sst-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: agupte, alexl, bstinson, hhei, jlebon, jwboyer, leiwang, lpellecc, miabbott, mnguyen, rasibley, rhcos-sst, walters
Target Milestone: rcKeywords: TestBlocker, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpm-ostree-2022.8-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2077062
: 2134215 (view as bug list) Environment:
Last Closed: 2022-11-15 10:09:16 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:
Bug Depends On: 2077062    
Bug Blocks:    

Description bgrech 2022-06-06 19:14:09 UTC
Description of problem:
For the RHIVOS (Red Hat In Vehicle Operating System) project, we ran into an issue where rpm-ostree override replace fails against aarch64 images during %posttrans operations
this is fixed upstream in rpm-ostree https://github.com/coreos/rpm-ostree/issues/3720 

Requesting a back-port of the fix to be pulled in.
 
 
Version-Release number of selected component (if applicable):
rpm-ostree-2022.8-2.el9.aarch64
 
How reproducible:
always
 
Steps to Reproduce:
# rpm-ostree override replace ./kernel*.rpm
Inactive requests:
  openssh (already provided by openssh-8.7p1-8.el9.aarch64)
  tar (already provided by tar-2:1.34-3.el9.aarch64)
  curl (already provided by curl-7.76.1-17.el9.aarch64)
  yum-utils (already provided by yum-utils-4.1.0-1.el9.noarch)
Checking out tree c5ffc2b... done
Enabled rpm-md repositories: baseos appstream crb kernel-cki beaker-harness EPEL extras-common
Importing rpm-md... done
rpm-md repo 'baseos' (cached); generated: 2022-05-31T15:10:33Z solvables: 2769
rpm-md repo 'appstream' (cached); generated: 2022-05-31T15:12:48Z solvables: 9184
rpm-md repo 'crb' (cached); generated: 2022-05-31T15:13:36Z solvables: 1773
rpm-md repo 'kernel-cki' (cached); generated: 2022-05-31T12:34:05Z solvables: 374
rpm-md repo 'beaker-harness' (cached); generated: 2021-05-16T14:40:54Z solvables: 102
rpm-md repo 'EPEL' (cached); generated: 2022-06-01T01:16:46Z solvables: 7641
rpm-md repo 'extras-common' (cached); generated: 2022-05-13T09:12:13Z solvables: 34
Resolving dependencies... done
Relabeling... done
Applying 3 overrides and 39 overlays
Processing packages... done
Running pre scripts... done
Running post scripts... done
Running posttrans scripts... done
error: Running %posttrans for kernel-automotive-core: bwrap(/bin/sh): Child process killed by signal 1; run `journalctl -t 'rpm-ostree(kernel-automotive-core.posttrans)'` for more information

 
Expected results:
# rpm-ostree override replace ./kernel*.rpm
...
...
...
Upgraded:
  kernel-automotive 5.14.0-74.39.el9s -> 5.14.0-96.57.el9s
  kernel-automotive-core 5.14.0-74.39.el9s -> 5.14.0-96.57.el9s
  kernel-automotive-modules 5.14.0-74.39.el9s -> 5.14.0-96.57.el9s
 
Additional info:

--

Fixed in https://github.com/coreos/rpm-ostree/pull/3721

Comment 8 Jonathan Lebon 2022-06-10 01:37:37 UTC
Please test the new build and set Verified: Tested if working.

Comment 9 Micah Abbott 2022-06-13 12:54:22 UTC
@bgrech Please let us know if you are able to test/verify the fixed build of `rpm-ostree`

Comment 11 bgrech 2022-06-17 19:00:56 UTC
@miabbott Currently the latest build of AutoSD RHIVOS still only has rpm-ostree-2022.8-2.el9.aarch64

Comment 13 bgrech 2022-06-22 00:26:21 UTC
Verified fixed in rpm-ostree-2022.8-3.el9.aarch64
SIGMD5 ec66c7c6d2034b69acb9ed45a5d66f52

Comment 16 errata-xmlrpc 2022-11-15 10:09:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rpm-ostree bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8004

Comment 17 Red Hat Bugzilla 2023-09-18 04:38:35 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days