Patch-ID# 100901-03 Keywords: link symbolic pkgmap reinstall pkgmk loop large file pkginstall core dump pkgtrans Synopsis: SunOS 5.1: package utility fixes Date: Oct/15/93 Solaris Release: 2.1 SunOS release: 5.1 Unbundled Product: Unbundled Release: Topic: Solaris 2.1: package utility fixes BugId's fixed with this patch: 1110698 1115777 1115282 1138068 1129208 1145943 Changes incorporated in this version: 1145943 Relevant Architectures: sparc Patches accumulated and obsoleted by this patch: 100871-01 Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /usr/sadm/install/bin/pkginstall /usr/sbin/pkgadd /usr/sbin/pkgchk /usr/bin/pkgtrans /usr/sadm/install/bin/pkgremove /usr/sbin/installf /usr/sbin/removef /usr/bin/pkgmk Problem Description: 1145943 pkgtrans of more than 14 packages sometimes causes a core dump A mathematical error in the pkgtrans code causes a core dump if system memory is fragmented enough and there are more than 14 or so packages to be transfered. (from 100901-02) The packaging utility 'pkgtrans' limited command lines as well as numerous internal buffers for command construction to 512 bytes. If pkgtrans was called upon to transfer a large number of packages by providing a list of packages on the command line or by use of the keyword 'all', these buffers would overflow leading to failure of the transfer. If the utility were used with an Exabyte tape drive and the list of packages was longer than about 14, the data written to the tape would have a blocking factor incompatible with the facility used to read the tape. (from 100901-01) Package utility fixes, such as: 1115282: On reinstallation of a package, symbolic links do not link as per pkgmap, they all end up pointing at the location refered to in the last symlink entry in the pkgmap file. 1115777: pkgmk enters endless loop when processing large files. (from 100871-01) 1110698: Systems on which more than 100 filesystems are mounted cause pkgadd to fail. Patch Installation Instructions: -------------------------------- Generic 'installpatch' and 'backoutpatch' scripts are provided within each patch package with instructions appended to this section. Other specific or unique installation instructions may also be necessary and should be described below. Special Install Instructions: ----------------------------- None. Note that a customer may also be interested in a related patch to SunOS 5.1 with patchid 100900-01. Patch 100900-01 fixes the following problem: The pkgrtans utility fails if the package(s) are larger than the medium (a floppy in the test case).