rpms/awstats/EL-5 awstats.README.SELinux,1.1,1.2

Tim Jackson timj at fedoraproject.org
Sun Aug 31 10:13:06 UTC 2008


Author: timj

Update of /cvs/extras/rpms/awstats/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24447

Modified Files:
	awstats.README.SELinux 
Log Message:
Update SELinux readme file to explain better how to make it work with
SELinux



Index: awstats.README.SELinux
===================================================================
RCS file: /cvs/extras/rpms/awstats/EL-5/awstats.README.SELinux,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- awstats.README.SELinux	12 Apr 2006 19:16:45 -0000	1.1
+++ awstats.README.SELinux	31 Aug 2008 10:12:36 -0000	1.2
@@ -2,21 +2,23 @@
 SELinux support in AWStats
 ==========================
 
+AWStats is a CGI script, and needs to be labelled correctly to be called
+from Apache if SELinux is enabled.
 
-What is the problem ?
----------------------
+This should "just work" if you install the package "awstats-selinux".
+If not, please report at https://bugzilla.redhat.com/
 
-AWStats is a CGI script, and needs to be labelled correctly to be called
-from Apache.
-The files in ``/usr/share/awstats/wwwroot/cgi-bin`` need to have the 
-``httpd_sys_script_exec_t`` type, and the databases files in 
-``/var/lib/awstats`` need to have the ``httpd_sys_script_rw_t`` type.
+Below follows some detailed information for manual debugging etc.
 
 
-How do we solve it ?
+Detailed information
 --------------------
 
-You can change the type with the ``chcon`` command::
+The files in ``/usr/share/awstats/wwwroot/cgi-bin`` need to have the 
+``httpd_sys_script_exec_t`` type, and the databases files in 
+``/var/lib/awstats`` need to have the ``httpd_sys_script_rw_t`` type.
+
+You can change the type with the ``chcon`` command:
 
     chcon -R -t httpd_sys_script_exec_t /usr/share/awstats/wwwroot/cgi-bin
     chcon -R -t httpd_sys_script_rw_t /var/lib/awstats
@@ -30,6 +32,3 @@
     semanage fcontext -a -t httpd_sys_script_exec_t \
         '/usr/share/awstats/wwwroot/cgi-bin(/.*)?'
     semanage fcontext -a -t httpd_sys_script_rw_t '/var/lib/awstats(/.*)?'
-
-
-Please send your bug reports (if any ;) ) to https://bugzilla.redhat.com




More information about the fedora-extras-commits mailing list