On Sat, May 31, 2008 at 7:37 PM, Jim Litchfield at Sun <[EMAIL PROTECTED]> wrote: > I think you'll find that any attempt to make zones (certainly whole root > ones) will fail after this.
In no way am I speaking authoritatively on this (I really wish all the install, lu, patch code was open...), but are you perhaps confusing the patch backout data with the CAS and and modifiable (e, v) files that have pristine values stashed under /var/sadm/pkg/<pkgname>/save/pspool/<pkgname>? My understanding was that files of type f are installed into non-global zones by copying the file from the installed location in the global zone. So as to not pick up changes that occurred to editable (e - e.g. /etc/passwd) and volatile (v - e.g. /var/adm/messages) in the global zone, the pristine copy is picked up from pspool directories I mention above. To try things out, let's play with alternate root installation of studio 11 at /opt/studio11 - on ZFS. Playing is best done on clones... zfs snapshot pool0/opt/[EMAIL PROTECTED] zfs clone pool0/opt/[EMAIL PROTECTED] pool0/junk I have patch 121015-06 installed - which patches SPROcc. It was installed with "patchadd -R /opt/studio11 -M `pwd` *" with several patches in the cwd while running the command. The contents of /pool0/junk/var/sadm/pkg/SPROcc look like: var/sadm/pkg/SPROcc var/sadm/pkg/SPROcc/install var/sadm/pkg/SPROcc/install/copyright var/sadm/pkg/SPROcc/install/depend var/sadm/pkg/SPROcc/pkginfo var/sadm/pkg/SPROcc/save var/sadm/pkg/SPROcc/save/121015-06 var/sadm/pkg/SPROcc/save/121015-06/undo.Z var/sadm/pkg/SPROcc/save/pspool var/sadm/pkg/SPROcc/save/pspool/SPROcc var/sadm/pkg/SPROcc/save/pspool/SPROcc/install var/sadm/pkg/SPROcc/save/pspool/SPROcc/install/copyright var/sadm/pkg/SPROcc/save/pspool/SPROcc/install/depend var/sadm/pkg/SPROcc/save/pspool/SPROcc/pkginfo var/sadm/pkg/SPROcc/save/pspool/SPROcc/pkgmap var/sadm/pkg/SPROcc/save/pspool/SPROcc/save var/sadm/pkg/SPROcc/save/pspool/SPROcc/save/121015-06 var/sadm/pkg/SPROcc/save/pspool/SPROcc/save/121015-06/undo.Z I back out the patch (patchrm -R /pool0/junk 121015-06), then reinstall it without backout info (patchadd -R /pool0/junk -d 121015-06). Things have changed to... var/sadm/pkg/SPROcc var/sadm/pkg/SPROcc/install var/sadm/pkg/SPROcc/install/checkinstall var/sadm/pkg/SPROcc/install/copyright var/sadm/pkg/SPROcc/install/depend var/sadm/pkg/SPROcc/install/patch_checkinstall var/sadm/pkg/SPROcc/install/patch_postinstall var/sadm/pkg/SPROcc/pkginfo var/sadm/pkg/SPROcc/save var/sadm/pkg/SPROcc/save/pspool var/sadm/pkg/SPROcc/save/pspool/SPROcc var/sadm/pkg/SPROcc/save/pspool/SPROcc/install var/sadm/pkg/SPROcc/save/pspool/SPROcc/install/copyright var/sadm/pkg/SPROcc/save/pspool/SPROcc/install/depend var/sadm/pkg/SPROcc/save/pspool/SPROcc/pkginfo var/sadm/pkg/SPROcc/save/pspool/SPROcc/pkgmap Notice the lack of undo.Z files (and associated patch directories), but the rest looks the same. -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss