My Oracle Support Banner

Oracle Linux: Not Able to Set SELinux Value to Permissive Mode by setting 'SELINUX=permissive' in Configuration File /etc/sysconfig/selinux (Doc ID 2514349.1)

Last updated on JANUARY 29, 2020

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

After settings the Selinux value to permissive mode in /etc/sysconfig/selinux and restart of the server, sestatus is still showing disabled.
# setenforce permissive
setenforce: SELinux is disabled
# sestatus
SELinux status: disabled

Selinux was set to the permissive mode in /etc/sysconfig/selinux

# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=permissive <======
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.