Replies: 1 comment 5 replies
-
|
Do you mean MLS? I have never heard of an mcs policy. I don't think you can install container-selinux onto an MLS system, because a lot of the interfaces that container-selinux uses will not be present. Also container-selinux does not follow the rules of an MLS system. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am attempting to install
podmanon a system whose SELinux policy is set to MCS. However, it appears that thecontainer-selinuxpackage will only install onto systems that are running atargetedpolicy. Is there any way to install this package on an MCS system? If not, this seems like a major limitation of this package and podman by extension.Additional information:
This is a RHEL8 system running a custom SELinux policy. It does not have the
selinux-policy-targetedpackage installed. Rather, it has a customselinux-policy-mcspackage. TheSELINUXTYPEis set tomcsin/etc/selinux/config.dnf install container-selinuxdoes not work ascontainer-selinuxrequiresselinux-policy-targetedas a dependency. To get around this, I have downloaded thecontainer-selinuxRPM and usedrpmrebuildto modify its.specfile to remove the dependency onselinux-policy-targeted. This modified RPM seems to install successfully, but the SELinux policy does not actually get installed. It appears there is logic in the RPM to not perform thesemoduleinstallation ifSELINUXTYPEis not set totargeted, so no SELinux modules get installed on the system.Ideally, I would like to be able to install this package via
dnfso that I can stay up-to-date with updates.Any help is appreciated, thanks!
Beta Was this translation helpful? Give feedback.
All reactions