Your message dated Sat, 7 Feb 2026 09:35:55 +0100
with message-id <[email protected]>
and subject line Re: debhelper: Standard way to restart services on library
upgrade.
has caused the Debian Bug report #355482,
regarding debhelper: Standard way to restart services on library upgrade.
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.)
--
355482: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355482
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Severity: wishlist
Hi,
Some libraries want to restart a list of services when the
library gets upgraded. I currently know of only 2 such libraries
that have code for it: libc6 and libssl0.9.8.
They both have a simular postinst script, but they also have
differences.
For instance, libc6 has a workaround for exim4 that libssl0.9.8
is missing, and probably should also have. And that is my
biggest problem.
libc6 doesn't use debconf, libssl0.9.8 does, but probably not as
it should. But maybe libc6 can't used debconf?
There are other problems with it like neither of them is using
invoke-rc.d, as they probably should be doing.
I'm looking for a more standard way to restart services,
so I don't have worry about all those special cases. I was
wondering if a debhelper script could help with part of this.
Kurt
--- End Message ---
--- Begin Message ---
On Sat, 4 Sep 2021 16:27:16 +0200 Niels Thykier <[email protected]> wrote:
Control: tags -1 wontfix
[...]
Hi,
A script of that complexity would have to rely on a package providing a
script to the do the "heavy lifting". Notably, fixing bugs in the
debhelper provided snippets requires rebuilding of all affected
packages. This also why debhelper's autoscripts are generally as short
and simple as entirely possible.
If a package were to provide this feature, providing glue scripts in
debhelper is feasible. Though if we are going to add that glue code in
debhelper, then we should have a number of packages where this make
sense - I feel that 2 is a bit too low for that.
For now, I am tagging this wontfix. However, I am open to reconsidering
when there is a packaging a "restart service" script that we rely on and
if we can find more consumers of this feature.
Thanks,
~Niels
In addition to my remark above, I also recently remembered
`needrestart`, which is a package that solves a similar problem from a
different angle. As far as I understand the original problem statement,
`needrestart` solves this problem.
If `debhelper` was to do something here, it would to provide some
`needrestart` glue (if it needs any, but I do not see anything obvious
from the upstream README).
Best regards,
Niels
OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---