selinux, apache and an NFS mounted DocumentRoot
Norman Gaywood
norm at turing.une.edu.au
Wed Jul 13 03:52:09 UTC 2005
I have an apache on FC3 that uses an NFS mounted document root from an
FC1 server. Starting httpd on the FC3 system:
service httpd start
Starting httpd: Syntax error on line 265 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
In /var/log/messages, I get:
Jul 13 13:43:34 localhost kernel: audit(1121226214.986:0): avc: denied { search } for pid=26466 exe=/usr/sbin/httpd name=/ dev=0:1a ino=6 scontext=root:system_r:httpd_t tcontext=system_u:object_r:nfs_t tclass=dir
DocumentRoot is a directory. It seems to be a selinux permission
thing. Does anyone have a suggestion on how to fix this?
--
Norman Gaywood, Systems Administrator
School of Mathematics, Statistics and Computer Science
University of New England, Armidale, NSW 2351, Australia
norm at turing.une.edu.au Phone: +61 (0)2 6773 2412
http://turing.une.edu.au/~norm Fax: +61 (0)2 6773 3312
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
More information about the fedora-list
mailing list