-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add a new option -V to verify installed policies #93
Conversation
76e1655
to
d3a3ac6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still poking around to understand how this all works but have to step out for now, just noted inline something I noticed while testing.
d3a3ac6
to
5962e5c
Compare
f7af77d
to
17509c9
Compare
17509c9
to
45b0b05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I'd recommend waiting for @jpichon since she had other comments as well.
This new parameter will help ensuring the package did properly install. It will ensure we're on an SELinux enabled, Enforcing system, then loop on the different $MODULES to ensure they are present on the system. In the end, this will help ensuring the package is properly installed, avoiding future hide'n'seek parties when we're seeing any weird SELinux issues within TripleO.
45b0b05
to
af18066
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I think this is more nicely readable after the last few changes too. I'll merge and push a new version tag.
This will allow to ensure the policies are correctly installed, by calling `rpm -V openstack-selinux'. The "local_settings.sh -V" is introduced by the following patch: redhat-openstack/openstack-selinux#93 Change-Id: I7a4cf3da16cddddcadac5658207958878ff618dc
`rpm -V' filters this out and displays only stderr content, so we'd be missing the important bits of the verification. With this patch in, the command outputs the list of missing modules, the amount of them, and the final, default rpm verification failure message. This patch is a follow-up of redhat-openstack#93
`rpm -V' filters the output and displays only stderr content, so we'd be missing the important bits of the verification. With this patch in, the command outputs the list of missing modules, the amount of them, and the final, default rpm verification failure message. This patch is a follow-up of redhat-openstack#93
`rpm -V' filters the output and displays only stderr content, so we'd be missing the important bits of the verification. With this patch in, the command outputs the list of missing modules, the amount of them, and the final, default rpm verification failure message. This patch is a follow-up of redhat-openstack#93
This will allow to ensure the policies are correctly installed, by calling `rpm -V openstack-selinux'. The "local_settings.sh -V" is introduced by the following patch: redhat-openstack/openstack-selinux#93 Resolves: rhbz#2095776 Change-Id: I7a4cf3da16cddddcadac5658207958878ff618dc
This will allow to ensure the policies are correctly installed, by calling `rpm -V openstack-selinux'. The "local_settings.sh -V" is introduced by the following patch: redhat-openstack/openstack-selinux#93 Change-Id: I7a4cf3da16cddddcadac5658207958878ff618dc (cherry picked from commit f4df752)
This will allow to ensure the policies are correctly installed, by calling `rpm -V openstack-selinux'. The "local_settings.sh -V" is introduced by the following patch: redhat-openstack/openstack-selinux#93 Change-Id: I7a4cf3da16cddddcadac5658207958878ff618dc (cherry picked from commit f4df752)
This new parameter will help ensuring the package did properly install.
It will ensure we're on an SELinux enabled, Enforcing system, then loop
on the different $MODULES to ensure they are present on the system.
In the end, this will help ensuring the package is properly installed,
avoiding future hide'n'seek parties when we're seeing any weird SELinux
issues within TripleO.