Re: how can I get dpkg not to stop bpalogin during an upgrade?
* Anibal Monsalve Salazar [Tue, 13 Sep 2005 20:21:11 +1000]:
> I've been trying to fix #316466 without much success.
> I've already looked into the openssh package and implemented
> something similar to handling of ssh/use_old_init_script. However,
> I can get it to work after many iterations.
> How can I get dpkg not to stop bpalogin during an upgrade?
Well, it's not dpkg that stops it, but your maintainer scripts.
Particularly, your prerm. The chunk added by dh_installinit.
The thing to do is not to have bpalogin stopped during the unpacking
step -- it'll will most likely work, but you should double check (IOW,
check the daemon can continue to run without trouble if the files in
the package change).
I recommend that you call dh_installinit with --noscripts, and fix the
scripts by hand. We can further discuss in this list what this means
if you have doubts.
As for fixing it for sarge, if the SRM allows it, the fix would be to
start the service in a newly introduced preinst, afaict (with a proper
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Man is certainly stark mad; he cannot make a flea, yet he makes gods by the
-- Michel de Montaigne