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 2127868

Summary: Update ostree to latest upstream version 2022.5 [rhel-9.0.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: ostreeAssignee: Luca BRUNO <lucab>
Status: CLOSED ERRATA QA Contact: RHCOS SST QE <rhcos-sst-qe>
Severity: medium Docs Contact:
Priority: high    
Version: CentOS StreamCC: aaradhak, bstinson, dornelas, hhei, jwboyer, qzhang, toneata
Target Milestone: rcKeywords: Rebase, Triaged, ZStream
Target Release: 9.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ostree-2022.5-1.el9_0 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
New release, see https://github.com/ostreedev/ostree/releases/tag/v2022.5.
Story Points: ---
Clone Of: 2119815 Environment:
Last Closed: 2022-11-02 14:33:44 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:
Bug Depends On: 2119815    
Bug Blocks:    

Comment 2 Luca BRUNO 2022-09-22 15:11:19 UTC
I was chasing the status of several SELinux patches required by newer ostree, and I think this is the status for RHEL 9.0:

 * The backport for https://bugzilla.redhat.com/show_bug.cgi?id=2049191 is already in RHEL 9.0.
   It is part of 'libsemanage-3.3-2.el9'.

 * The backport for https://bugzilla.redhat.com/show_bug.cgi?id=2049193 is already in RHEL 9.0.
   It is part of 'policycoreutils-3.3-4.2.el9'.

 * The extra patch for https://bugzilla.redhat.com/show_bug.cgi?id=2104935 only landed in RHEL 9.1.
   This is currently not present in 9.0 nor in 8.6, but z-stream backports have been requested for both.
   It isn't a blocker for this ostree rebase, but it would be nice to have both backports done in parallel.

 * The drive-by improvement for https://bugzilla.redhat.com/show_bug.cgi?id=2050554 is already in RHEL 9.0.
   It is part of 'policycoreutils-3.3-3.el9'.
   It was mentioned in several comments related to OCP, but I don't think we strictly need it here. Still, good to have.

Comment 5 Aashish Radhakrishnan 2022-09-23 15:20:24 UTC
Sanity test with installation:

Provisioned a RHEL 9:
aaradhak@fedora ~/fcos $ ssh root.lab.eng.bos.redhat.com

[root@sweetpig-5 ~]# dnf install -y ostree-2022.5-1.el9_0.x86_64.rpm ostree-grub2-2022.5-1.el9_0.x86_64.rpm ostree-libs-2022.5-1.el9_0.x86_64.rpm

[root@sweetpig-5 ~]# rpm -qa ostree
ostree-2022.5-1.el9_0.x86_64

[root@sweetpig-5 ~]# ostree --version
libostree:
 Version: '2022.5'
 Git: 50aa29e7b9cd77c6cdd3a84134ccdc315f2113a5
 Features:
  - libcurl
  - libsoup
  - gpgme
  - ex-fsverity
  - libarchive
  - selinux
  - openssl
  - libmount
  - systemd
  - release
  - p2p


Verified: Tested

Comment 10 Aashish Radhakrishnan 2022-09-27 14:44:08 UTC
Verifiy passed with sanity test via provisioning RHEL 9 on Beaker

Comment 14 errata-xmlrpc 2022-11-02 14:33:44 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 (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/RHEA-2022:7320