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 2196844 - ValueError: SELinux policy is not managed or store cannot be accessed.
Summary: ValueError: SELinux policy is not managed or store cannot be accessed.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: insights-client
Version: 9.2
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: 9.3
Assignee: Pino Toscano
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard: SCRUB_20230105
: 2203620 2213624 (view as bug list)
Depends On: 2150908
Blocks: 2164602 2209174 2210269
TreeView+ depends on / blocked
 
Reported: 2023-05-10 12:55 UTC by Link Dupont
Modified: 2023-11-07 09:50 UTC (History)
14 users (show)

Fixed In Version: insights-client-3.1.7-13.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2150908
: 2210269 (view as bug list)
Environment:
Last Closed: 2023-11-07 08:32:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-156888 0 None None None 2023-05-10 12:58:37 UTC
Red Hat Knowledge Base (Solution) 7017957 0 None None None 2023-06-08 19:17:49 UTC
Red Hat Product Errata RHBA-2023:6432 0 None None None 2023-11-07 08:33:24 UTC

Comment 3 Link Dupont 2023-05-16 13:58:59 UTC
*** Bug 2203620 has been marked as a duplicate of this bug. ***

Comment 4 zzwxh123 2023-05-16 22:15:18 UTC
whats the difference between 2150908 and 2196844

Comment 5 zzwxh123 2023-05-17 00:52:57 UTC
bug 2164602 closed errata

Comment 6 Link Dupont 2023-05-17 14:15:08 UTC
(In reply to zzwxh123 from comment #4)
> whats the difference between 2150908 and 2196844

Sorry for not being clear. RHBZ#2150908 was reported against RHEL8. It was fixed and shipped as part of RHEL 8.8. This bug (RHBZ#2196944) is a clone of RHBZ#2150908, reporting the same bug against RHEL9. It was not shipped as part of RHEL 9.3. I closed your bug (RHBZ#2203620) as a duplicate of this one because it is caused by the same underlying issue (the %post scriptlet syntax).

(In reply to zzwxh123 from comment #5)
> bug 2164602 closed errata

RHBZ#2164602 is a similar bug but for a different package (rhc). This bug is against the 'insights-client' package.

Comment 14 Archana Pandey 2023-05-26 13:25:44 UTC
pre-verifying fix on RHEL 9.3 scratch build-

[root@kvm-02-guest02 ~]# mkdir /root/installroot4
[root@kvm-02-guest02 ~]# cd /tmp
[root@kvm-02-guest02 tmp]# wget https://download.eng.bos.redhat.com/brewroot/work/tasks/5964/52895964/insights-client-3.1.7-13.el9.noarch.rpm --no-check-certificate
:
:
[root@kvm-02-guest02 tmp]# yum install --installroot=/root/installroot4/ insights-client-3.1.7-13.el9.noarch.rpm 
Unable to detect release version (use '--releasever' to specify release version)
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

beaker-AppStream                                                                                                                                               10 MB/s | 6.4 MB     00:00    
beaker-AppStream-debuginfo                                                                                                                                    8.6 MB/s | 5.3 MB     00:00    
beaker-BaseOS                                                                                               


:
:
:
Installing       : policycoreutils-python-utils-3.5-1.el9.noarch                                                                                                                    143/144 
  Installing       : insights-client-3.1.7-13.el9.noarch                                                                                                                              144/144 
  Running scriptlet: insights-client-3.1.7-13.el9.noarch                                                                                                                              144/144 
⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix
your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.
Your mileage may vary.
⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix
your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.
Your mileage may vary.
Created symlink /etc/systemd/system/multi-user.target.wants/insights-client-boot.service → /usr/lib/systemd/system/insights-client-boot.service.

  Running scriptlet: filesystem-3.16-2.el9.x86_64                                                                                                                                     144/144 
  Running scriptlet: ca-certificates-2022.2.54-90.2.el9_0.noarch                                                                                                                      144/144 
  Running scriptlet: rpm-4.16.1.3-22.el9.x86_64                                                                                                                                       144/144 
  Running scriptlet: insights-client-3.1.7-13.el9.noarch                                                                                                                              144/144 
  Verifying        : checkpolicy-3.5-1.el9.x86_64                                                                                                                                       1/144 
  Verifying        : gawk-all-langpacks-5.1.0-6.el9.x86_64    
:
:
:
Complete!

[root@kvm-02-guest02 tmp]# rpm -qi --root=/root/installroot4/ insights-client
Name        : insights-client
Epoch       : 0
Version     : 3.1.7
Release     : 13.el9
Architecture: noarch
Install Date: Fri 26 May 2023 08:28:11 AM EDT
Group       : Applications/System
Size        : 1495556
License     : GPLv2+
Signature   : (none)
Source RPM  : insights-client-3.1.7-13.el9.src.rpm
Build Date  : Fri 26 May 2023 08:14:08 AM EDT
Build Host  : x86-64-02.build.eng.rdu2.redhat.com
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://console.redhat.com/insights
Summary     : Uploads Insights information to Red Hat on a periodic basis
Description :
Sends insightful information to Red Hat for automated analysis
[root@kvm-02-guest02 tmp]# 

 
>> Verified that ValueError does not exist anymore.

Comment 17 Pino Toscano 2023-06-08 19:25:59 UTC
*** Bug 2213624 has been marked as a duplicate of this bug. ***

Comment 18 Archana Pandey 2023-06-13 10:11:52 UTC
final verification-

Beaker Test information:
                         HOSTNAME=kvm-04-guest15.hv2.lab.eng.bos.redhat.com
                            JOBID=7968784
                         RECIPEID=14083699
                    RESULT_SERVER=
                           DISTRO=RHEL-9.3.0-20230613.0
                     ARCHITECTURE=x86_64


[root@kvm-04-guest15 ~]# insights-client --version
Client: 3.1.7
Core: 3.0.302-1
[root@kvm-04-guest15 ~]# rpm -qa insights-client
insights-client-3.1.7-13.el9.noarch
[root@kvm-04-guest15 ~]#
[root@kvm-04-guest15 ~]# mkdir /root/installroot
[root@kvm-04-guest15 ~]# yum install --installroot=/root/installroot/ insights-client
Unable to detect release version (use '--releasever' to specify release version)
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

beaker-AppStream                                                                                                                                               38 MB/s | 6.4 MB     00:00    
beaker-AppStream-debuginfo                                                           
:
:
:
:
 Installing       : policycoreutils-python-utils-3.5-1.el9.noarch                                                                                                                    143/144 
  Installing       : insights-client-3.1.7-13.el9.noarch                                                                                                                              144/144 
  Running scriptlet: insights-client-3.1.7-13.el9.noarch                                                                                                                              144/144 
⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix
your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.
Your mileage may vary.
⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix
your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway.
Your mileage may vary.
Created symlink /etc/systemd/system/multi-user.target.wants/insights-client-boot.service → /usr/lib/systemd/system/insights-client-boot.service.

  Running scriptlet: filesystem-3.16-2.el9.x86_64                                                                                                                                     144/144 
  Running scriptlet: ca-certificates-2022.2.54-90.2.el9_0.noarch                                                                                                                      144/144 
  Running scriptlet: rpm-4.16.1.3-23.el9.x86_64                                                                                                                                       144/144 
  Running scriptlet: insights-client-3.1.7-13.el9.noarch                                                                                                                              144/144 
  Verifying        : checkpolicy-3.5-1.el9.x86_64                                                                                                                                       1/144 
  Verifying        : gawk-all-langpacks-5.1.0-6.el9.x86_64        
:
:
:
:
:
Complete!
[root@kvm-04-guest15 ~]# 
[root@kvm-04-guest15 ~]# rpm -qi --root=/root/installroot/ insights-client
Name        : insights-client
Epoch       : 0
Version     : 3.1.7
Release     : 13.el9
Architecture: noarch
Install Date: Tue 13 Jun 2023 06:07:41 AM EDT
Group       : Applications/System
Size        : 1495556
License     : GPLv2+
Signature   : RSA/SHA256, Wed 31 May 2023 12:04:46 PM EDT, Key ID 199e2f91fd431d51
Source RPM  : insights-client-3.1.7-13.el9.src.rpm
Build Date  : Tue 30 May 2023 01:10:25 PM EDT
Build Host  : ppc-061.build.eng.bos.redhat.com
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://console.redhat.com/insights
Summary     : Uploads Insights information to Red Hat on a periodic basis
Description :
Sends insightful information to Red Hat for automated analysis
[root@kvm-04-guest15 ~]# 


Verification: Passed

Comment 20 errata-xmlrpc 2023-11-07 08:32:52 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 (insights-client 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-2023:6432


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