[Bug 1492212] Re: postinst should validate config before restarting bind
Ubuntu Foundations Team Bug Bot
1492212 at bugs.launchpad.net
Thu Dec 9 16:26:18 UTC 2021
The attachment "validate-config.debdiff" seems to be a debdiff. The
ubuntu-sponsors team has been subscribed to the bug report so that they
can review and hopefully sponsor the debdiff. If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1492212
Title:
postinst should validate config before restarting bind
Status in bind9 package in Ubuntu:
Triaged
Status in bind9 package in Debian:
New
Bug description:
We recently had a bind9 package upgrade take out DNS services for a
production cloud because named failed to come up after the postinst
restarted it. So obviously, a) our DNS shouldn't be a SPOF and b) we
shouldn't let our config files get into a state where named refuses to
start, but, with that said, the bind9 postinst could be more robust
against this kind of failure mode.
Specifically it could run named-checkconf against /etc/bind/named.conf
and, if it returns 1, either:
a) skip the restart and scream loudly to warn the admin
or
b) abort the package install by erroring out of the postinst at that
point
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1492212/+subscriptions
More information about the Ubuntu-sponsors
mailing list