Bug 2196844
| Summary: | ValueError: SELinux policy is not managed or store cannot be accessed. | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Link Dupont <link> | |
| Component: | insights-client | Assignee: | Pino Toscano <ptoscano> | |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | high | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 9.2 | CC: | ahitacat, arpandey, cmarinea, dranck, fjansen, jcastran, jstodola, link, mmalik, nobody, pakotvan, redakkan, stomsa, zzwxh123 | |
| Target Milestone: | rc | Keywords: | Regression, Triaged, ZStream | |
| Target Release: | 9.3 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | SCRUB_20230105 | |||
| Fixed In Version: | insights-client-3.1.7-13.el9 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 2150908 | |||
| : | 2210269 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-07 08:32:52 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: | ||||
| Bug Depends On: | 2150908 | |||
| Bug Blocks: | 2164602, 2209174, 2210269 | |||
|
Comment 3
Link Dupont
2023-05-16 13:58:59 UTC
whats the difference between 2150908 and 2196844 bug 2164602 closed errata (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. 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. *** Bug 2213624 has been marked as a duplicate of this bug. *** 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
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 |