Hello Sean On 2005-03-02 sean finney wrote: > hi christian, > > On Wed, Mar 02, 2005 at 09:38:39AM +0100, Christian Hammers wrote: > > Sorry for all the trouble, it just came to my mind that in an act of > > total confusion I must have renamed the flag file from > > dpkg__mysql_was_running to dpkg__mysql_should_be_started and thus > > upgrading from too old versions did not work. > > I will check today if using the current mechanism is workable with Woody > > and Sarge at all or if I rather step back to always start the server in > > postinst as long as the user did not disable it in the current runlevel. > > really, i think the latter is a better choice anyway. that is, whether > or not we restart the mysql server *should* be based upon what the > system/runlevel policy is, not whether or not it's running.
Yes, when introducing that feature I probably was under the assumption that the new prerm script gets called when upgrading a package but as this is not the case and I have to take care which version the user has had installed, I'm quite convinced now, too :) New package coming this evening... bye, -christian-
pgpEyDMiNpuAZ.pgp
Description: PGP signature