What happened:
SELINUX rpm is not working
What you expected to happen:
semodule --list | grep microshift to show microshift rules installed
How to reproduce it (as minimally and precisely as possible):
sudo dnf module -y enable cri-o:1.21
sudo dnf copr enable -y @redhat-et/microshift
sudo dnf install -y microshift firewalld
sudo systemctl enable crio --now
sudo systemctl enable microshift --now
Anything else we need to know?:
n/A
Environment:
- Microshift version (use
microshift version): 4.8.0-0.okd-2021-10-10-030117
- Hardware configuration: amd 64
- OS (e.g:
cat /etc/os-release): RHEL 8.4
- Kernel (e.g.
uname -a):
- Others:
Relevant Logs
Preparing : 1/1
Reinstalling : microshift-selinux-4.8.0-2021_11_19_125431.el8.noarch 1/2
Running scriptlet: microshift-selinux-4.8.0-2021_11_19_125431.el8.noarch 1/2
libsemanage.semanage_pipe_data: Child process /usr/libexec/selinux/hll/pp failed with code: 255. (No such file or directory).
microshift: libsepol.policydb_read: policydb module version 20 does not match my version range 4-19
microshift: libsepol.sepol_module_package_read: invalid module in module package (at section 0)
microshift: Failed to read policy package
libsemanage.semanage_direct_commit: Failed to compile hll files into cil files.
(No such file or directory).
/usr/sbin/semodule: Failed!
What happened:
SELINUX rpm is not working
What you expected to happen:
semodule --list | grep microshift to show microshift rules installed
How to reproduce it (as minimally and precisely as possible):
sudo dnf module -y enable cri-o:1.21
sudo dnf copr enable -y @redhat-et/microshift
sudo dnf install -y microshift firewalld
sudo systemctl enable crio --now
sudo systemctl enable microshift --now
Anything else we need to know?:
n/A
Environment:
microshift version): 4.8.0-0.okd-2021-10-10-030117cat /etc/os-release): RHEL 8.4uname -a):Relevant Logs