Red Hat Bugzilla – Bug 188382
Owner of /var/named/localdomain.zone file is incorrect
Last modified: 2007-11-30 17:11:30 EST
Description of problem:
In bind-config packaged the following files:
.M...U.. c /var/named/localdomain.zone
.M...U.. c /var/named/localhost.zone
.M...U.. c /var/named/named.broadcast
.M...U.. c /var/named/named.ca
.M...U.. c /var/named/named.ip6.local
.M...U.. c /var/named/named.local
.M...U.. c /var/named/named.zero
have the incorrecto owner (root). According to the rpm database ( rpm -q --dump
bind-config ) the owner should be "named"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -V bind-config
2. rpm -q --dump bind-config
3. ls -l /var/named/localdomain.zone
/var/named/localdomain.zone is owned by root
/var/named/localdomain.zone should be owned by named, or the rpm database should
Sorry about that.
The initscript '%files config' section incorrectly had a %defattr(-,named,named),
while the bind-chroot-admin script correctly set the ownership back to
root:named during the %post install script.
But at least the files did end up with the correct permissions.
This is now fixed in CVS and will be delivered in the next few days in a
bind-9.3.2-18.FC5 Testing update.
When updating to 9.3.2-16.FC5, I get:
Updating : bind-config [ 4/12]warning:
/etc/named.caching-nameserver.conf saved as
Updating : bind-config [
4/12]warning: /etc/named.rfc1912.zones saved as /etc/named.rfc1912.zones.rpmsave
Updating : bind-config #################### [
4/12]warning: /var/named/localdomain.zone saved as
On my system /var/named/localdomain.zone (and localdomain.zone.rpmsave) is a
link to /var/named/chroot//var/named/localdomain.zone.
In /var/named/chroot/var/named I have identical files localdomain.zone and
Why are these 2006-04-18_05... and rpmsave files generated, if they are
identical to previous ones?
Even after update and creation of rpmsave files bind-config package shows
# rpm -V bind-config
....L... c /etc/named.caching-nameserver.conf
....L... c /etc/named.rfc1912.zones
....LUG. c /var/named/localdomain.zone
It seems it only happens when bind-chroot is installed. It would be nice to not
create rpmsave files when they are not changed.
bind-9.3.2-20.FC5 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.
this bug has been fixed indeed.