smpatch/local zones, error even after zone uninstalled, fix
Solaris 10, Blade 1500 (silver)
Running smpatch update kept coming back with -
"This operation is not supported by this application for systems with local zones."
even though I had uninstalled the local zone I'd created earlier. I mv'ed the /etc/zones/index file to a new name and all was well. smpatch update completed successfully.
Just a tip,
D
[386 byte] By [
adminsmc] at [2007-11-26 6:03:19]

# 3
Correct, however doing an uninstall on a zone would leave the above mentioned index file populated with the removed zone. zoneadm list -c would still report the zone as there until the index file was edited/replaced/removed.
It's most likely my limitied knowledge of zones, but I thought the uninstall was the way to fully remove a zone.
Anywho, it's just a tip ;)
D
# 4
Yow need to not only run for example, zoneadm -z test uninstall, you will need to run zonecfg -z test delete, to remove all references onf the zone until smpatch is fixedCheersMark
# 5
Another option to get around this behaviour is by manually unzipping the .jar file after retrieval, then using the 'patchadd' command to install the patch.You will then see that it will also easily patch your zones as well.
LionO at 2007-7-6 13:27:49 >
