Selinux and awstats

Claude Jones cjones at levitjames.com
Wed Jul 9 23:54:07 UTC 2008


On Thursday 03 July 2008 14:14:09 Daniel J Walsh wrote:
> > # matchpathcon /var/lib/awstats
> > /etc/selinux/targeted/contexts/files/file_contexts: Multiple
> > different specifications for
> > /usr/share/awstats/wwwroot/cgi-bin(/.*)?
> > (system_u:object_r:httpd_sys_script_exec_t:s0 and
> > system_u:object_r:httpd_awstats_script_exec_t:s0).
> > /var/lib/awstats        system_u:object_r:awstats_var_lib_t
>
> # semanage fcontext -d
> '/usr/share/awstats/wwwroot/cgi-bin(/.*)?'

Just ran this, but it appears selinux doesn't approve:
# semanage fcontext -d '/usr/share/awstats/wwwroot/cgi-bin(/.*)?'
/usr/sbin/semanage: File context for 
/usr/share/awstats/wwwroot/cgi-bin(/.*)? is defined in policy, 
cannot be deleted

-- 
Claude Jones
Levit & James, Inc.
Leesburg, VA
703-771-1549




More information about the fedora-list mailing list