Patch-ID# 107443-23 Keywords: security pkgmk pkginstall pkgtrans installf symbolic removef lstat Synopsis: SunOS 5.7: packaging utilities patch Date: Nov/01/2004 Install Requirements: None Solaris Release: 7 SunOS Release: 5.7 Unbundled Product: Unbundled Release: Xref: This patch available for x86 as patch 107444 Topic: SunOS 5.7: packaging utilities patch Relevant Architectures: sparc BugId's fixed with this patch: 4025718 4136905 4155622 4176616 4190246 4197238 4199317 4222097 4225484 4226928 4228339 4230299 4233936 4235345 4244631 4247895 4249447 4257708 4264760 4272567 4278623 4279039 4318844 4324360 4331907 4361742 4378183 4393303 4394391 4416430 4435976 4451305 4486356 4489170 4500047 4509898 4529044 4531585 4737594 4813860 4826609 4876125 5034108 5050493 5062603 Changes incorporated in this version: 5050493 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 106938-07 or greater Obsoleted by: Files included with this patch: /usr/bin/pkginfo /usr/bin/pkgmk /usr/bin/pkgparam /usr/bin/pkgproto /usr/bin/pkgtrans /usr/lib/libpkg.a /usr/sadm/install/bin/pkginstall /usr/sadm/install/bin/pkgname /usr/sadm/install/bin/pkgremove /usr/sadm/install/scripts/cmdexec /usr/sadm/install/scripts/i.awk /usr/sadm/install/scripts/i.build /usr/sadm/install/scripts/i.sed /usr/sadm/install/scripts/r.awk /usr/sadm/install/scripts/r.build /usr/sadm/install/scripts/r.sed /usr/sbin/installf /usr/sbin/pkgadd /usr/sbin/pkgask /usr/sbin/pkgchk /usr/sbin/pkgmv /usr/sbin/pkgrm /usr/sbin/removef Problem Description: 5050493 Patch 110934-16 prevents pkgrm from calling the appropriate remove class action (from 107443-22) 5062603 pkgrm fails to remove symlink of directory (from 107443-21) 5034108 pkgrm should not unlink the directory when invalid character is encountered (from 107443-20) 4876125 packaging database changes broke use of installf in i.initd (from 107443-19) 4826609 pkgadd dryrun fails with long pkg names (from 107443-18) 4813860 patchrm fails for package names longer than 9 chars (from 107443-17) 4435976 An alternate root in the save path for built-in scripts should not be used 4737594 default CAS's don't account for $PKG_INSTALL_ROOT being "/" (from 107443-16) 4136905 pkgadd can set undesirable permissions (from 107443-15) 4025718 pkginfo: allow greater than nine characters for PKG parameter value 4361742 pkgparam is not cleaning temporary directory in /var/tmp 4489170 Support for installing pkgs via its CATEGORY variable 4500047 Package datastream files are not recognized on Solaris 9 beta. 4529044 Error messages during install of core solaris pkgs 4509898 pkgadd -R user passwd/group search order is backwards 4416430 pkgadd -R does not use the proper passwd/group information. 4451305 pkgnmchk.c makes implicit use of a returned int 4486356 The variable PKG_NONABI_SYMLINKS is not used by pkgadd 4324360 pkgproto incorrectly resolves symbolic links 4394391 installf doesn't create symlinks unless explicitly specified 4531585 Package procedure scripts need access to client OS release info via INST_RELEASE 4393303 Wrong exitcode by using pkgadd -d . pkgexit2 (from 107443-14) 4378183 pkgadd fails when "/var/sadm/install/contents" is larger than ULIMIT. (from 107443-13) 4331907 pkgtrans to disk fails when not root. (from 107443-12) 4318844 pkgadd fails when a the patch includes a new empty dir pkgmap entry (from 107443-11) 4190246 adding some patches remove saved info from past patches 4225484 removef help text needs trailing carriage return 4228339 package upgrade fails miserably with directories that become links 4235345 CD0 upgrade fails with various class action script errors relating ISO 4247895 pkgadd can not make hard links between files in the pkg to files in / 4278623 after DSR upgrade with ttinstall, java does not exist (from 107443-10) 4272567 some entries in /devices from SUNWcsd are created without respect to BASEDIR 4257708 upgrade with DSR of root slice fails (additional rework) 4279039 pkgadd and pkgrm do not provide locale variables to procedure scripts (from 107443-09) 4257708 upgrade with DSR of root slice fails (reworked) (from 107443-08) 4230299 case-sensitive compare on hostnames in pkgadd/pkginstall -R 4233936 REGRESSION: pkgproto cores on link to zero-length file 4247895 pkgadd can not make hard links between files in the pkg to files in / (from 107443-07) 4264760 upgrade with DSR of root slice still fails with -06 fix (from 107443-06) 4257708 upgrade with DSR of root slice fails (from 107443-05) 4249447 installf command fail to filter out extra slashes (//) from the path (from 107443-04) 4244631 Using lstat() explicitly causes SISP 2.0 to fail This patch revision backs out the fix to 4197238. (from 107443-03) 4226928 installf broken; regression introduced by fix to 4222097 (from 107443-02) 4222097 SUNWdatr on SuppCD partially fails on 1st install attempt (from 107443-01) 4155622 pkg prototype paths on right side of = don't have $env variables expanded 4176616 'prototype' limit appears to be 15 characters for variable definition 4197238 cannot replace symbolic links with directories for S7 patches 4199317 installf fails to build a symbolic link relative path 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, November 1, 2004