su 6.9.2026 klo 12.08 Thomas Glanzmann ([email protected]) kirjoitti: > > On Sun, 6 Sep 2026 11:37:40 +0300 Martin-Éric Racine wrote: > > This being said, we indeed don't currently restart after an upgrade. > > Would the following change do what you need? > > Yes. I built your diff and tested it; it fixes the bug.
Thanks. > The dhcpcd@ line in your diff is a no-op: template units cannot be started > or enabled directly, and dh_installsystemd emits nothing for dhcpcd@ in > postinst, prerm or postrm with either flag set. So a running > dhcpcd@<iface>.service instance still keeps the old binary across an > upgrade. Not my case, and probably rare, but it is not covered by either > variant. Good to know. > I also reported the other half upstream -- that the client blocks in read(2) > forever rather than timing out -- with a patch: > > https://github.com/NetworkConfiguration/dhcpcd/issues/723 > https://github.com/NetworkConfiguration/dhcpcd/pull/724 Noted. Let's see how Roy reacts to this one. Martin-Éric

