Re: [CentOS] Baffled by selinux

2012-03-05 Thread Bruce Martin
Lars Hecking lhecking@... 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

Re: [CentOS] Baffled by selinux

2012-03-05 Thread Phil Savoie
On 03/05/2012 02:40 PM, Bruce Martin wrote: Lars Hecking lhecking@... 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 Benjamin Donnachie
On 5 Mar 2012, at 22:02, Phil Savoie psavoie1...@rogers.com 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 ___

Re: [CentOS] Baffled by selinux

2012-03-05 Thread Lars Hecking
Bruce Martin writes: Lars Hecking lhecking@... 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

[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

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:s0

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

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 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 a

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/html] does

Re: [CentOS] Baffled by selinux

2012-02-16 Thread Les Mikesell
On Thu, Feb 16, 2012 at 11:13 AM, James B. Byrne byrn...@harte-lyne.cawrote: 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

Re: [CentOS] Baffled by selinux

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

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 byrn...@harte-lyne.cawrote: Information from 2010 is out of date for SELinux on CentOS-6, I thought the whole point of enterprise distributions