Patch-ID# 106126-16 Keywords: security patchadd patchrm CD du Synopsis: SunOS 5.6_x86: Patch for patchadd and patchrm Date: Apr/07/2003 Install Requirements: None Solaris Release: 2.6_x86 SunOS Release: 5.6_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 106125 Topic: SunOS 5.6_x86: Patch for patchadd and patchrm NOTE: This patch allows the installation and removal of patches to proceed more quickly than previous versions of /usr/sbin/patchadd and /usr/sbin/patchrm. Relevant Architectures: i386 BugId's fixed with this patch: 4092154 4096983 4104959 4107568 4112891 4113647 4115232 4116095 4121553 4122997 4131394 4137237 4146913 4150762 4176890 4186941 4190866 4193454 4194281 4194308 4220792 4224092 4238146 4245279 4253076 4258626 4258658 4260216 4278860 4285837 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 4529289 4559059 4620578 4623249 4625879 4639323 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: 112543-01 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 106126-15) 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) 4678605 patchadd does not clean up tmp files while installing multiple patches 4706994 patchadd: remove_PATCH_PROPERTIES() doesn't get passed the correct parameter 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 106126-14) 4625879 patchadd -p should not need root authority to display patches 4639323 Syntax error in patchadd script (wrong logfile name for error code 5) 4529289 patchadd should not append SUNW_PATCH_PROPERTIES info 4732342 backport of fix for 4728892 needed for Solaris 2.6, 7 and 8 (from 106126-13) 4470489 patchadd fails to recreate /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 patch DB is not sorted properly 4495315 patchadd -M returns error code 25 when 109234 present in patch_order file (from 106126-12) 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 4480489 patchadd returns wrong error code when patch is already installed (from 106126-11) 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 (from 106126-10) 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 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 4115232 patches cannot be backed-out in miniroot environment (from 106126-09) 4285837 backoupatch and patchrm can't handle multiple explicit obsoletions /requirements (from 106126-08) 4258626 patchadd does not install packages in the correct order 4253076 patchrm should not remove patch directory if it did not back out a patch 4260216 pkgparam failed due to suffixed pkg created in .patchDB by installpatch 4258658 106125-06 causes patch packages to be backout incorrectly (from 106126-07) 4245279 unable to patchadd patches to the miniroot before SUNWsibi is installed 4238146 patchadd does not properly handle VERSION strings with spaces 4121553 patchadd needs to detect non-patch directory 4220792 patchadd dryrun does not check for enough freespace in /var/sadm/pkg 4224092 patchadd -R fails (from 106126-06) 4186941 patchrm doesn't run the undo script if the pkg has bee n patched previously 4176890 patchadd - incorrect order in dependency checkings 4190866 cannot apply a patch to Miniroot using patchadd -C 4150762 patchadd spawns too many children, and runs slowly as a result 4193454 -u option for patchrm should be consistent with -u option for patchadd 4194281 Patchadd/pkgadd fail when /etc/vfstab file doesn't reflect the FS's mounted 4194308 patchadd -u doesn't ignore all patch requirements (from 106126-05) 4146913 postbackout fails in patchrm because ROOTDIR is not exported 4096983 i.script needs to change use of LD_PRELOAD to LD_LIBRARY_PATH, add libgen.so.1 (from 106126-04) 4137237 patchadd 106300-01 results in rm -rf / as root (from 106126-03) 4131394 Patch 106125-02 should check for package SUNWxcu4 4122997 patchadd still confused by $ENV (from 106126-02) 4116095 Version 1.19 of patchadd doesn't handle temporary patches 4112891 patch 105181-04 does not install on 2.6 HW2 (from 106126-01) 4107568 problems with patchadd V 1.14 4092154 patchadd -C doesn't patch the CD image due to du -b hanging 4104959 patchrm -B option does not work correctly and issues an error messages. 4113647 patchadd does not copy backoutpatch into /var/sadm/patch/ dir Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- None. README -- Last modified date: Monday, April 7, 2003