Debian Bug report logs -
#892914
reload hangs with systemd
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian DNS Packaging <pkg-dns-devel@lists.alioth.debian.org>:
Bug#892914; Package src:unbound.
(Wed, 14 Mar 2018 12:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vincent Bernat <bernat@debian.org>:
New Bug report received and forwarded. Copy sent to Debian DNS Packaging <pkg-dns-devel@lists.alioth.debian.org>.
(Wed, 14 Mar 2018 12:51:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: unbound
Version: 1.6.7-1
Severity: normal
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hey!
The systemd integration is a bit buggy with reload. On reload, unbound
will send STOPPING=1 then READY=1. After STOPPING=1 is sent, the
unbound-control process terminates. When receiving SIGCHLD, systemd
looks at the situation and transforms the "reload" state into a
"stop-sigterm" because of the STOPPING=1 notification previously sent:
Mar 14 13:07:54 infra-msg-pp002 systemd[1]: unbound.service: Child 13883 belongs to unbound.service
Mar 14 13:07:54 infra-msg-pp002 systemd[1]: unbound.service: Control process exited, code=exited status=0
Mar 14 13:07:54 infra-msg-pp002 systemd[1]: unbound.service: Got final SIGCHLD for state reload.
Mar 14 13:07:54 infra-msg-pp002 systemd[1]: unbound.service: Changed reload -> stop-sigterm
In this state, systemd waits for unbound to terminate. After a few
minutes, it will send SIGKILL to forcibly kill unbound. Attached is a
patch fixing this situation. I would be grateful if you could also
forward it upstream.
Thanks!
- -- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental-debug'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCAAwFiEErvI0h2bzccaJpzYAlaQv6DU1JfkFAlqpGdwSHGJlcm5hdEBk
ZWJpYW4ub3JnAAoJEJWkL+g1NSX5IpkP/3uEPxdnCunRWFTHq9GVY459vseoQZ8d
Yk/tvlhk0l1N8IxYgo/bMsWN3ri4MNNCBPHmfSqN+DS3wOVo1dzhyG4g7hv7DL7P
2TwphKFZGvtefRWKHoYL13aamEfvCiiOm/OARwavJL1ZTh7CcnIOIHYHmLy0cz91
SeE3PH0dGRMgaVWE5MqzoO53H0RwmDerMdekn4pzrPusytiThA1gPO/YclVl4kdP
CGnJvee/i2CnTpcp+RTBNaNFkg5MpIIHj0vrJP/+JPE4/hPyzGYH7na7YCB9b137
4pQKAwehXbWR2Q9YPqS/C1EZRO+mvGd2bgdfwymsgj/Dm6MlVSPv3eNWxCtPz3s6
7f39j/fyW4TqMQ4ohRJB2tliRDqFI03e6IVnpRHJy76887Uw+2JNXble+yn+lBFi
0+sxozRZvna8WhowbflOhA7llSBzCOp/dy5b6QBmexgu1kSzs/QbzxAxYJ7o8Zds
7Y/vPcFDUjy5noDI15icZkdjvDZ7OtenLnWnQoHshUj6XR/PvUwBqbQrS3UlcxMr
G/LdI11FWnehLLHLcPzd9Dy2P4hCScrkBNHPsQaXuvRP58+39PKM55nSkobkeXAx
pjyG7QK0WwGttmJaqE/5S/tb60ea87i94VxK04Mbs0J5Cv/J2fRTIpTHy34Pvtua
HnGhOx04fOCi
=zuLx
-----END PGP SIGNATURE-----
[fix-systemd-integration.patch (text/plain, attachment)]
Reply sent
to Robert Edmonds <edmonds@debian.org>:
You have taken responsibility.
(Wed, 20 Jun 2018 22:09:11 GMT) (full text, mbox, link).
Notification sent
to Vincent Bernat <bernat@debian.org>:
Bug acknowledged by developer.
(Wed, 20 Jun 2018 22:09:11 GMT) (full text, mbox, link).
Message #12 received at 892914-close@bugs.debian.org (full text, mbox, reply):
Source: unbound
Source-Version: 1.7.2-1
We believe that the bug you reported is fixed in the latest version of
unbound, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 892914@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Robert Edmonds <edmonds@debian.org> (supplier of updated unbound package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 20 Jun 2018 17:30:34 -0400
Source: unbound
Binary: libunbound-dev libunbound2 python-unbound python3-unbound unbound unbound-anchor unbound-host
Architecture: source
Version: 1.7.2-1
Distribution: unstable
Urgency: medium
Maintainer: unbound packagers <unbound@packages.debian.org>
Changed-By: Robert Edmonds <edmonds@debian.org>
Description:
libunbound-dev - static library, header files, and docs for libunbound
libunbound2 - library implementing DNS resolution and validation
python-unbound - library implementing DNS resolution and validation (Python bindin
python3-unbound - library implementing DNS resolution and validation (Python3 bindi
unbound - validating, recursive, caching DNS resolver
unbound-anchor - utility to securely fetch the root DNS trust anchor
unbound-host - reimplementation of the 'host' command
Closes: 892914 899758
Changes:
unbound (1.7.2-1) unstable; urgency=medium
.
[ Robert Edmonds ]
* New upstream version 1.7.2
* debian/control: Update Maintainer field (Closes: #899758)
.
[ Vincent Bernat ]
* daemon/daemon.c: Fix reload hangs with systemd (Closes: #892914)
Checksums-Sha1:
6922f3a854d133f2ceca95e09fbdf85b1fe92d96 3026 unbound_1.7.2-1.dsc
09030d0812458ebe84efae7c837f01d92b16adef 5570654 unbound_1.7.2.orig.tar.gz
3d92bd5f2f75270760842ff34c0241f126be9d10 17868 unbound_1.7.2-1.debian.tar.xz
1ff4a935366c6f607a9ab5dc01a33231332c3d3f 8542 unbound_1.7.2-1_source.buildinfo
Checksums-Sha256:
7db282578ef26a613069b03d413789feaa38c5ca6a88dccedd4e6406e1a005a0 3026 unbound_1.7.2-1.dsc
a85fc7bb34711992cf128b2012638ebb8dc1fe15818baa381f6489240845eaa0 5570654 unbound_1.7.2.orig.tar.gz
ac95afc2057ca98d5a3e96e0716d1692afd9f49dca7d647b938b145738989af0 17868 unbound_1.7.2-1.debian.tar.xz
6247f439f3066e026afd92b494f2e23263f872e9e7f0805d1234c92940bfe867 8542 unbound_1.7.2-1_source.buildinfo
Files:
bd7762e6cf4ca25ad81fcceafe2ff937 3026 net optional unbound_1.7.2-1.dsc
1f4fd7e5032a9c5658cbde2c83f5f3be 5570654 net optional unbound_1.7.2.orig.tar.gz
7abcbdd8c1f31806e2009519840fdb70 17868 net optional unbound_1.7.2-1.debian.tar.xz
509348e1c53af376efa2f2d3243587b3 8542 net optional unbound_1.7.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE3z2W7rOCeCDzAmZcAYF6sKr2za4FAlsqzGYACgkQAYF6sKr2
za5p4RAAtFh2gvply0aKdcCcobb7vsPkNO1HHNQveX6EurJJM2Dz/ITR2dfGtYp0
KgkocWYbkd1gtp/xSjNwtmxpIpUyCGhuhPU5YmYlYNdSwJd3J0m7gTZWAt3yNo4e
jgW6OE2QqNpczd6RRQ/m6l5p5hXfn/BcYag/flx/gKweNek6aljBT4LkVw0xOyZa
MKBZbLP3gVTAfquS65f2TxeCyINgh2GbnwjPHcdufRUFiFQ/ZjdDvE3jPFURoCyF
jJA8T3Cdp2VDuHcLvKUh1TI3wyAp4LPS4prYsU4wE29MhLHgqa9uD6xiH3BHEaDb
KGd3novJWq3P1Mxz1XvXk0nXMflZ6trfoCPdoZYuJwM8mvYtwsKrvbdjKbuve6kn
bdCUKZnXRY6WYC5vnvBXEG2rHNRqDHerhQG64cOOBy680//0YULoD8OwhfscCC8m
jhJ/TWpZjGfxtthSKdW7vpKGzISkcIPwgwlxz6BAsIgD7ZqOjtf2JMdf1QdDCtDc
bUO+4hLBznnW7nwohibpQgZbP4YGl7WHMpxsteF0ran8PSlaw9vED0vMiJiHoRqZ
W65QAyLHSrtv7CD1UsRne6d8OZ9tuQwINZKmUMECpkreQZNhbkQSEiemUC7bZp0V
9UbbO8gEYAro9bxqIw2vGU424/uvgjFLNn8XzNXuupx4AHAKK6o=
=3SGA
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 25 Jul 2018 07:25:13 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Sep 19 15:43:56 2022;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.