Your message dated Sat, 04 Jul 2026 14:42:58 +0000
with message-id <[email protected]>
and subject line Bug#1011533: fixed in chrony 4.6.1-3+deb13u2
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.6.1-3+deb13u2
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: Wed, 24 Jun 2026 20:05:59 +0200
Source: chrony
Architecture: source
Version: 4.6.1-3+deb13u2
Distribution: trixie
Urgency: medium
Maintainer: Vincent Blut <[email protected]>
Changed-By: Vincent Blut <[email protected]>
Closes: 1011533
Changes:
 chrony (4.6.1-3+deb13u2) trixie; 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:
 dc3dd7aeb3742667513c0bb70b414df1e41898a5 2898 chrony_4.6.1-3+deb13u2.dsc
 37b81456263fb4eba16926116a8387a72103bfb4 44356 
chrony_4.6.1-3+deb13u2.debian.tar.xz
 871f53b90ef52875fb8d7586c3f7e1d16b09d669 1382552 
chrony_4.6.1-3+deb13u2.git.tar.xz
 3d9e63e4ef1c9bc84d974dd2a0984f59c255fd94 17532 
chrony_4.6.1-3+deb13u2_source.buildinfo
Checksums-Sha256:
 0336767d54cc761119ba2ada1a5c5e953b4286444aefaf6e6eea13d01a9ae78f 2898 
chrony_4.6.1-3+deb13u2.dsc
 a906229f205efdd69032485d8527843f0bd3018351b3f58b133dee56d0c47af9 44356 
chrony_4.6.1-3+deb13u2.debian.tar.xz
 55309dff267e0c278acd98386d102b3bc2c9bd87af325fe90ed7154f078acc15 1382552 
chrony_4.6.1-3+deb13u2.git.tar.xz
 4a4a7f063b582f9104e850ca47065492eb3b2c0a4bc5074a3ca833f0c4756087 17532 
chrony_4.6.1-3+deb13u2_source.buildinfo
Files:
 b759d41fd84da64f10ef05bc513b9fc9 2898 net optional chrony_4.6.1-3+deb13u2.dsc
 5e3ddfd53d1f617ec703be8f5f9c2bde 44356 net optional 
chrony_4.6.1-3+deb13u2.debian.tar.xz
 91c992ee152a1c8d39ee6b4d54ded5f6 1382552 net optional 
chrony_4.6.1-3+deb13u2.git.tar.xz
 9bae88555fb0a7bba7a23660686cc379 17532 net optional 
chrony_4.6.1-3+deb13u2_source.buildinfo
Git-Tag-Info: tag=0d32b72cd99ecfc5f9584806f99e3c70e2a45891 
fp=1b939355ac4c35cadfbd739c06a328e00c6ace15
Git-Tag-Tagger: Paul Gevers <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpIsnEACgkQYG0ITkaD
wHmiNg//f+oTur8hHy0lcjXisgazY813RNqTl6wUcCvQRdEl/nqWebZhQMRYfM5P
Xg3aD/QDq8grh8RL/In84A+DPpRbYyP+Ge8gpdQdcZUybZXqYgoUVlUoo7KGu1zF
am1pI1wi6Hy49WwRWCfUdLl9yLg8HBVZEuSiij8ZYywb8ltddqTYGcSK5141Hpnz
RCWttv8aAl15UrBPMH5ulbsjzsWCjNOKGWtWMxHgOccBCx2Z+qYga4Krvy7IkxeI
tMK/STcvS/osTdMHIdUJjywuJFjrxUqLnoXurfs73lIzS5lkQaJP4ibT92NOADtf
D/6b2ivLDC3kbzSURSmEggNl0S0FiIx7m8dcV+P14tfySN3neipEwrCLSZS6bChs
mfZv9tkUJdahhGcdmhlHsA1aJXEDlM7XWS5/zCIR4vpiQI/aOBefeUqUGHp8xHhH
hUbxApj30GyXyR5zw/EOkKDzgXzWuPAOHcjway/iVWzTXit0ueED8fF4cDpn5t1l
q+iiGqNM/+q2mOxk5M1/VzP4fB03OebTHui/Une1f1+Rc870p9lE5Zoy2GTNybvb
SwLYRtv/SNN2+gwTc1jkRkzM8ZpRsc7bqp6sCLV/MFJ6xT2FgRhsCPA7Gw4DZ5lf
4QyBrUEUgkVtW/Nmm8Ca6+OCwaoSUEu+ThwLRKT7R0xl0X/gtYI=
=+MhZ
-----END PGP SIGNATURE-----

Attachment: pgpxo7qTa08gT.pgp
Description: PGP signature


--- End Message ---

Reply via email to