Replies: 4 comments
-
Based on the docs, we have 2 ways to disable SELinux
But I see same result in bot cases sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: enforcing
Mode from config file: enforcing
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can we rely on preinstall_exec = [
"setenforce 0",
"sed -i -E 's/^SELINUX=[a-z]+/SELINUX=disabled/' /etc/selinux/config"
] |
Beta Was this translation helpful? Give feedback.
0 replies
-
Applied
Permissive
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: disabled
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 33
# This file controls the state of SELinux on the system.
# SELinux can be completly disabled with the "selinux=0" kernel
# commandline option.
#
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
SELINUX=disabled
# SELINUXTYPE= can take one of these three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted And after manual node reboot
Disabled
SELinux status: disabled |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as now, Selinux is working with enforcing mode, on nodes by default. After I change disable_selinux=true it notaffected Selinux configs. Even, I destroy cluster and created with this config. Still selinux is active on nodes. Am I doing something wrong or incomplete?
Beta Was this translation helpful? Give feedback.
All reactions