[Pkg-openssl-devel] debhelper: Standard way to restart services on library upgrade.

Kurt Roeckx kurt at roeckx.be
Sun Mar 5 22:02:07 UTC 2006


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




More information about the Pkg-openssl-devel mailing list