Bug#1066189: Bug#1121708: #1121708 various dictd dictionaries: installing or removing several dictionaries at once triggers systemd restart rate limit

Didier 'OdyX' Raboud odyx at debian.org
Mon Dec 8 12:30:27 GMT 2025


Le dimanche, 7 décembre 2025, 14.13:03 h heure normale d’Europe centrale 
Sebastian Humenda a écrit :
> Hi
> 
> Didier 'OdyX' Raboud schrieb am 06.12.2025, 14:30 +0100:
> >Le samedi, 6 décembre 2025, 13.35:27 h heure normale d’Europe centrale
> >
> >Sebastian Humenda a écrit :
> >> Didier 'OdyX' Raboud schrieb am 05.12.2025,  9:52 +0100:
> >> >I have fixed these two bugs in the incoming NMU 1.13.1+dfsg-1.2 on
> >> >dictd,
> >> >via allowing burst restarts of the dictd service.
> >> 
> >> What was the necessity to NMU these? Could you open a PR on Salsa?
> >
> >The original 1.13.1+dfsk-1.1 NMU happened to fix #1039171 which was serious
> >since October 15. I uploaded it to DELAYED/2 after a series of patches were
> >proposed to me in private by Kevin. Then I filed a merge-request here:
> >
> >https://salsa.debian.org/debian/dictd/-/merge_requests/4
> 
> […]
> 
> Thanks for all your work and for referencing it here. Great to see that the
> problem is being solved!
> 
> From the FreeDict side, there's likely little I could do about it, right?

Well. Looking at how dictd could implement dpkg-triggers, and proposing a 
patch to that effect in #1121960 would be great.

Without looking deeply into this (or testing whatsoever), it looks like it's a 
matter of dictd adding `interest-noawait /usr/share/dictd/` as trigger, and 
add a "triggered" case in dictd postinst that restarts dictd. With this, all 
packages installing files in /usr/share/dictd will trigger a restart of dictd 
(once only per package installation).

Best, OdyX



More information about the debian-science-maintainers mailing list