Red Hat Bugzilla – Bug 234508
bind package doesn't install default config and zone files anymore
Last modified: 2013-04-30 19:35:16 EDT
Description of problem:
bind doesn't install the default config (named.conf) and zone files anymore
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install bind
2. Find no config files
This is not a bug per se, but an unexpected change in behaviour from older
versions of RHEL, as the bind packages in EL3 and EL4 do install default config
There was a bug opened at http://bugs.centos.org/view.php?id=1870
I know that those files can be found in /usr/share/doc/bind*/sample, but I
expected at least a changelog entry explaining that.
As said: It is a change in expected behaviour and I don't really see the
advantage of bundling those files in DOC and not installing them as was the case
(In reply to comment #0)
thanks for your report. You could make default configuration by
system-config-bind utility. If this utility find no configfiles, default
configuration is created. I'm not really sure if we need default configuration
installed. If you're using bind like local LAN nameserver you must write
configuration and nothing from default config is usable. If you need bind like
caching-nameserver you could install this package (this package contains default
configuration). So summary: if you need local caching-nameserver, please install
caching-nameserver package which could satisfy your demands. If you need create
local lan nameserver, really nothing from default config is usable for you (only
for manual purposes - and this is in sample directory). If you have different
opinion about this problem, please reopen this bug.
No, it's okay. But this way a reference to the problem can be found :)
Thank you for your speedy answer.
On second thought: Yes, I'd like to reopen.
It really breaks expected behaviour (at least for people who also run RHEL3 or
4), so it should at least be documented *clearly* somewhere - changelog would be
a good place IMHO) or a README.RHEL in /usr/share/doc/bind*/. I had to look into
the spec file to see *why* /etc/named.conf is owned by bind, even though it
doesn't even exist.
This is not about readding those files, just about documenting the change in an
From a Release Engineering and a Support (load reduction) standpoint, an
undocumneted, (as in a changelog) altered behaviour, also needlessly adds load,
and a material change in the RHEL product. As the RHEL 5 documentation does not
flag or mention this change that I can find (I reviewd the Release Notes, and
looked for the changelog, using rpm), it is not handled right.
Review process in RelEng needs to flag this kind of change, and avoid it.
See also bug 216075 from Fedora Core 6.
/etc/named.conf isn't owned by bind (%ghost macro, now does't owned by
anything). I think that differences like this are correct between RHEL releases.
We could discuss the best schema about bind configuration package-ownership. Put
here proposed schema or send it to my mail and I'm going to do thinking about
this to rhel5-U1. I don't think that changing release notes or changelog is
needed. It's standard development process. This bugreport now documented this
change :) Sorry for your early troubles with rhel5 bind. If you don't have any
ideas about future bind default configuration, please close.
(In reply to comment #6)
> /etc/named.conf isn't owned by bind (%ghost macro, now does't owned by
[angenenr@shutdown ~]$rpm -qf /etc/named.conf
[angenenr@shutdown ~]$ls /etc/named.conf
ls: /etc/named.conf: No such file or directory
%ghost %config(noreplace) /etc/named.conf
# ^- Ensure something owns named.conf, even though it may not be installed at all
> I think that differences like this are correct between RHEL releases.
Yes, but they should be documented, IMHO.
> We could discuss the best schema about bind configuration package-ownership.
I will think about it.
Hi, bind update to 5.1 incomming. Could I close this one or you have any ideas
what could be fixed/improved.
Excellent. Currently when starting "named" from the Services Configuration
Tool, the error message is
Locating /var/named/chroot//etc/named.conf failed:
For the "bind" update to 5.1, please verify that "named" can be started and
stopped from this tool.
(In reply to comment #9)
> Excellent. Currently when starting "named" from the Services Configuration
> Tool, the error message is
> Locating /var/named/chroot//etc/named.conf failed:
> For the "bind" update to 5.1, please verify that "named" can be started and
> stopped from this tool.
Did you configure named? Please read
http://www.isc.org/index.pl?/sw/bind/FAQ.php, question "Isn't "make install"
supposed to generate a default named.conf?" If you want use named as caching
server please install caching-nameserver package. If you need something else
configure named yourself.
Sorry for insisting on this issue.
But I think that should solve or give information about installing the file "named.conf", still the same problem
[root@iccae /]# uname -r
[root@iccae /]# rpm -qa | grep bind*
[root@iccae /]# rpm -qf /etc/named.conf
[root@iccae /]# locate named.conf
[root@iccae /]# service named start
Locating /var/named/chroot//etc/named.conf failed:
[root@iccae /]# rpm -ql bind
(In reply to comment #11)
> Sorry for insisting on this issue.
> But I think that should solve or give information about installing the file
> "named.conf", still the same problem
I understand it's not easy to write named.conf from scratch. Can you please try to install "caching-nameserver" package and use /etc/named.caching-nameserver.conf as a template (cp /etc/named.caching-nameserver.conf /etc/named.conf)?
In RHEL-6 bind contains /etc/named.conf template but I don't think it's needed to modify RHEL-5.
(In reply to comment #12)
> (In reply to comment #11)
> > Sorry for insisting on this issue.
> > But I think that should solve or give information about installing the file
> > "named.conf", still the same problem
> I understand it's not easy to write named.conf from scratch. Can you please try
> to install "caching-nameserver" package and use
> /etc/named.caching-nameserver.conf as a template (cp
> /etc/named.caching-nameserver.conf /etc/named.conf)?
Thanks works great installing the package "caching-nameserver"
> In RHEL-6 bind contains /etc/named.conf template but I don't think it's needed
> to modify RHEL-5.