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 2105405

Summary: Rebase to 2022.12
Product: Red Hat Enterprise Linux 9 Reporter: Colin Walters <walters>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED ERRATA QA Contact: RHCOS SST QE <rhcos-sst-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, elpereir, hhei, jwboyer, mnguyen, qzhang
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpm-ostree-2022.12-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 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:

Description Colin Walters 2022-07-08 17:58:36 UTC
Rebase to https://github.com/coreos/rpm-ostree/pull/3830 

This will specifically include
https://github.com/coreos/rpm-ostree/releases/tag/v2022.9
https://github.com/coreos/rpm-ostree/releases/tag/v2022.10
Plus all bits forthcoming in 2022.11

Comment 1 Colin Walters 2022-07-11 21:25:58 UTC
Also includes https://github.com/coreos/rpm-ostree/releases/tag/v2022.11 changes.

Comment 3 Colin Walters 2022-07-13 18:56:58 UTC
OK passed gating (I think?), so now I believe we're waiting for VERIFIED.

As far as what to test; well, there's quite a bit of stuff.  For example, this (belatedly) applies to our RHEL9 build the librhsm fixes that went to rhel8 first in https://bugzilla.redhat.com/show_bug.cgi?id=2095528

But overall, upstream CI covers most things (though currently mostly on Fedora userspace).

To recap, the changes are:

- https://github.com/coreos/rpm-ostree/releases/tag/v2022.9
- https://github.com/coreos/rpm-ostree/releases/tag/v2022.10
- https://github.com/coreos/rpm-ostree/releases/tag/v2022.11
- Plus support for entitled builds in rhel9

Comment 4 Colin Walters 2022-07-19 18:20:36 UTC
Decoupling rhel8/rhel9 since rhel8 strategy switched to cherry-picks.

Comment 5 Colin Walters 2022-07-20 20:03:06 UTC
This also now rolls in https://github.com/coreos/rpm-ostree/releases/tag/v2022.12

Comment 6 HuijingHei 2022-07-21 09:00:56 UTC
Change fixed version to `rpm-ostree-2022.12-2.el9` based on https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2095107

Comment 8 HuijingHei 2022-07-22 08:28:42 UTC
Maybe I should also test ostree container (like BZ#2105414), and entitlement in rhel9 (like BZ#2095528). I will see how I can do this and update test result when finish

Comment 12 Colin Walters 2022-07-27 13:28:45 UTC
> rpm-ostree: Failed to exec /usr/bin/pkttyagent: No such file or directory

This relates to https://github.com/coreos/rpm-ostree/issues/3850 in that ideally we drop our hard dependency on polkit.

Comment 13 HuijingHei 2022-07-27 14:13:36 UTC
Thanks Colin for the confirmation, ignore the entitlement for centos stream in Comment 11

Comment 14 HuijingHei 2022-07-27 14:17:23 UTC
Set Verified:Tested as ostree container and entitlement works with rpm-ostree-2022.12-2.el9

Comment 15 Colin Walters 2022-07-27 14:32:21 UTC
> Set Verified:Tested as ostree container and entitlement works with rpm-ostree-2022.12-2.el9

Awesome, thank you so much for the careful and thoughtful testing!

> > rpm-ostree: Failed to exec /usr/bin/pkttyagent: No such file or directory

https://github.com/coreos/rpm-ostree/pull/3883 fixes the other half of this.

Comment 25 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