** Description changed: + [Impact] + + * Due to a bug in the upstream code on a reload command all worker + processes will exit and the reload will fail. After a while a kill- + detection kicks and restarts things, but the reload was intended to not + shred the main process after all. + + * Backport upstream fix to Bionic to unbreak reloading the service + + [Test Case] + + * Install unbound + $ apt get install unbound + * Reload it + $ systemctl reload unbound + Job for unbound.service failed because a timeout was exceeded. + See "systemctl status unbound.service" and "journalctl -xe" for + details. + * You might also see the timeout detection kick in and restarting the service now. + systemd[1]: unbound.service: State 'stop-sigterm' timed out. Killing. + systemd[1]: unbound.service: Killing process 13713 (unbound) with signal SIGKILL. + systemd[1]: unbound.service: Main process exited, code=killed, status=9/KILL + systemd[1]: unbound.service: Failed with result 'timeout'. + systemd[1]: Reload failed for Unbound DNS server. + + * This takes a while and can break the service, to reset for a new test + you might need to start the service again. + + [Regression Potential] + + * The code changed is rather small, which is good for a review. I'd think + if there is a regression it might be around unexpected conditions + leading to not all workers shutting down in cases one wants to shut + them down. I wasn't able to trigger such in my tests, but that is what + would come to my mind. + + [Other Info] + + * Test PPA at https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3382 + + -- + + Unbound 1.6.7-1ubuntu2.1 on 18.04 (bionic): $ sudo systemctl reload unbound Job for unbound.service failed because a timeout was exceeded. See "systemctl status unbound.service" and "journalctl -xe" for details. Looks like https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892914 (Debian) and https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4108 (upstream) to me, with patch available.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1788622 Title: systemctl reload unbound command times out To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unbound/+bug/1788622/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
