maas-dns changes default bind rndc key and breaks initscripts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Andres Rodriguez | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The default install of maas-dns creates the following file /etc/bind/
Among it are the following two bind9 configuration sections:
key "rndc-maas-key" {
algorithm hmac-md5;
secret "(edited away)";
};
options {
default-key "rndc-maas-key";
default-server 127.0.0.1;
default-port 954;
};
This breaks init scripts (sudo service bind9 restart) as they use the key called "rndc-key". I would suggest that maas explicitly provide the key that it wishes to use whenever it interacts with bind9 so that defaults don't have to change
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: maas-dns 0.1+bzr1264+
ProcVersionSign
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu3
Architecture: i386
Date: Mon Oct 15 17:15:31 2012
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release i386 (20121014)
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)
== TEST ==
This fix has been tested on both canonistack and in the lenovo lab.
Related branches
- Gavin Panella (community): Approve
-
Diff: 100 lines (+34/-2)4 files modifiedetc/celeryconfig_common.py (+3/-0)
etc/democeleryconfig_common.py (+5/-0)
src/provisioningserver/dns/config.py (+15/-2)
src/provisioningserver/dns/tests/test_config.py (+11/-0)
- Julian Edwards (community): Approve
-
Diff: 60 lines (+23/-3)3 files modifieddebian/changelog (+21/-1)
debian/extras/maas-region-celeryd (+1/-1)
debian/rules (+1/-1)
Changed in maas: | |
milestone: | none → 12.10 |
Changed in maas: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
tags: | added: sru-12.10 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
importance: | Undecided → Critical |
status: | New → In Progress |
description: | updated |
Changed in maas (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in maas (Ubuntu Precise): | |
status: | New → Fix Released |
> I would suggest that maas explicitly provide the key that it wishes to use whenever it interacts with bind9 so that defaults don't
> have to change
Looks like a very good idea to me.