[Bug 1492212] [NEW] postinst should validate config before restarting bind

Launchpad Bug Tracker 1492212 at bugs.launchpad.net
Thu Dec 9 16:26:17 UTC 2021


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

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

** Affects: bind9 (Ubuntu)
     Importance: Medium
     Assignee: Athos Ribeiro (athos-ribeiro)
         Status: Triaged

** Affects: bind9 (Debian)
     Importance: Unknown
         Status: New


** Tags: patch
-- 
postinst should validate config before restarting bind
https://bugs.launchpad.net/bugs/1492212
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list