Re: [CentOS] Baffled by selinux

2012-03-05 Thread Lars Hecking
Bruce Martin writes: > Lars Hecking writes: > > > > > > > > Have you tried httpd_use_nfs? > > > > Slam dunk. Thanks! > > > > > Can you be more specific on what file you edited and the syntax of the line > you put in and/or edited? > While I am able to start apache I am getting several err

Re: [CentOS] Baffled by selinux

2012-03-05 Thread Benjamin Donnachie
On 5 Mar 2012, at 22:02, Phil Savoie wrote: Have you tried httpd_use_nfs? > Without being able to see/read the OP's original question, some help for > you. Try http://wiki.centos.org/TipsAndTricks/SelinuxBooleans instead. Ben ___ CentOS mailing l

Re: [CentOS] Baffled by selinux

2012-03-05 Thread Phil Savoie
On 03/05/2012 02:40 PM, Bruce Martin wrote: > Lars Hecking writes: > >> >> >>> Have you tried httpd_use_nfs? >> >> Slam dunk. Thanks! >> > > > Can you be more specific on what file you edited and the syntax of the line > you put in and/or edited? > While I am able to start apache I am getting

Re: [CentOS] Baffled by selinux

2012-03-05 Thread Phil Savoie
On 03/05/2012 02:40 PM, Bruce Martin wrote: > Lars Hecking writes: > >> >> >>> Have you tried httpd_use_nfs? >> >> Slam dunk. Thanks! >> > > > Can you be more specific on what file you edited and the syntax of the line > you put in and/or edited? > While I am able to start apache I am getting

Re: [CentOS] Baffled by selinux

2012-03-05 Thread Bruce Martin
Lars Hecking writes: > > > > Have you tried httpd_use_nfs? > > Slam dunk. Thanks! > Can you be more specific on what file you edited and the syntax of the line you put in and/or edited? While I am able to start apache I am getting several errors in the log files that seem to be related t

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/16/2012 12:52 PM, Les Mikesell wrote: > On Thu, Feb 16, 2012 at 11:13 AM, James B. Byrne > wrote: > > >> Information from 2010 is out of date for SELinux on CentOS-6, > > > > I thought the whole point of enterprise distributions was to not >

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Bob Hoffman
*Lars Hecking* wrote === pache DocumentRoot on an NFS directory: [root at localhost ~]# service httpd start Starting httpd: Warning: DocumentRoot [/home/www/html] does not exist Syntax er

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Les Mikesell
On Thu, Feb 16, 2012 at 11:13 AM, James B. Byrne wrote: > Information from 2010 is out of date for SELinux > on CentOS-6, I thought the whole point of enterprise distributions was to not have behavior changes for a major version release, which would, in fact have been in 2010 for the upstream

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/16/2012 12:13 PM, James B. Byrne wrote: > > On Thu, February 16, 2012 07:35, Lars Hecking wrote: >> >> Apache DocumentRoot on an NFS directory: >> >> [root@localhost ~]# service httpd start Starting httpd: Warning: >> DocumentRoot [/home/www/h

Re: [CentOS] Baffled by selinux

2012-02-16 Thread James B. Byrne
On Thu, February 16, 2012 07:35, Lars Hecking wrote: > > Apache DocumentRoot on an NFS directory: > > [root@localhost ~]# service httpd start > Starting httpd: Warning: DocumentRoot [/home/www/html] > does not exist > Syntax error on line 292 of /etc/httpd/conf/httpd.conf: > DocumentRoot must be

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/16/2012 08:28 AM, Lars Hecking wrote: > >> Have you tried httpd_use_nfs? > > Slam dunk. Thanks! > > Did this boolean exist before yesterdays kernel and selinux policy > update? The setup was working until I rebooted. > > > > ___

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Lars Hecking
> Have you tried httpd_use_nfs? Slam dunk. Thanks! Did this boolean exist before yesterdays kernel and selinux policy update? The setup was working until I rebooted. pgpYmmLpiicbO.pgp Description: PGP signature ___ CentOS mailing list CentOS@cent

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/16/2012 07:35 AM, Lars Hecking wrote: > type=AVC msg=audit(1329395502.678:61926): avc: denied { search } > for pid=25674 comm="httpd" name="" dev=0:23 ino=3471615 > scontext=unconfined_u:system_r:httpd_t:s0 > tcontext=system_u:object_r:nfs_t:s

[CentOS] Baffled by selinux

2012-02-16 Thread Lars Hecking
Apache DocumentRoot on an NFS directory: [root@localhost ~]# service httpd start Starting httpd: Warning: DocumentRoot [/home/www/html] does not exist Syntax error on line 292 of /etc/httpd/conf/httpd.conf: DocumentRoot must be a directory