Patch-ID# 119254-31

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: security patchadd patchrm pspool global zone upgrade rlogin telnet
Synopsis: SunOS 5.10: Install and Patch Utilities Patch
Date: Nov/27/2006


Install Requirements: NA                      
                      
Solaris Release: 10

SunOS Release: 5.10

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for x86 as patch 119255

Topic: SunOS 5.10: Install and Patch Utilities Patch

Relevant Architectures: sparc

BugId's fixed with this patch: 4908553 4967419 4991875 5045607 6210622 6216195 6216798 6216809 6217206 6219176 6220578 6221954 6224740 6224767 6225041 6226770 6226930 6231818 6233011 6233738 6236231 6236796 6236855 6236866 6239875 6240894 6241052 6241431 6241944 6242607 6243480 6244125 6245446 6245715 6248984 6251452 6251466 6252385 6252388 6256515 6262677 6263190 6265069 6266241 6271791 6274438 6275530 6275557 6276148 6277096 6278325 6279485 6284610 6285073 6288746 6290368 6290429 6290432 6292233 6292269 6292275 6293397 6296187 6297336 6303564 6304174 6304176 6304222 6306319 6307548 6309013 6313848 6315157 6315316 6318864 6319430 6319570 6320238 6321376 6323208 6324392 6328091 6331277 6334066 6337009 6337644 6340114 6342245 6344531 6344916 6345121 6347534 6348813 6349319 6351408 6351428 6352966 6354346 6355320 6355604 6360157 6362706 6363226 6364817 6369639 6370540 6371040 6371745 6373045 6380672 6386697 6387091 6387771 6388931 6388959 6389929 6392825 6397413 6401302 6406934 6407037 6412965 6421944 6425837 6438808 6440750 6445261 6452983 6455767 6467398 6479483

Changes incorporated in this version: 6438808 6467398 6479483

Patches accumulated and obsoleted by this patch: 119015-03

Patches which conflict with this patch: 

Patches required with this patch: 121133-02 (or greater)

Obsoleted by: 

Files included with this patch: 

/usr/bin/pkgadm
/usr/bin/pkgcond
/usr/bin/pkginfo
/usr/bin/pkgmk
/usr/bin/pkgparam
/usr/bin/pkgproto
/usr/bin/pkgtrans
/usr/bin/unzip
/usr/bin/zipinfo
/usr/lib/libgendb.so.1
/usr/lib/libpkg.so.1
/usr/lib/libpkgdb.so.1
/usr/lib/patch/patchadd
/usr/lib/patch/patchrm
/usr/lib/patch/pdo
/usr/sadm/install/bin/pkginstall
/usr/sadm/install/bin/pkgname
/usr/sadm/install/bin/pkgremove
/usr/sadm/install/scripts/cmdexec
/usr/sbin/installf
/usr/sbin/pkgadd
/usr/sbin/pkgask
/usr/sbin/pkgchk
/usr/sbin/pkgrm
/usr/sbin/removef

Problem Description:

6438808 patchadd of non-booted local zone with a separate /var fails
6467398 patch packages that only deliver deletes files never get processed
6479483 pkginfo -d on package streams return no output. (should return package list)
 
        NOTE: The fix for bugid 6391503 below caused a regression that is
              documented in bugid 6479483 above.  Therefore, the fix for
              bugid 6391503 has been removed from this patch.
 
(from 119254-30)
 
(removed) 6391503 pkgchk -d <pkgname> all command does not cleanup /var/tmp/xxxxxx directories on exit
6440750 pkgadd(1M) does not pass -G to pkginstall even if a datastream package has a request script
6445261 cannot install zones after removing KU 118833-17
 
(from 119254-29)
 
6370540 patchadd does not detect higher revision of required patch when required patch in requested list
6412965 pdo does not pass -G argument to patchadd(ksh) when called as 'patchadd -t -G'
 
        NOTE: Revision -19's bugid list has also been amended.
 
(from 119254-28)
 
6452983 pkgcond is not accessing ROOTDIR in patch scripts
6425837 pkgcond is_netinstall_image is not working
6455767 119254-24/25/26 specify SUNW_REQUIRES=121333-02 and is incorrect
 
(from 119254-27)
 
6401302 patchrm is misformatting SUNW_PKGCOND_GLOBAL_DATA in /var/sadm/pkg/SUNWcsu/pkginfo
 
(from 119254-26)
 
6380672 S10 pkgadd does not care about CR 4136905 if pkgmap has a '?' entry in the permission mode
6389929 patchrm of 118822-29 fails when system is configured with local zones
 
(from 119254-25)
 
6407037 pkgcond should use PKG_INIT_INSTALL and SUNW_PKG_INSTALL_ZONENAME in determining the target env
 
(from 119254-24)
 
6369639 patchrm is not dealing with patches that only deliver NEW files/binaries
6406934 patch 119254-21 does not work with non-global zones
6421944 patchadd in 119254-23 uses a command that is being developed
 
(from 119254-23)
 
6285073 patchadd displays confusing warning messages
6321376 S10 patchadd treats SUNW_INCOMPAT as SUNW_REQUIRES when same patch major id is present in both
6387091 patchadd and patchrm with -B option don't work
6251466 pdo not passing -d to patchadd.ksh
6304176 /usr/sbin/patchadd (/usr/lib/patch/pdo) processes -x/-k/-P as flags not option-arguments
6387771 patch for package with SUNW_PKG_HOLLOW=true can be removed although installed by 'patchadd -d'
 
(from 119254-22)
 
4967419 patchadd -M returns 0 even if some patches fail to install
6364817 on Zones enabled system, patchrm 119254-14 does not remove patch from non-global zone
6392825 patchrm fails in non-global zone after the fix for 6364817
6397413 ignore expiration of certs in patchadd and pkgadm
 
(from 119254-21)
 
4991875 pkgchk reports modtime errors after patch installation
6297336 patchadd -p -C should be a read only operation
6303564 pkgadd problem with SUNWceuow if symbolic link changes to directory in s10 and s10u1
6304174 /usr/sbin/patchadd (/usr/lib/patch/pdo) won't allow url argument to -M option
6362706 when overwriting existing package, pkgadd does not prevent zones attributes from being changed
6371040 patchadd and patchrm in zone failing if zone is in ready state
6386697 while doing a patchadd/patchrm to zones in ready state, the state can't be restored
6373045 pdo should have a complete fix for CR 6324392 (patch 119254-15)
 
(from 119254-20)
 
6277096 patchadd -d <patch-id> appears to fail but doesn't
6360157 patchadd dryrun does not check for enough freespace in /var/sadm/pkg
 
(from 119254-19)
 
6388931 patchadd -M now fails if directory contains a text file after bug fix 6241052 is installed
6388959 the undo.Z for latest patch utilities patch is missing in local zone after zone install
6347534 SUNWcsr/SUNWcsu errors with zones and patchrm to KU failed
 
(from 119254-18)
 
6241052 patchadd of a jar'd patch fails
6363226 patchrm fails to remove patch
 
(from 119254-17)
 
6293397 patchadd -p -C does not work in Solaris 10
6320238 patchrm does not work with -C option in Solaris 10 FCS
 
(from 119254-16)
 
6225041 pkgadd fails on large CCD pkgtrans packages
6371745 latest patch utilities patch has wrong dependency listed
 
(from 119254-15)
 
6266241 pkgadd of NBU 5.0 (among others) from CD fails on Solaris 10, works from disk copy
6324392 patchrm returns 0 even if prebackout failed
 
(from 119254-14)
 
6355320 PCT: ashanti upgrade of a system with /opt as inherit-pkg-dir failed with pkgrm errors
 
(from 119254-13)
 
6348813 pdo doesn't reject obsolete patch when its obsoleter is part of the same list
6290432 patchadd exits 0 (success) on patchadd failures
6354346 pkgcond is_path_writable is not working properly
6355604 revs 12 & 11 of 11925(4,5) need to be badpatched and respun
 
(from 119254-12)
 
6290429 patch script fails causing patchadd to run patchrm cmd in local zone, instead of the global
6323208 need interim solution for upgrading S10 GA system with Zones installed	
6340114 pkgcond needs to be implemented
6315316 PCT: (SUNW_PKG_HOLLOW=true) files are being installed in non-global zone when patching
6318864 pkginfo variable in path for editable and volatile files causes file not found during zone install	
6337644 PCT: ashanti upgrade is omitting certain patches	
6342245 PCT: upgrade from S10 RR to Ashanti fails with patch issues	
6345121 PCT: fatal error seen in upgrade_log after successful upgrade from S10 RR to Ashanti	
6210622 patchadd message "No any packages from patch" should be fixed
6337009 /usr/lib/patch/patchrm returns failure if parametric path value starts with '/'
6344531 PCT: typo in upgrade_log when it can't boot local zone
6319570 pkginfo's spelling is incompatible with English
6349319 pkginstall and pkgremove put newline in pkgcond environment variable pkgcond info is truncated
6275530 package commands do not process configured zones when -R is given path to global zone	
6334066 adding patches that replace hard links with regular files causes patchadd to fail	
6344916 PCT: patchadd does not seem to deal with some cases of editable files	
6306319 patches which delete files do not remove deleted files from pspool pkgmap
6331277 PCT: pkgrm doesn't check reverse dependency of package being removed in all the local zones
6351408 egrep error message during patchrm
6351428 pkgcond fails when used in a package level script running from a scratch zone
6352966 zone creation failures after applying patch 121450-01
 
(from 119254-11)
 
4908553 SUNW_PKG_CMDS.po is not being searched by the various package commands
6240894 patch commands have references to the term "local zone"
6262677 patchrm does not properly clean up after itself if locale is a UTF-8 locale
6271791 patchadd cannot handle multiple package instances in Solaris 10
6274438 cannot patch a system with a zone in "configured" state
6278325 elfsign failures in SUNWswmt package
6290432 patchadd exits 0 (success) on patchadd failures
6304222 pkgrm not processing CAS's in the correct order
6307548 patchadd does not restore the "ready" state of the zone
6313848 patchadd does not flush output at appropriate points
 
(from 119254-10)
 
6252385 install changes needed for Solaris Boot Architecture
6252388 Diskless changes needed for Solaris Boot Architecture
6265069 find device calls devfs_bootdev_free_list() after incrementing boot_dev pointer
 
(from 119254-09)
 
6216798 'pdo' does not pick up localized messages
6216809 'patchadd' does not reference the correct text =
6236796 patchrm of a SUNWcsu patch in a local zone should fail as it has SUNW_PKG_ALLZONES=true
6315157 patchadd in Solaris 10 gives "out of memory" error
6328091 T119254-08 throws error in postpatch script while adding the patch to jumpstart server
 
(from 119254-08)
 
6292275 patchadd/patchrm -R do not have the appropriate locking mechanism
 
(from 119254-07)
 
6319430 patch 119254-06 fails intermittently on backout on a zones system
 
(from 119254-06)
 
6233011 patchadd can not recognize PKG_INSTALL_ROOT
6236855 patchadd on s10 with zones produces an assertion error
6276148 T-patch does not work on local zones
6279485 failures in zone creation after patchrm
6284610 patches 119254-03 119255-03 cause patchadd to dump core
6288746 patchadd -M gets the order wrong
6290368 patches 119254-04 and 119255-04 do not fix bugid 6263190
6292233 patchadd still does not support incremental patching
6292269 cannot patchrm 119254-05 on a zones enabled system
6296187 SUNWpkgcmdsu has problem with pkgmap after patchadd/patchrm/patchadd the related patch (119254-05)
6306319 patches which delete files do not remove deleted files from pspool pkgmap for said package
6309013 patches that replace files of type "f" with symlinks are causing zone create to fail
 
(from 119254-05)
 
6220578 patchadd silently fails if too many patches against a package 
6256515 zone install fails after adding patch
 
(from 119254-04)
 
6244125 direct calls to nsswitch bypassing the cache provided by nscd
 
(from 119254-03)
 
6219176 patchadd in S10 doesn't appear to support incremental patching
6226930 patchadd (pdo) doesn't recognize leading 'T' in patchid
6221954 virtual patch removal procedure skips obsolete backlink
6236231 patchrm order checking broken
6263190 patch that patches architecture specific package, ie SUNWcakr, gives misleading output
6224740 "fs" resources of type "tmpfs" confuse zone installation
6251452 Upgrade and LU screw up permissions of CAS scripts in pspool area with successive upgrades
6243480 cannot patchrm patches that use symlinks/links in their pkgmaps, in S10 zones-enabled systems
6248984 patchadd with -d option aborts but munges pkg database and partially applies patches
6245446 the routine for generating the pkgmap in patchadd is generating incorrect pkgmap
6245715 patchadd silently fails during jumpstart installs
6241431 .patchrmLock is not being removed after a successful patchrm
6236866 patch[add|rm] -G seems to affect subsequent patchadd's (without -G)
6275557 change SUNWluzone to use -h option to pkgadd instead of -O enable-hollow-package-support
 
(from 119254-02)
 
6233738 patchadd of certain patches in x86 s10 FCS fails
 
(from 119254-01)
 
5045607 patchadd failed to create backout file without any error
6224767 Sun Java System Messaging Server patch fails with "wordlist too large" error 118207-27
 
(from 119015-03)
 
6241944 pkgadd should handle modified f-type files during non-global zone creation
6239875 pkgadd fails to use new version of datastream file downloaded by HTTP if filename is the same
6242607 SUNW_PKG_HOLLOW doesn't prevent scripts being run or files installed in non-global zone
6226770 package tools should not create .ai.pkg.zone.lock* file when -R option is used
 
(from 119015-02)
 
6217206 pkgrm passes shared-directory-path to class action script
6231818 package removal is "partially failed" in non-global zone
 
(from 119015-01)
 
6216195 zone installation confused by UPDATE=yes in pkginfo(4) file

Patch Installation Instructions:
--------------------------------
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-10 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
Not all patches listed in this section as needed for the completion
of a fix or feature, may be available at the same time as this patch.
This allows the remaining fixes/features to be made available sooner.
 
NOTE 1: To get the complete Solaris Boot Architecture feature, please also
        install the following patches:
 
        119081-08 (or greater)  CD-ROM Install Boot Image Patch
        119252-07 (or greater)  System Administration Applications Patch
        119313-04 (or greater)  WBEM Patch (for Diskless Client Support)
 
NOTE 2: Due to bug 6393109 (patch 119254-18 depends on SUNWzoneu which is
        only in SUNWCuser meta cluster and above), this patch cannot be
        installed on systems without SUNWzoneu package installed.  This
        package is installed by default in all systems above SUNWCuser
        Meta Cluster.
 
        The affected Meta Cluster is SUNWCreq and target systems using this
        meta cluster cannot install this patch until bug 6393109 is resolved.
 
NOTE 3: This patch includes fixes for bugids 6425837 (pkgcond
        is_netinstall_image is not working) and 6452983 (pkgcond is not
        accessing ROOTDIR in patch scripts) which fix the pkgcond command
        so that it will inherit the $ROOTDIR variable when being invoked
        from within a patch level script.  To get the complete fix, please
        also install the following patch:
 
        119081-24 (or greater)  CD-ROM Install Boot Image Patch
 
        (see also bugid 6431490 [ashanti upgrade should add the new and
         uprev'ed packages last in the process]).

README -- Last modified date:  Monday, November 27, 2006

