Red Hat Bugzilla – Bug 725256
bind is disliked by logrotate
Last modified: 2013-04-30 19:49:59 EDT
Description of problem:
bind provides /etc/logrotate.d/named with the following content:
create 0644 named named
/sbin/service named reload 2> /dev/null > /dev/null || true
The current logrotate clearly dislikes that as an attempt to use the ends up with the following:
error: skipping "/var/named/data/named.run" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
/var/named/data indeed is 'drwxrwx--- 2 named named'.
Version-Release number of selected component (if applicable):
This error still persists. Is adding in /etc/logrotate.d/named a line which says
su named named
a big trouble?
I'm seeing this here too. A fix would be nice.
I am also experiencing this problem.
dnsperf-188.8.131.52-25.fc16,dhcp-4.2.2-5.fc16,bind-dyndb-ldap-1.0.0-0.2.b1.fc16,bind-9.8.1-2.fc16 has been submitted as an update for Fedora 16.
Package dnsperf-184.108.40.206-25.fc16, dhcp-4.2.2-5.fc16, bind-dyndb-ldap-1.0.0-0.2.b1.fc16, bind-9.8.1-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnsperf-220.127.116.11-25.fc16 dhcp-4.2.2-5.fc16 bind-dyndb-ldap-1.0.0-0.2.b1.fc16 bind-9.8.1-2.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnsperf-18.104.22.168-25.fc16, dhcp-4.2.2-5.fc16, bind-dyndb-ldap-1.0.0-0.2.b1.fc16, bind-9.8.1-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.