Patch-ID# 108988-13 Keywords: security patchrm patchadd duplicate patchids obsolete delete Synopsis: SunOS 5.8_x86: Patch for patchadd and patchrm Date: Apr/07/2003 Install Requirements: None Solaris Release: 8_x86 SunOS Release: 5.8_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 108987 Topic: SunOS 5.8_x86: Patch for patchadd and patchrm Relevant Architectures: i386 BugId's fixed with this patch: 4115232 4278860 4292990 4299710 4303509 4304640 4311375 4319950 4330590 4348927 4350280 4351626 4356028 4379881 4384137 4388023 4399797 4414772 4419254 4421583 4458302 4470489 4471413 4480489 4495039 4495315 4499918 4500354 4521534 4527779 4559059 4620578 4623249 4678605 4706994 4723617 4725419 4728892 4731056 4732342 4737767 4744964 4750803 4759158 4767392 Changes incorporated in this version: 4767392 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 112397-02 or greater Obsoleted by: Files included with this patch: /usr/sbin/patchadd /usr/sbin/patchrm Problem Description: 4767392 patchadd -R doesn't handle single package in alternate root (from 108988-12) 4737767 incorrect conditional expression could result in improper patch installation 4731056 patchadd -M breaks patching 4725419 patchrm.ksh 2.28 changes /var/sadm/pkg/pkg_name/pkginfo from 644 to 664. 4744964 patchadd -M doesn't initialize the temporary directory 4750803 patchadd checks for prePatch instead of prepatch 4728892 Signed patches 111097-10 & 113043-02 do not update /etc/driver_aliases 4623249 patchadd / patchrm broken on development OS (2.10<->2.5* comparisons) 4421583 (MU5) Some patches are not applied because of unexisting and uninstalled patches 4723617 Using patchrm with an invalid option, does not clean up /tmp temp files. 4759158 xgetsh doesn't handle 'gettext' as a variable substitution (from 108988-11) 4732342 backport of fix for 4728892 needed for Solaris 2.6, 7 and 8 (from 108988-10) 4678605 patchadd does not clean up tmp files while installing multiple patches 4706994 patchadd: remove_PATCH_PROPERTIES() doesn't get passed the correct parameter (from 108988-09) This revision of the patch was respun to enable installation of patch on diskless clients. (from 108988-08) 4470489 patchadd fails to recreated /var/sadm/patch/.patchDB correctly 4499918 *pkg* variable in patchadd needs to be removed 4495039 User action unclear when patchadd finds an incompatible patch already installed. 4480489 patchadd returns wrong error code when patch is already installed 4348927 *patchadd* writes .patchdb entry before committing package changes 4471413 patchadd create extra white space in patchadd -p output 4500354 patchadd using temporary files unsafely 4521534 awk error in patchadd 4527779 patchadd doesn't reconstruct the patch DB when -M is used 4559059 patchadd does not work with development OS (uname = 5.10) 4620578 New patchDB is not sorted properly (from 108988-07) 4480489 patchadd returns wrong error code when patch is already installed 4495315 patchadd -M returns error code 25 when 109234 present in patch_order file (from 108988-06) 4421583 (MU5) Some patches are not applied because of unexisting and uninstalled patches (from 108988-05) 4458302 patchadd displays duplicate patchids 4419254 108991-05 dependent on 109236-01 which is obsolete. 4414772 patchadd command delete pkgs if /var/sadm/pkg is passed in to -B option 4399797 patchadd has unsafe temp file handling (from 108988-04) 4379881 added two messages should be connected to one message in SUNW_PATCH_SCRIPTS.po 4351626 patchadd cannot patch a miniroot named anything other than `Boot'. 4356028 "Reboot your system after patchadd had" in SUNW_PATCH_SCRIPTS.po is truncated 4350280 pkginstall might terminate abnormally and dump core while executing patchadd. 4388023 T106541-13 couldn't be backed out by patchrm even if T107171-07 was applied 4384137 patchrm(1M) backs out a patch when it shouldn't (reworked) (from 108988-03) 4384137 patchrm(1M) backs out a patch when it shouldn't (from 108988-02) 4311375 Failing preinstall script puts patch DB in a odd state and error msgs not passed 4319950 "Installing patches..." message is not displayed in the proper sequence 4330590 in S581 build 10, patchrm fails with must be executed from a 2.6 or later system 4115232 patches cannot be backed-out in miniroot environment (from 108988-01) 4278860 patchrm on Solaris 7 breaks packages/pkgchk 4304640 ran installpatch and mkdir: usage: mkdir [-m mode] [-p] dirname ... showed up 4303509 installpatch will not patch 2.5.1 OS services on 2.4 server 4292990 patchadd apply_diPatch function does not set patch_quit 4299710 typo's in patch utilities 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-9 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: ----------------------------- None. README -- Last modified date: Monday, April 7, 2003