无法在Red Hat上启用绑定9的日志logging

当我启用绑定logging时,我得到了一个权限被拒绝的错误,这是由于在chroot / selinux中运行的绑定(avc denied write)。 我不知道如何重新configuration​​selinux以允许日志文件是可写的。 请有人可以帮忙吗?

谢谢!!

尝试恢复文件上下文(以root身份):

touch /var/log/file # if it doesn't already exist restorecon -v /var/log/file 

有关更多信息,这应该帮助: http : //wiki.centos.org/HowTos/SELinux