A simple test can be performed with the following steps: On a jammy machine
- Install bind9 - Upgrade to the proposed version - Verify the upgrade succeeds and the service is running On a jammy machine - Install bind9 - add "foo bar" to the last line of /etc/bind/named.conf - Upgrade to the proposed version - Verify the upgrade exits with an error status, such as /etc/bind/named.conf:13: unknown option 'foo' /etc/bind/named.conf:14: unexpected token near end of file dpkg: error processing package bind9 (--configure): installed bind9 package post-installation script subprocess returned error exit status 1 - Verify that the service is still running (no disruption). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1492212 Title: postinst should validate config before restarting bind To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1492212/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs