Uoti Urpala <[email protected]> writes: > Simplest fix would be to stop sshd in preinst, but then it would of > course be nice to have a way to tell dpkg to not wait arbitrarily long > after that before running postinst...
Yes, that's exactly why the openssh-server package doesn't do this. It's extremely important that it not do this, since frequently ssh is the only way to access a system, and if dpkg dies halfway through the upgrade, there is no guarantee that the postinst scripts will ever be run. sshd *has* to stay running throughout an entire upgrade process with as little disruption as possible. This is why openssh-server was already using a non-standard handling method for its init script actions. -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

