当我为Bind启用日志时,我会得到一个权限被拒绝的错误,这是因为在chroot/selinux中运行的绑定(avc拒绝写)。我不知道如何重新配置selinux以允许日志文件可写。有人能帮忙吗?
谢谢你!!
发布于 2015-08-03 15:45:52
尝试还原文件上的上下文(作为root):
touch /var/log/file # if it doesn't already exist
restorecon -v /var/log/file有关更多信息,这应该会有所帮助:http://wiki.centos.org/HowTos/SELinux
https://serverfault.com/questions/710519
复制相似问题