Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 511864 - system-config-bind no longer parses include statements within view clause
system-config-bind no longer parses include statements within view clause
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-bind (Show other bugs)
5.3
All Linux
low Severity medium
: rc
: ---
Assigned To: Jaroslav Reznik
Martin Cermak
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-15 09:14 EDT by Simon
Modified: 2013-04-12 16:20 EDT (History)
4 users (show)

See Also:
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 07:12:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1505 normal SHIPPED_LIVE system-config-bind bug fix update 2011-11-30 12:11:23 EST

  None (edit)
Description Simon 2009-07-15 09:14:38 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.
Comment 7 errata-xmlrpc 2011-11-30 07:12:17 EST
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

Note You need to log in before you can comment on or make changes to this bug.