Shawn is this an API bug? When the api throws an exception such as ImageLockedError I would expect any subsequent call to api.can_be_canceled to return False.

We have logic on exit to kick off an api.cancel() in a separate thread if api.can_be_canceled returns true. The thread never returns after an ImageLockedError has been thrown previously and so PM doesn't exit cleanly. We worked around it in the installer but I missed this in PM itself.

JR
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to