Patch-ID# 119255-36

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_x86: Install and Patch Utilities Patch
Date: Mar/15/2007


Install Requirements: NA                      
                      
Solaris Release: 10_x86

SunOS Release: 5.10_x86

Unbundled Product: 

Unbundled Release: 

Xref: This patch available for SPARC as patch 119254

Topic: SunOS 5.10_x86: Install and Patch Utilities Patch

Relevant Architectures: i386

BugId's fixed with this patch: 4908553 4967419 4991875 5045607 6188748 6206255 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 6335342 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 6374972 6380672 6386697 6387091 6387771 6388931 6388959 6389929 6391503 6392825 6397413 6401302 6406934 6407037 6412965 6421944 6425837 6435846 6438808 6438813 6440750 6444650 6445261 6452983 6456317 6467398 6479483 6480462 6499744 6500813 6502541 6513106 6513566 6527819

Changes incorporated in this version: 6456317 6502541 6513106 6527819

Patches accumulated and obsoleted by this patch: 119016-03

Patches which conflict with this patch: 

Patches required with this patch: 121334-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:

6456317 patchadd corrupts package database /var/sadm/install/contents with certain TZ settings
6502541 patchrm in 119255-32 is not handling deletes files
6513106 installing SUNWccinv and SUNWcctpx in a configured non-global zone fails
6527819 fix for 6374972 still fails after bugfix 6522362
 
(from 119255-35)
 
6391503 pkgchk -d <pkgname> all command does not cleanup /var/tmp/xxxxxx directories on exit
 
(from 119255-34)
 
6444650 pkginfo -q does not behave as expected
6513566 patchadd -M with 119254-33/119255-33 fails, problem with patchadd.ksh and -G option
 
(from 119255-33)
 
6188748 patchadd needs support for patching from NFS filesystems
6206255 pkgchk not showing usage message when invalid combination of options
6335342 unable to install zones concurrently possibly due to pkgadd limitation
6374972 patchadd should deal with global-only packages intelligently
6435846 UC#2836 incorrect patch is listed as incompatible
6438813 patchadd exit codes display 0 (success) for failed local zone patch attempts when Global succeeds
6499744 patches need a way to prevent further invocations of patchadd
6500813 patchrm not able to remove KU 118855-34/35 in Solaris 10 1/06 when non-global zones are present
 
(from 119255-32)
 
6480462 pkgchk errors after zones upgrade from S10/S10U1 FCS to S10U3_07a for SUNWwbcor
 
        NOTE: The source integration for this bugfix completes the fix for bugid 6452983.
 
(from 119255-31)
 
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, see below, caused a regression that is
              documented in bugid 6479483, see above.  Therefore, the fix for
              bugid 6391503 has been removed from this patch revision.
 
(from 119255-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 datastream package has a request script
6445261 cannot install zones after removing KU 118833-17
 
(from 119255-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'
 
(from 119255-28)
 
6452983 pkgcond is not accessing ROOTDIR in patch scripts
6425837 pkgcond is_netinstall_image is not working
 
(from 119255-27)
 
6401302 patchrm misformatting SUNW_PKGCOND_GLOBAL_DATA in /var/sadm/pkg/SUNWcsu/pkginfo
 
(from 119255-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 119255-25)
 
6407037 pkgcond should use PKG_INIT_INSTALL and SUNW_PKG_INSTALL_ZONENAME in determining target env
 
(from 119255-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 specific to Nevada
 
(from 119255-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 119255-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 fix for 6364817
6397413 ignore expiration of certs in patchadd and pkgadm
 
(from 119255-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 pkg, pkgadd does not prevent any zones attributes from being changed
6371040 patchadd and patchrm in zone failing if zone is in ready state
6386697 while doing 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 119255-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 119255-19)
 
6388931 patchadd -M now fails if directory contains a text file after bugfix 6241052 is installed
6388959 undo.Z for the latest patch utilities patch missing in local zone after zone install
6347534 SUNWcsr/SUNWcsu errors with zones and patchrm to KU failed
 
(from 119255-18)
 
6241052 patchadd of a jar'd patch fails
6363226 patchrm fails to remove patch
 
(from 119255-17)
 
6293397 patchadd -p -C does not work in Solaris 10
6320238 patchrm does not work with -C option in Solaris 10 FCS
 
(from 119255-16)
 
6225041 pkgadd fails on large CCD pkgtrans packages
6371745 latest patch utilities patch has wrong dependency listed
 
(from 119255-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 119255-14)
 
6355320 PCT: Ashanti upgrade of system with /opt as inherit-pkg-dir failed with pkgrm errors
 
(from 119255-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 119255-12)
 
6290429 patch script fails causing patchadd to run patchrm in local zone, instead of 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
6318864 pkginfo variable in path for editable, 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 does not check reverse dependency of package being removed in all 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 119255-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 119255-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 119255-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 119255-08)
 
6292275 patchadd/patchrm -R do not have the appropriate locking mechanism
 
(from 119255-07)
 
6319430 patch 119254-06 fails intermittently on backout on a zones system
 
(from 119255-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 119254-05 patch
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 119255-05)
 
6220578 patchadd silently fails if too many patches against a package
6256515 zone install fails after adding patch
 
(from 119255-04)
 
6244125 direct calls to nsswitch bypassing the cache provided by nscd
 
(from 119255-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 routine for generating pkgmap in patchadd is generating incorrect pkgmap
6245715 patchadd silently fails during jumpstart installs
6241431 .patchrmLock is not 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 119255-02)
 
6233738 patchadd of certain patches in x86 s10 FCS fails
 
(from 119255-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 119016-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 119016-02)
 
6217206 pkgrm passes shared-directory-path to class action script
6231818 package removal "partially failed" in non-global zone
 
(from 119016-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:
 
         119082-08 (or greater)  CD-ROM Install Boot Image Patch
         119253-08 (or greater)  System Administration Applications Patch
         119314-04 (or greater)  WBEM Patch (for Diskless Client Support)
 
NOTE 2:  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:
 
         119082-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]).
 
NOTE 3:  Due to bugid 6438808, it is necessary to boot any halted zones to 
         at least Single User Mode state or above before applying this patch, 
         if the previous revision of 119255 that is installed is less than 
         119255-31.
 
         To determine what revision is installed, run:
              #patchadd -p |grep "Patch: 119255"
 
         If the output shows 119255-31 or greater is installed, then no further 
         action is necessary.
 
         To determine what zones are halted, run the following command:
              #zoneadm list -cv
 
         and check for any zones that are not in states "running" or "configured".
 
         To boot zones to Single User Mode run:
              #zoneadm -z <zone-name> boot -s
 
         Note any zones that are already in state "running" are ok to patch.

README -- Last modified date:  Thursday, March 15, 2007

