Re: [xcat-user] Is xCAT 2.8 meant to disable SELinux?

2013-04-14 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/04/13 11:38, Christopher Samuel wrote: > I'll open a bug now. Bug #3496. - -- Christopher SamuelSenior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55

Re: [xcat-user] Is xCAT 2.8 meant to disable SELinux?

2013-04-14 Thread Guang Cheng Li
HI Chris, A nice catch, I wrote the code a while ago, maybe I got confused by the return value of xCAT::Utils->isSELINUX() when I wrote the code, the xCAT::Utils->isSELINUX() simply returns the return value from command selinuxenabled, the selinuxenabled command return value 0 means SELinux is ena

Re: [xcat-user] Is xCAT 2.8 meant to disable SELinux?

2013-04-14 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/04/13 05:52, Bruce M Potter wrote: > my $rc=xCAT::Utils->isSELINUX(); if ($rc != 0) I think this is the bug: isSELINUX() returns 0 if it's enabled so the check to say its enabled and then disable it should be for 0, not for !=0.. I'll open a b

Re: [xcat-user] Is xCAT 2.8 meant to disable SELinux?

2013-04-14 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/04/13 22:37, Lissa Valletta wrote: > What is in the /etc/selinux/config file, for the SELINUX > attribute? If it still says enforcing then we do have a problem. It did, I had to manually unset it. It *looks* (to my untutored eye) that it's no

Re: [xcat-user] Is xCAT 2.8 meant to disable SELinux?

2013-04-14 Thread Christopher Samuel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/04/13 05:52, Bruce M Potter wrote: > So during xcat installation on the MN you should have seen the msg > that it was disabling it. Is it possible there is something > different about about disabling selinux on 6.4 versus 6.3 and > below? Open