Patching Solaris system with zones off NFS server doesn't appear to work

Folks,

I was noticing that all the patches I tried to apply off our NFS patch server were returning an error code 1 when I tried to apply them to my system running zones.

Curiously, checking the global zone, the patches all showed as applied.

Looking at the patch logs I see:

-

Booting non-global zone zone1 for patching...

Adding patches...

Invalid patch directory or URL - /dev/.SUNW_patches_1710106320-1336185-00000851c5997ed1

Usage: patchadd [-d] [-u] [-n] [-B backout_dir] [-k keystore] [-P passwd]

[...]

-

After a little sleuthing around, it appears patchadd is adding the patch to the global zone, then issuing a:

mount -o lofs <nfs server patch> <zoneroot>/dev/.SUNW_patches_<UUID>

The mount works just fine, but when you try and access this directory from the local zone, you get an I/O error. I tried this from both an automount (where I first discovered it) and a hard mount with the same results.

I'm going to open a case with Sun to clarify exactly if this is a bug or a "feature," but I thought others might appreciate knowing about this.

It appears my (thankfully test!) system is in a state where all the patches are applied in the global zone but not to any of the local zones...

[1312 byte] By [MichaelMyers] at [2007-11-26 11:36:53]
# 1
I have seen the same issue with patching. On a zone, uname -a showsSunOS u-pr-001 5.10 Generic_118833-23 sun4u sparc SUNW,Sun-Fire-V490but a showrev -p |grep 118833Patch: 118833-17 (deleted the rest of the data)
Syswatch at 2007-7-7 11:35:08 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
I solved this error by patchrm'ing the patch in the global zone. Then I rebooted -- -s into single user mode. Then the patchadd succeeded for both zones.I copied the patch to /var/tmp, reboot -- -s from the console, mounted the zone partitions, patchadd, worked then.
jmccart at 2007-7-7 11:35:08 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
FYI, Sun has bug ID 6188748 open on this and is preparing a new revision of patch 119254 to address it.
MichaelMyers at 2007-7-7 11:35:08 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
Patch 119254-34 was released January 26th and includes the fix for this issue!
MichaelMyers at 2007-7-7 11:35:08 > top of Java-index,Solaris Operating System,Solaris 10 Features...