Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Sep 03, 2011 12:06 am 
Offline
Senior Member

Joined: Thu Oct 02, 2008 8:56 am
Posts: 99
Code:
[root@li215-102 ~]# selinuxenabled &
[1] 1857
[1]+  Exit 1                  selinuxenabled
[root@li215-102 ~]# cat /etc/selinux/config
# 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 - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
#   targeted - Only targeted network daemons are protected.
#   strict - Full SELinux protection.
SELINUXTYPE=targeted
[root@li215-102 ~]# setenforce 1
setenforce: SELinux is disabled
[root@li215-102 ~]#


It seems that SELinux is being disabled when the linode comes up by a boot parameter, despite the config file setting and rebooting. As a linode, I don't have access to the equivalent of /etc/boot/grub.conf to fix it.

How do I enable SELinux on my CentOS 6 image?


Top
   
 Post subject:
PostPosted: Sat Sep 03, 2011 5:01 am 
Offline
Senior Member

Joined: Mon Dec 07, 2009 6:46 am
Posts: 331
Boot CentOS kernel instead of Linode's.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group