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. -- /etc/init.d/opencryptoki stop does not stop pkcsslotd https://bugs.launchpad.net/bugs/290874 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs