Comment 7 for bug 290874

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

I see the problem. When I did the patch for Intrepid I didn't think I had to handle upgrades from older broken versions, as the previous Intrepid version of opencryptoki wasn't even installable. What I didn't realise is that the Hardy version suffers the same bug, and people are actually running this version and may upgrade from Hardy with it. So, Hardy needs a similar patch to handle the upgrade from Hardy -> Intrepid.

Currently, then old prerm script will always fail on Hardy -> Intrepid upgrade. What I propose then is implementing the same patch for Hardy SRU, but also adding a "failed-upgrade" action in the new prerm script, which will terminate the pkcsslotd daemon independently of the init script when upgrading from the older version. This should then allow a successful Hardy -> Intrepid upgrade.

I don't mind working on that as long as nobody objects.