Patch-ID# 102041-05 Keywords: y2000 pkginstall pkginfo pkgproto pkgadd pkgchk pkgrm pkgmk pkgparam Synopsis: SunOS 5.4_x86: fixes for package installation utilities Date: Sep/10/97 Solaris Release: 2.4_x86 SunOS Release: 5.4_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 102039 Topic: SunOS 5.4_x86: fixes for package installation utilities NOTE: We recommend installing all the following bundled Solaris 2.4 OS/Networking patches which contain the Y2000 fixes: 101946-45 kernel patch 101960-13 lp patch 102041-05 packaging utilities/libadm patch 102694-04 at/atrm/atq/cron/crontab patch 103264-02 ufsdump/ufsrestore patch 103944-02 accounting patch 104943-01 usr/sbin/sar patch 104945-01 usr/bin/date patch 104947-01 troff macro patch 104949-01 usr/bin/passwd patch 104951-01 usr/bin/uustat patch 104953-01 usr/lib/saf/listen patch 104955-01 usr/vmsys/bin/initial patch 105015-01 usr/lib/libkrb.a and usr/lib/libkrb.so.1 patch BugId's fixed with this patch: 1101558 1116592 1144029 1146697 1150701 1151306 1152008 1169128 1172439 1172831 1172879 1174333 1177624 1179996 1182189 1182544 1184481 1185933 1186930 1193403 1194482 1197715 1198797 1203747 1204901 1205280 1218099 1266030 Changes incorporated in this version: 1266030 Relevant Architectures: i386 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /usr/bin/pkginfo /usr/bin/pkgparam /usr/bin/pkgmk /usr/bin/pkgproto /usr/bin/pkgtrans /usr/lib/libadm.a /usr/lib/libadm.so.1 /usr/lib/libpkg.a /usr/sadm/install/bin/pkginstall /usr/sadm/install/bin/pkgremove /usr/sadm/install/scripts/i.CompCpio /usr/sbin/installf /usr/sbin/pkgadd /usr/sbin/pkgchk /usr/sbin/pkgrm /usr/sbin/removef Problem Description: 1266030 ckdate() - .../lib/libadm/ckdate.c has incorrect validation for the 2000+ year YY (from 102041-04) 1218099 pkgadd attribute check fails when patch 102039-03 is applied (from 102041-03) 1101558 pkgadd should display package name when prompting user 1116592 pkgmk does not accept /dev/null as source file 1146697 When we set ULIMIT in pkginfo , the package source is not installed correctly. 1150701 admin file(conflict=nochange) => pkgadd overwrites existing file 1152008 Pkgadd fails to modify file permissions if cpio fails. 1172439 pkgrm does not use the correct install_root / PKGSAV directory 1172879 DOS Merge install uses pkgadd -d , postinstall script not being run 1174333 packaging keeps overwritten instances in /var/sadm/pkg 1177624 pkgmk: core dump, test purposes pkgmk.27.4/pkgmk.36.4 1179996 pkgproto fails to recognize block and character devices 1182544 pkgadd allows multiple installation of the same package at different location 1184481 pkginfo gives incorrect date 1185933 pkgadd fails setuid process test pkgadd.15.3 1186930 pkgadd can drop core if NIS+ returns faulty passwd structure 1193403 installf creates duplicate entries in contents file 1194482 pkgparam is broken under Solaris 2.3 1197715 package save directory is transitory! 1198797 pkgadd has serious problem with class-action scripts 1204901 pkgadd cannot install SUNWcsu of different architecture 1203747 pkgadd doesn't recognize a COC console 1205280 pkgadd fails to assign BASEDIR for a sparse package (from 102041-02) 1182189 pkgchk core dumps during pkgrm of software package (from 102041-01) 1169128 pkginstall may core dump when group entry has no password field set 1144029 If there is no BASEDIR field in pkginfo file,the "pkginfo -r" is core dumped. 1151306 pkgproto creates incorrect prototype entries for hard links. 1172831 pkgadd stops where the file include "%S" in its name If the NIS+ unix group table has a blank password field, pkgproto and pkgadd may drop core. This also resolves an error in pkgproto which caused it to generate incorrect entries for hard links and in pkgadd which was unable to install files which contained a "" in the name. 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: ----------------------------- NOTE: We recommend installing all the following bundled Solaris 2.4 OS/Networking patches which contain the Y2000 fixes: 101946-45 kernel patch 101960-13 lp patch 102041-05 packaging utilities/libadm patch 102694-04 at/atrm/atq/cron/crontab patch 103264-02 ufsdump/ufsrestore patch 103944-02 accounting patch 104943-01 usr/sbin/sar patch 104945-01 usr/bin/date patch 104947-01 troff macro patch 104949-01 usr/bin/passwd patch 104951-01 usr/bin/uustat patch 104953-01 usr/lib/saf/listen patch 104955-01 usr/vmsys/bin/initial patch 105015-01 usr/lib/libkrb.a and usr/lib/libkrb.so.1 patch