debhelper: Standard way to restart services on library upgrade.

2006-03-05 Thread Kurt Roeckx
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: debhelper: Standard way to restart services on library upgrade.

2006-03-05 Thread Joey Hess
Kurt Roeckx wrote:
 Package: debhelper
 Severity: wishlist

If you want to file a bug report against debhelper, it might help to
send it to the BTS..

 libc6 doesn't use debconf, libssl0.9.8 does, but probably not as
 it should.  But maybe libc6 can't used debconf?

libc6 can use debconf as long as it has fallback code for when debconf
isn't there.

-- 
see shy jo


signature.asc
Description: Digital signature