cobbler overwrites incorrect named configuration file

Bug #1499928 reported by Jared Casper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Trusty by Nish Aravamudan
Nominated for Xenial by Nish Aravamudan

Bug Description

Ubuntu release: 14.04.3
cobbler package version: 2.4.1-0ubuntu2

The 40_ubuntu_bind9_management.patch applied by the package states:

Description: Enable management of bind9 with manage_dns setting.
 - Generate /etc/bind/named.conf.local to plug into the standard Debian bind9
   install and preserve the bind9 default installation configuration.
 - Generate /etc/bind/db.$zone to align to bind9 zone file names.

And makes changes to the named.template file such that it would work as /etc/bind/named.conf.local. However, cobbler actually overwrites /etc/bind/named.conf, not /etc/bind/named.conf.local, thus preventing /etc/bind/named.conf.options and /etc/bind/named.conf.default-zones from being included. This results in an incomplete named configuration since the patch above removes all the options from cobbler's default named.template.

The file that gets written by cobbler is in the namedconf_location function in utils.py.

Tags: bind
description: updated
Nish Aravamudan (nacc)
Changed in cobbler (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.