[CentOS] "selinux --disabled" in kickstart file does NOT disable SELINUX

Tue May 26 13:07:15 UTC 2015
Greg Bailey <gbailey at lxpro.com>

On 05/26/2015 04:04 AM, Johnny Hughes wrote:
> On 05/26/2015 01:36 AM, Andrew Holway wrote:
>> Which manual?
>>
>> This could actually be the root of the issue.
>>
>> https://bugs.centos.org/view.php?id=7910
>>
>>
>>
> This is indeed the issue, and it is an upstream (Red Hat) bug .. but I
> am not sure they are going to fix it, or when:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1161682
>
> If you add these packages to your kickstart file, things should work as
> planned:
>
> authconfig
> system-config-firewall-base
>
> Thanks,
> Johnny Hughes


Weird.  Was curious and tried to reproduce, but even with a minimal 6.6 
CD, I have selinux disabled with a kickstart file containing only 
"selinux --disabled".

One other thing I usually do (in cases where I don't want/need selinux) 
is to pass "selinux=0" as a boot argument; that way anaconda won't run 
with selinux either and doesn't set the selinux contexts on files to 
begin with...  Perhaps that would help with the original poster's issue?

-Greg