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 1994718 - Need policy update for rhsmcertd to use new cloud-what implementation
Summary: Need policy update for rhsmcertd to use new cloud-what implementation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.5
Hardware: All
OS: Linux
high
urgent
Target Milestone: beta
: 8.5
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard:
: 1996720 (view as bug list)
Depends On:
Blocks: 1922151
TreeView+ depends on / blocked
 
Reported: 2021-08-17 18:43 UTC by Craig Donnelly
Modified: 2021-11-10 08:40 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.14.3-79.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2092333 (view as bug list)
Environment:
Last Closed: 2021-11-09 19:43:59 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-93887 0 None None None 2021-08-17 18:44:03 UTC
Red Hat Product Errata RHBA-2021:4420 0 None None None 2021-11-09 19:44:12 UTC

Description Craig Donnelly 2021-08-17 18:43:28 UTC
Description of problem:
Recently subscription-manager separated out libraries for cloud detection, and we need to update the selinux policy to allow rhsmcertd to utilize the new library's cache.

This is required for a cloud improvement to ship for RHEL 8.5 (blocks 1922151).

Version-Release number of selected component (if applicable):
subscription-manager-1.28.20-1
selinux-policy-3.14.3-76.el8.noarch


Actual results: rhsmcertd cant access /var/cache/cloud-what.

Expected results: Need to be able to access cache file.


Additional info:
A PR was created upstream for this issue by sst subscription-manager team:
https://github.com/fedora-selinux/selinux-policy/pull/836

Comment 1 Zdenek Pytela 2021-08-24 07:31:38 UTC
*** Bug 1996720 has been marked as a duplicate of this bug. ***

Comment 3 Zdenek Pytela 2021-08-24 18:51:53 UTC
The PR is under review.

Comment 4 Zdenek Pytela 2021-08-25 10:34:14 UTC
Commit to backport:
commit d325a2df7b9786b98a510393ed1ad3fd09303327 (HEAD -> rawhide, upstream/rawhide)
Author: Jiri Hnidek <jhnidek>
Date:   Tue Aug 17 18:23:31 2021 +0200

    Allow rhsmcertd to create cache file in /var/cache/cloud-what

Comment 16 errata-xmlrpc 2021-11-09 19:43:59 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 (selinux-policy 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-2021:4420


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