-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selinux-module failing on RHEL 7, Makefile not there #88
Comments
I'd suggest that either:
I'm happy to provide a patch for whichever of these is preferable (or something else :) as I'm adding the package explicitly for now and it would be nice to have the selinux module handle this on my behalf. |
Currently the package is policycoreutils-python which causes selinux-policy to install as well. I have already submitted a pull request #89 to change it to policycoreutils-devel, which requires policycoreutils-python and also causes selinux-policy-devel to install. |
Fab -- I'll use this handy workaround of overriding the package_name to be |
policycoreutils-devel (no 'python' on the name) |
Regarding a comment from Pull Request #73
It appears RedHat decided to split selinux into the selinux-policy and selinux-policy-devel packages for RHEL 7, and put /usr/share/selinux/devel/Makefile in the devel package. I assume this would also affect CentOS 7 and recent versions of Fedora as well.
The .te file gets created but no .mod or .pp file in /usr/share/selinux.
I didn't notice it until recently because the .mod and .pp files were already there, but I think the addition of the prefix caused it to attempt to install the module under a new name and then start giving puppet errors.
RHEL 6 seams to have the Makefile in selinux-policy and as best I can tell there is no selinux-policy-devel for RHEL 6.
Thoughts on the best way to fix this?
The text was updated successfully, but these errors were encountered: