FS#59162 - [unbound] Systemd can't stop unbound.service gracefully
Attached to Project:
Community Packages
Opened by Géza Búza (medve540) - Wednesday, 27 June 2018, 19:03 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 28 July 2018, 00:13 GMT
Opened by Géza Búza (medve540) - Wednesday, 27 June 2018, 19:03 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 28 July 2018, 00:13 GMT
|
Details
Description:
At shutdown the following message appears on the screen: "A stop job is running for unbound.service" This blocks the shutdown process as it waits for 1 minutes 30 seconds for unbound to stop. Workaround: Open the file /usr/lib/systemd/system/unbound.service for editing and remove the line containing "PIDFile=/run/unbound.pid". After that run "sudo systemctl daemon-reload". Additional info: * package version: 1.7.3-1 * Systemd version: 238.133-4 * config see attached file * see similar issue: https://bugs.squid-cache.org/show_bug.cgi?id=3826 Steps to reproduce: 1. sudo pacman -S unbound 2. sudo systemctl start unbound 3. sudo systemctl stop unbound |
This task depends upon
Closed by Gaetan Bisson (vesath)
Saturday, 28 July 2018, 00:13 GMT
Reason for closing: Fixed
Additional comments about closing: unbound-1.7.3-3 in [community-staging]
Saturday, 28 July 2018, 00:13 GMT
Reason for closing: Fixed
Additional comments about closing: unbound-1.7.3-3 in [community-staging]
Upstream also provides their own service and socket in contrib/, which utilizes Type=notify
Eli: Thanks, I'll switch to upstream's service file. Linking against systemd is fine by me; as our official init it's expected to be already installed on every Arch system anyhow.
So instead of patching it we'll keep our simpler service file for now.