Selinux and awstats

Daniel J Walsh dwalsh at redhat.com
Thu Jul 3 18:16:09 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Claude Jones wrote:
> On Mon June 30 2008, Daniel J Walsh wrote:
>> Well you can remove the emacs back up file.
>>
>> /etc/selinux/targeted/contexts/files/file_contexts.local~
>>
> 
> I did that
> 
>> Everything looks fine.
>>
>> If you execute
>>
>> matchpathcon /var/lib/awstats
>>
>> Does it report an error now?
> 
> Seems it does:
> 
> # 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


BTW

# semanage fcontext -l -C

Will show you local customizations to your file context files.  These
are changes made either by an administrator or in the postinstall of
some non SELinux-policy rpm file.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhtF2kACgkQrlYvE4MpobOVAgCaAuqLUb/2f3z2geLBUG4BT8yY
AHcAniO22DBKjL08pVZGfQu5Uw21F4uR
=L3zy
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list