Control: tags -1 wontfix On Sun, 5 Mar 2006 23:02:07 +0100 Kurt Roeckx <k...@roeckx.be> wrote: > 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 > > >
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