updatemanager "hangs"

I checked for updates on 08/12/2005 @ 08:56 CDT. 4 patches were identified:

* 119593-01

* 118822-11

* 118870-01

* 119012-02

When I use updatemanager locally to :Install 4 Items Now", the dialog window says "Installting", but the progress indicator NEVER shows any progress. Cancel does NOT work, rebooting the system and trying again does NOT work, and installing single patches does NOT work.

The ptree and truss show the following:

[rpletan@almond ~ 503] -> ptree 10148

9747 gnome-terminal --sm-config-prefix /gnome-terminal-OdaW8s/ --sm-client-id 11ac19

9765 bash

10148 /usr/bin/sh /usr/bin/updatemanager

10154 /usr/bin/java -client -jar /usr/lib/patch/swupdate.jar

10159 sh -c /usr/lib/patch/csm

10160 /usr/lib/patch/csm

The truss output is as follows:

[root@almond ~ 501] -> truss -fal -p 10160

10160/1:psargs: /usr/lib/patch/csm

10160/1:pollsys(0xFFBFF274, 4, 0x00000000, 0x00000000) (sleeping...)

The only change to the system prior to running updatemanager today (it has run successfully in the past since I run it every day or two) is that I created a zone. However I am NOT updating the filbert-zone but rather the global zone, i.e.

[root@almond ~ 503] -> zoneadm list -cv

ID NAME STATUS PATH

0 globalrunning/

1 filbert-zonerunning/filbert-zone

Any ideas would be appreciated!

Thanks,

Ray :)

[1475 byte] By [rpletan] at [2007-11-26 6:03:39]
# 1

Known problem. Update manager does not work on machines with zones.

You can run smpatch download to download all the patches.

The look in the report file to see what to install.

Its trivial to write a script to process the report and install all the patches.

I can post it here if there interest.

robertcohen at 2007-7-6 13:28:37 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 2
Robert,I would appreciate it if you would post the script.Thanks,Ray :)
rpletan at 2007-7-6 13:28:37 > top of Java-index,Administration Tools,Sun Update Connection-System...
# 3

Heres something I threw together.

It assumes you've already done a "smpatch download", but obviously its trivial to add to the script if you want.

And yeah, I know, I'm the only person in the world who writes csh scipts, so sue me :-).

#!/bin/tcsh

cd /var/sadm/spool

grep ')' `/bin/ls -tr patchpro_dnld* | tail -1` | awk '{print $2}' >/tmp/do_patch.$$

foreach f (`cat /tmp/do_patch.$$`)

echo $f

jar -xf $f.jar

chmod a+x $f/p*

patchadd $f

end

rm -f /tmp/do_patch.$$

robertcohen at 2007-7-6 13:28:37 > top of Java-index,Administration Tools,Sun Update Connection-System...