Comment 2 for bug 1087228

Revision history for this message
Thomas Hood (jdthood) wrote : Re: /etc/network/if-down.d/bind9 doesn't work; should be /etc/network/if-post-down.d/bind9

This report has been downgraded to "wishlist opinion". Very well, Yolanda, but please accompany that change with some sort of explanation.

Bind9's ifdown hook script does "rndc reconfig" which causes named to notice changes that have been made. If the script is run *before* taking down the interface then it is run when no changes have yet been made, so it has no effect. Immediately after this, ifdown takes down the interface, but nothing causes named to notice this change. This behavior was noticed in the real world and can easily be reproduced.

Thus in my opinion this is an obvious bug and I wish it to be fixed ASAP.