Greetings,
I just needed to verify that there is logic in place in the distribution
constructor / installer / ai, etc. that ensures that multiple pkg(1)
clients are *not* executed at the same time.
I ask because I was recently shown a pkg history log that indicates that
two uninstall operations were executed in an overlapping time period
during the install process:
Operation: uninstall
Outcome: Succeeded
Client: pkg
Version: 7b2e3230fde9
User: jack (65432)
Start Time: 2009-10-04T10:54:49
End Time: 2009-10-04T11:04:40
Command: /usr/bin/pkg -R /a uninstall -q --no-index SUNWslim-utils
Start State:
UNEVALUATED:
-pkg://opensolaris.org/[email protected],5.11-0.124:20090925T220715Z
End State:
pkg://opensolaris.org/[email protected],5.11-0.124:20090925T220715Z
-> None
Operation: uninstall
Outcome: Succeeded
Client: pkg
Version: 7b2e3230fde9
User: jack (65432)
Start Time: 2009-10-04T11:04:43
End Time: 2009-10-04T11:14:21
Command: /usr/bin/pkg -R /a uninstall -q --no-index SUNWgui-install
Start State:
UNEVALUATED:
-pkg://opensolaris.org/[email protected],5.11-0.124:20090925T211517Z
End State:
pkg://opensolaris.org/[email protected],5.11-0.124:20090925T211517Z
-> None
If not, can someone please ensure that these clients never execute more
than one pkg(1) command at a time?
We will be putting locking logic into place soon that will prevent this,
so that would break these programs anyway, but right now, it can cause
image problems.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss