[xcat-user] SELinux within diskless
Arif Ali
mail at arif-ali.co.uk
Thu Jul 23 03:46:29 MDT 2009
Hi list,
I don't know if anyone realised this in their setup, but we found that on
out rhels5.3 setup on a customer site was by default enabling selinux (the
selinux filesystem was mounted, and dmesg showed that the SELinux was being
enabled), although the /etc/selinux/config file was not there. This could
also be an issue with fedora and centos as well.
One way to fix this is to add the <profile>.postinstall, which automatically
creates the directory and file and adds the relevant data, see below:
installroot=$1
mkdir $installroot/etc/selinux > /dev/null 2>&1
cat <<END>> $installroot/etc/selinux/config
SELINUX=disabled
END
regards,
Arif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.xcat.org/pipermail/xcat-user/attachments/20090723/3dbfc7e0/attachment.htm
More information about the xcat-user
mailing list