Bug 1756252
Summary: | Missing dependency of pcp-selinux package on selinux-policy-targeted package | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Kurik <jkurik> |
Component: | pcp | Assignee: | Nathan Scott <nathans> |
Status: | CLOSED ERRATA | QA Contact: | Jan Kurik <jkurik> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.7 | CC: | agerstmayr, jkurik, mgoodwin, nathans, patrickm |
Target Milestone: | rc | Keywords: | Bugfix, Triaged |
Target Release: | 7.9 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-09-29 19:24:55 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: | |||
Bug Blocks: | 1782202 |
Description
Jan Kurik
2019-09-27 08:21:03 UTC
Jan, I've committed the spec file change upstream as: commit ad45af6efabfa2211a66e53bdcf798be643418ec (HEAD -> master) Author: Jan Kurik <jkurik> Date: Wed Oct 2 13:59:42 2019 +1000 build: add runtime rpm dep on selinux-policy-targeted When pcp is installed using kickstart, the %post stage of pcp-selinux package fails if selinux-policy-targeted package is not already installed. It fails during "semodule -i" command in "selinux-setup.sh" script with the following error message: Failed to resolve typeattributeset statement at /etc/selinux/targeted/tmp/modules/400/pcpupstream/cil:1 This issue is caused by missing dependency of pcp-selinux package on selinux-policy-targeted package. Running either "semodule -i /var/lib/pcp/selinux/pcpupstream.pp" or "yum reinstall pcp-selinux" fixes the problem after an installation. This resolves Red Hat bugzilla #1756252. Thanks Nathan. I will wait until it lands into RHEL and then I am going to verify it. 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 (Low: pcp security, 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/RHSA-2020:3869 |