I create the "easy-fix" patch, which rado_p suggested. The step "2. dpkg attempts to start the daemon." is automatically inserted into the line with the word "#DEBHELPER#" by debhelper. http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/nsd/trusty-proposed/view/head:/debian/nsd.postinst#L4 (For the details, see "Automatic generation of debian install scripts" section of `man debhelper`)
I reordered this step to the last, in order to ensure nsd starts after setup is done. unbound package uses the right order as below: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/trusty/unbound/trusty/view/head:/debian/unbound.postinst ** Patch added: "Start nsd after setup is done" https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886/+attachment/4269535/+files/fix-postinst-order.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1311886 Title: nsd fails to install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs