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