Bug 511864
| Summary: | system-config-bind no longer parses include statements within view clause | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Simon <number.cruncher> |
| Component: | system-config-bind | Assignee: | Jaroslav Reznik <jreznik> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.3 | CC: | azelinka, mcermak, number.cruncher, ovasik |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | system-config-bind-4.0.3-5.el5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-30 12:12:17 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: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1505.html |
Description of problem: If zone files are "include"d into a named.conf "view" clause, system-config-bind no longer parses the included file. This used to work for system-config-bind-4.0.1-2.fc6 Version-Release number of selected component (if applicable): 4.0.3-4.el5 How reproducible: Always Steps to Reproduce: 1. Install bind, bind-chroot, caching-nameserver 2. Create named.conf to include RFC1912 zone from caching-nameserver: options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; /* * If there is a firewall between you and nameservers you want * to talk to, you might need to uncomment the query-source * directive below. Previous versions of BIND always asked * questions using port 53, but BIND 8.1 uses an unprivileged * port by default. */ // query-source address * port 53; }; include "/etc/rndc.key"; view "locals" { match-clients { any; }; match-destinations { any; }; recursion yes; include "/etc/named.rfc1912.zones"; }; 3. Run system-config-bind Actual results: Only server properties are displayed Expected results: A view icon is present with zones nested inside Additional info: Looking at the sources, the function "process_includes" is missing from /usr/share/system-config-bind/NamedConf.py in the newer version. The old FC6 version handled this fine. If the contents of the included file are pasted directly into named.conf, there is no problem.