Public bug reported:

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.

** Affects: cobbler (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bind

** Description changed:

  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.
+  - 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.
- This results in an incomplete named configuration since the patch above
- removes all the options from cobbler's default named.template.
+ /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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499928

Title:
  cobbler overwrites incorrect named configuration file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/1499928/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to