Re: Selinux and awstats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Claude Jones wrote:
> On Sun June 29 2008, Daniel J Walsh wrote:
>> # grep awstats /etc/selinux/targeted/contexts/files/*
>> Are the references in file_context or file_context.local?
>>
>>
>> # semodule -l
>>
>> Any additional reference to awstats?
> 
> grep awstats /etc/selinux/targeted/contexts/files/*                                                                                 
> /etc/selinux/targeted/contexts/files/file_contexts:/var/lib/awstats(/.*)?       
> system_u:object_r:awstats_var_lib_t:s0                                       
> /etc/selinux/targeted/contexts/files/file_contexts:/usr/share/awstats/tools/.
> +\.pl      --      system_u:object_r:awstats_exec_t:s0                          
> /etc/selinux/targeted/contexts/files/file_contexts:/usr/share/awstats/wwwroot(/.*)?     
> system_u:object_r:httpd_awstats_content_t:s0                         
> /etc/selinux/targeted/contexts/files/file_contexts:/usr/share/awstats/wwwroot/cgi-
> bin(/.*)?     system_u:object_r:httpd_awstats_script_exec_t:s0             
> /etc/selinux/targeted/contexts/files/file_contexts~:/var/lib/awstats(/.*)?      
> system_u:object_r:awstats_var_lib_t:s0                                       
> /etc/selinux/targeted/contexts/files/file_contexts~:/usr/share/awstats/tools/.
> +\.pl     --      system_u:object_r:awstats_exec_t:s0                          
> /etc/selinux/targeted/contexts/files/file_contexts~:/usr/share/awstats/wwwroot(/.*)?    
> system_u:object_r:httpd_awstats_content_t:s0                         
> /etc/selinux/targeted/contexts/files/file_contexts~:/usr/share/awstats/wwwroot/cgi-
> bin(/.*)?    system_u:object_r:httpd_awstats_script_exec_t:s0             
> /etc/selinux/targeted/contexts/files/file_contexts.local:/usr/share/awstats/wwwroot/cgi-
> bin(/.*)?    system_u:object_r:httpd_sys_script_exec_t:s0            
> /etc/selinux/targeted/contexts/files/file_contexts.local~:/usr/share/awstats/wwwroot/cgi-
> bin(/.*)?    system_u:object_r:httpd_sys_script_exec_t:s0           
> /etc/selinux/targeted/contexts/files/file_contexts.local~:/var/lib/awstats(/.*)?    
> system_u:object_r:httpd_sys_script_rw_t:s0  
>                              
> [root@vrproductions3 ~]# semodule -l                                                                                                                         
> amavis  1.5.1                                                                                                                                                
> amtu    1.1.0                                                                                                                                                
> apcupsd 1.3.0                                                                                                                                                
> audio_entropy   1.3.0                                                                                                                                        
> awstats 1.0.0
> etc............
Well you can remove the emacs back up file.

/etc/selinux/targeted/contexts/files/file_contexts.local~

Everything looks fine.

If you execute

matchpathcon /var/lib/awstats

Does it report an error now?

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux