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

Re: Selinux and awstats



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?


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