Re: DNS Logging with Selinux enabled

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



--- On Wed, 10/9/08, Ralph Angenendt <ra+centos@xxxxxxxxxxxx> wrote:

> From: Ralph Angenendt <ra+centos@xxxxxxxxxxxx>
> Subject: Re:  DNS Logging with Selinux enabled
> To: centos@xxxxxxxxxx
> 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@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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

[root@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


      

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux