[CentOS] DNS Logging with Selinux enabled

Josh Donovan josh.dvan at yahoo.co.uk
Thu Sep 11 16:52:30 UTC 2008


--- On Wed, 10/9/08, Ralph Angenendt <ra+centos at br-online.de> wrote:

> From: Ralph Angenendt <ra+centos at br-online.de>
> Subject: Re: [CentOS] DNS Logging with Selinux enabled
> To: centos at centos.org
> Date: Wednesday, 10 September, 2008, 9:27 AM
> Josh Donovan wrote:
> > I rebuilt my server and setup bind to log queries in a
> chroot. 
> > [root at josh log]# ls -alZ
> /var/named/chroot/var/log/activity.log
> > -rw-r--r--  named    named   
> root:object_r:named_conf_t      
> /var/named/chroot/var/log/activity.log
> 
> That should be root:object_r:named_log_t, IIRC.
> 
> Ralph
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

[root at josh named]# ls -alZ
drwxrwx---  named    named    root:object_r:named_log_t        .
drwxrwx---  root     root     system_u:object_r:named_log_t    ..
-rw-------  named    named    system_u:object_r:named_log_t    activity.log
-rw-------  named    named    system_u:object_r:named_log_t    query.log

How do I get root:object_r:named_log_t as  its now system_u:object_r:named_log_t on the logs?

Thanks,
Josh


      



More information about the CentOS mailing list