Red Hat Bugzilla – Bug 511864
system-config-bind no longer parses include statements within view clause
Last modified: 2013-04-12 16:20:11 EDT
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.
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