Bug 2226710

Summary: Set rhcd_t permissive even when SELinux is disabled
Product: Red Hat Enterprise Linux 8 Reporter: Alba Hita <ahitacat>
Component: rhcAssignee: CSI Client Tools Bugs <csi-client-tools-bugs>
Status: CLOSED NOTABUG QA Contact: CSI Client Tools Bugs <csi-client-tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 8.9CC: arpandey, cmarinea, csi-client-tools-bugs, redakkan
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2226701 Environment:
Last Closed: 2023-08-08 12:21:58 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: 2226701    
Bug Blocks:    

Description Alba Hita 2023-07-26 09:31:03 UTC
+++ This bug was initially created as a clone of Bug #2226701 +++

Description of problem:
The %post script is not working when SELinux is enabled after the package installation but was disabled during installation.

This is happening when building an image in a container that doesn't have SELinux enable, and later is installed in bare metal or in a VM that enabled SELinux.

More references: ESSNTL-4875

Version-Release number of selected component (if applicable):
rhc-0.2.2-1.el8

Comment 1 Alba Hita 2023-08-08 12:21:58 UTC
Closed, rhcd module is only present on RHEL9.