Bug 128942
Summary: | Broken files in the named chroot environment | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Angelo <ang3l0> |
Component: | caching-nameserver | Assignee: | Jason Vas Dias <jvdias> |
Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | CC: | redhat-bugzilla |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | bind-9.2.4rc6-3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-08-02 20:14:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Angelo
2004-08-01 16:20:37 UTC
I forgot to say that if the /etc/named.conf and /etc/rndc.key as well as the /var/named/ zone files aren't the same files on the chroot environment, named can't be stopped and restarted because rndc isn't working. It can't even re-read the config files, if you want it do so without stopping the service. Another solution can be to put those files in the chroot environment and then symlink those in /etc and /var/named, like this: /etc/rndc.key -> /var/named/chroot/etc/rndc.key /etc/named.conf -> /var/named/chroot/etc/named.conf etc. etc. This was fixed in bind-9.2.4rc6-3 : the /var/named/chroot/etc/{named.conf,rndc.key} files were getting created as blank files; they are now always copied from /etc . Perhaps they should be hardlinks; but some people might want different configs for a chroot environment than for the non-chroot environment. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-568.html |