Your message dated Sat, 04 Jul 2026 10:32:24 +0000
with message-id <[email protected]>
and subject line Bug#1011533: fixed in chrony 4.3-2+deb12u3
has caused the Debian Bug report #1011533,
regarding "chronyc onoffline" failure causes early dhclient exit
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1011533: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011533
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: chrony
Version: 4.3.2+deb12u1
Severity: important

In investigating an issue in which dhclient got killed prematurely
shortly after boot, resulting in the loss of network connectivity one
lease time later (this motivates the severity), I found that
/etc/network/if-up.d/chrony
doesn't guard against the possibility that "chronyc onoffline" might
return non-zero.

This is indeed what happened in at least one instance, as shown by the
following process accounting records:

000resolvconf   |v3|     0.00|     0.00|     0.00|     0|     0|  2576.00|     0
.00|    1736|    1735|     |       0|__      |Fri Jan  3 14:33:36 2025
chronyc         |v3|     0.00|     0.00|     0.00|     0|     0|  4336.00|     0
.00|    1743|    1742|S    |       1|__      |Fri Jan  3 14:33:36 2025
chrony          |v3|     0.00|     0.00|     0.00|     0|     0|  2576.00|     0
.00|    1742|    1735|S    |       1|__      |Fri Jan  3 14:33:36 2025
run-parts       |v3|     0.00|     0.00|     0.00|     0|     0|  2468.00|     0
.00|    1735|    1733|     |       1|__      |Fri Jan  3 14:33:36 2025
sh              |v3|     0.00|     0.00|     0.00|     0|     0|  2576.00|     0
.00|    1733|    1553|     |       1|__      |Fri Jan  3 14:33:36 2025
ifup            |v3|     0.00|     0.00|    25.00|     0|     0|  2528.00|     0
.00|    1553|    1549|     |       1|__      |Fri Jan  3 14:33:36 2025
sh              |v3|     0.00|     0.00|    25.00|     0|     0|  2576.00|     0
.00|    1549|       1|S    |       1|__      |Fri Jan  3 14:33:36 2025
dhclient        |v3|     0.00|     0.00|    24.00|     0|     0|  5932.00|     0
.00|    1576|       1|SF  X|       0|__      |Fri Jan  3 14:33:36 2025

On this machine, /etc/network/if-up.d/ contains 000resolvconf, chrony,
ethtool, nslcd, postfix, resolved. Notice how run-parts exits after
chrony. Also notice the exit code (1) of chronyc.

I suspect this is due to /run/chrony/chronyd.pid being created before
chronyd is actually ready to accept commands.

I reported a similar bug in postfix a few years ago: #959684.

Bug #772720 may also have been due to this kind of problem (although it's
hard to be certain).

--- End Message ---
--- Begin Message ---
Source: chrony
Source-Version: 4.3-2+deb12u3
Done: Vincent Blut <[email protected]>

We believe that the bug you reported is fixed in the latest version of
chrony, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Blut <[email protected]> (supplier of updated chrony 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 02 Jul 2026 15:56:53 +0200
Source: chrony
Architecture: source
Version: 4.3-2+deb12u3
Distribution: bookworm
Urgency: medium
Maintainer: Vincent Blut <[email protected]>
Changed-By: Vincent Blut <[email protected]>
Closes: 1011533
Changes:
 chrony (4.3-2+deb12u3) bookworm; urgency=medium
 .
   * debian/chrony.if-{post-down,up}:
     - Adjust the if-up and if-down hook scripts so that they always exit
     successfully. (Closes: #1011533)
Checksums-Sha1:
 0684242c62f0fc788a7c988b87a62e90a765e871 2873 chrony_4.3-2+deb12u3.dsc
 45eca757b74064e473b7c5236cc413074690081e 41876 
chrony_4.3-2+deb12u3.debian.tar.xz
 3de2025133f117fac14a6684102e0a929a3b69fb 1220684 
chrony_4.3-2+deb12u3.git.tar.xz
 59fbdf5a1728436fedb9334c3d911748ae1f083a 17524 
chrony_4.3-2+deb12u3_source.buildinfo
Checksums-Sha256:
 cdc58b9fcb11d9799dd7c5936c1a1666ff00d60e6cfd2b80687b49e589d7e2b5 2873 
chrony_4.3-2+deb12u3.dsc
 b2249988f534e724e89c9c3f9785d40eb083ee712780f89cbcb1d4b9fba29882 41876 
chrony_4.3-2+deb12u3.debian.tar.xz
 1749ffa3456d364951998a2ef5095981f1ff6f7789482b647b5a6e76233eff3f 1220684 
chrony_4.3-2+deb12u3.git.tar.xz
 53bc6cfda296af84c4e64e85a55bffac9ee66eed7492b1629678e2f903c37c3c 17524 
chrony_4.3-2+deb12u3_source.buildinfo
Files:
 3dab963a37de76d447773170298253cf 2873 net optional chrony_4.3-2+deb12u3.dsc
 0cfcb9b183097e50187cb655cf0314b6 41876 net optional 
chrony_4.3-2+deb12u3.debian.tar.xz
 91570083241de0fecabe8a15cffb4fae 1220684 net optional 
chrony_4.3-2+deb12u3.git.tar.xz
 4db8346836791b6de2276ebefc0d01e5 17524 net optional 
chrony_4.3-2+deb12u3_source.buildinfo
Git-Tag-Info: tag=76c8ae89704bb3c8d62debb4e8ead47c0dcb3111 
fp=1b939355ac4c35cadfbd739c06a328e00c6ace15
Git-Tag-Tagger: Paul Gevers <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpIshQACgkQYG0ITkaD
wHmjpQ//ZF041QrmACcZ1E6LI9nKnWTl7xYCV1LlQd2ZIfl3z3EEA2vet/Qt1LVL
1CzttfPmz5X1tRqDHwEkv8kQLkSfICaQIffCegJp2UCzqITBSDj2b8iLKre9L0L6
NNhvSeWeVT9xL1RPJJMWiskqbySRrUrFupnTZwHLb0YBP+0tGjjESl/L4VYsZd0V
j9G19mJa6cI9ccD//DdYluCzASHno+HETzpDvUpIEo/gKYlttsIVGUwbp0l/+VFO
ssq6jHUaNU4TjtMMZkYd4XQkbnvYmUh3H0Kkfg4ewEIIoLT14AtpzhWK9GHnqn8h
r0JP2xp5MBTSvJyUZxfkwWGar7FU6S9dwEbbxgtsMDXOm6+sJPtdHBoRA65i33wP
NFcAAg4hJt6S1e9vfLtxqhDEaYOKxsxeydtPsnccgp8qatI4effxT9pblF94dZp4
Bfehu4X+abU05tfH0GS4rvjcfBXpoAbgbz2J2OTR+xqJK2PaUekvyrZOMP/ykUd1
yw7mp7Y8gavm1lDsoWbQUP8RZ55+uxzuTHqE0zjBlJ8LB4W3YBEosAwLAWVbPk83
SreqtvMGbgfpr0H2nMiMpPnKWCz/SNjA8Y/I5obOnNGSb5YKKK1UXFg8sfiRguVO
Sxm5ZDYWpGJ4PkVrEvckexcrwDRYsV7I7/6HxgExjYWQh4Tglhg=
=eacS
-----END PGP SIGNATURE-----

Attachment: pgphbfvUvAnJD.pgp
Description: PGP signature


--- End Message ---

Reply via email to