-
Notifications
You must be signed in to change notification settings - Fork 50
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
defined selinux_ports cause error when selinux_state=disabled #188
Comments
"seport" module has "ignore_selinux_state" option:
Using the following change it's possible to set SELinux port mapping on a system with SELinux disabled but with installed "selinux-policy-targeted"
|
this is wrong, correct would be I'll prepare a patch which will add same option to other modules. |
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. Fixes: linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. Fixes: linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. It's also necessary to use seboolean module with `persistent: true` when SELinux is disabled. Fixes: linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. It's also necessary to use seboolean module with `persistent: true` when SELinux is disabled. Fixes: linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. It's also necessary to use seboolean module with `persistent: true` when SELinux is disabled. Fixes: linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. It's also necessary to use seboolean module with `persistent: true` when SELinux is disabled. Fixes: linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
When targeted SELinux policy is installed it should be possible to setup SELinux while disabled and before it's changed to permissive/enforcing. Related to linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. It's also necessary to use seboolean module with `persistent: true` when SELinux is disabled. Fixes: linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
When targeted SELinux policy is installed it should be possible to setup SELinux while disabled and before it's changed to permissive/enforcing. Related to linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
It is possible to configure SELinux on nodes with SELinux disabled before they're switch to permissive/enforcing. The only requirement is that targeted SELinux policy (or a policy configured in /etc/selinux/config) needs to be installed. It's also necessary to use seboolean module with `persistent: true` when SELinux is disabled. Fixes: #188 Signed-off-by: Petr Lautrbach <[email protected]>
When targeted SELinux policy is installed it should be possible to setup SELinux while disabled and before it's changed to permissive/enforcing. Related to linux-system-roles#188 Signed-off-by: Petr Lautrbach <[email protected]>
When targeted SELinux policy is installed it should be possible to setup SELinux while disabled and before it's changed to permissive/enforcing. Related to #188 Signed-off-by: Petr Lautrbach <[email protected]>
Setting
selinux_ports
will cause the module to fail ifselinux_state=disabled
. We require to setselinux_ports
globally.Workaround: Setting
selinux_ports=[]
for all hosts thatselinux_state=disabled
and hence bloating the inventory.Is there a way to avoid this without PR?
The text was updated successfully, but these errors were encountered: