[CentOS] Baffled by selinux

Lars Hecking lhecking at users.sourceforge.net
Mon Mar 5 19:10:40 EST 2012


Bruce Martin writes:
> Lars Hecking <lhecking at ...> 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 to this.
 
 setsebool [-P] use_nfs_home_dirs=1

 setsebool [-P] httpd_use_nfs=1

 -P makes the settings permanent, which is probably what you want. Also useful
 is "getsebool -a".



More information about the CentOS mailing list