Patch-ID# 103187-29 Keywords: security libnsl rpc.nisd nis_cachemgr bootparam automountd y2000 Synopsis: SunOS 5.5: libc/libnsl/libucb/nis_cachemgr/rpc.nisd/automount patch Date: Aug/11/97 Solaris Release: 2.5 SunOS Release: 5.5 Unbundled Product: Unbundled Release: Xref: This patch available for x86 as patch 103188 Topic: SunOS 5.5: libc/libnsl/libucb/nis_cachemgr/rpc.nisd/automount patch WARNING: A side effect of the fix for bug 1235867 causes Fortran 90 Version 1.1 programs to Segmentation Fault if they write to terminal or other line buffered device (bug 1260474). There are two ways of fixing this: 1) upgrading to Fortran 90 Version 1.2 -OR- 2) installing patch 103219-06 (or its later rev) and rebuilding the f90 application. Work around for programs that only output to terminal by redirecting or piping output. For example -- program | cat NOTE1: We recommend installing all of the following bundled Solaris 2.5 OS/Networking patches which contain the Y2000 fixes: 102964-07 (or higher revs) lp patch 103153-15 (or higher revs) kernel/fs/ufs & usr/lib/fs/ufs/fsck patch 103178-04 (or higher revs) pam security patch 103187-26 (or higher revs) libc, libnsl, nis_cachemgr & rpc.nisd patch 103241-03 (or higher revs) BCP (binary compatibility) patch 103261-04 (or higher revs) ufsdump and ufsrestore patch 103723-04 (or higher revs) cron/crontab/at/atq/atrm patch 103945-02 (or higher revs) accounting patch 104466-02 (or higher revs) usr/bin/date patch 104861-01 (or higher revs) usr/sbin/sar patch 104863-02 (or higher revs) troff macro patch 104865-01 (or higher revs) usr/bin/passwd patch 104867-01 (or higher revs) usr/lib/saf/listen patch 104869-01 (or higher revs) usr/lib/libadm.a and usr/lib/libadm.so.1 patch 104871-01 (or higher revs) usr/vmsys/bin/initial patch 104889-01 (or higher revs) usr/bin/uustat patch 105018-01 (or higher revs) usr/lib/libkrb.a and & usr/lib/libkrb.so.1 patch NOTE2: TO GET THE COMPLETE FIX FOR BUGID FOR 1225430 (YPBIND CAN GET REQUESTS BEFORE IT IS READY FOR THEM), ONE ALSO NEEDS TO INSTALL THE YPBIND PATCH (105169-01 or higher). BugId's fixed with this patch: 1160090 1211172 1212974 1213016 1216036 1219671 1221809 1223323 1223326 1223383 1224057 1225430 1228254 1229805 1230570 1232010 1232758 1233625 1234630 1235042 1235501 1235867 1236423 1236442 1238038 1240224 1242395 1242968 1244872 1244917 1245451 1246630 1246864 1247052 1248090 1249373 1249903 1255623 1258916 1259200 1262462 1262666 1264708 1265785 4005483 4005686 4011495 4016724 4022299 4025665 4028300 4029971 4030045 4045229 4045268 4045522 4057606 fix for Changes incorporated in this version: 1225430 Relevant Architectures: sparc Patches accumulated and obsoleted by this patch: 103048-04 103060-05 103066-01 103230-05 tches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /usr/lib/autofs/automountd /usr/lib/fs/autofs/automount /usr/lib/fn/fn_ctx_onc_fn_nisplus_root.so.1 /usr/lib/libc.a /usr/lib/libc.so /usr/lib/libc.so.1 /usr/lib/libnsl.a /usr/lib/libnsl.so.1 /usr/lib/libp/libc.a /usr/lib/nis/nis_cachemgr /usr/lib/pics/libc_pic.a /usr/sbin/nis_cachemgr /usr/sbin/rpc.nisd /usr/sbin/static/rcp Problem Description: 1225430 ypbind can get requests before it is ready for them (from 103187-28) 4045268 nis_cachemgr does not verify authenticity of objects 4057606 Out of domain NIS+ lookups don't work after applying fix for 4045268 fix for 4045268 nis_cachemgr does not verify authenticity of objects (from 103187-27) 4022299 syslogd.pid file deadlock prevents syslogd from starting (from 103187-26) 1262462 create, delete, recreate of user account in NIS+ disruptive to NIS+ server 4030045 strxfrm with LC_CTYPE == "de and LC_COLLATE == "de" causes bus error 4045229 strptime and getdate year calculation not count century; strptime range checks 4045522 need to complete the fix of 1219295 (from 103187-25) 1236442 When mounting from an SGI box with -vers=2 it mounts using NFS version 3 (from 103187-24) 4025665 nisping -Ca broken by fix to bugid#4005483 4011495 'zoneinfo' summertime/wintertime (Southern hemisphere) switchover anomaly Various geographic regions in the Southern hemisphere report a daylight savings time switchover problem in conjunction with the 'zoneinfo' database feeding 'localtime(3)'. (from 103187-23) 4029971 getopt security problem. This fix for 4029971 requires the static version of rcp to be included in the patch. (from 103187-22) 4029971 getopt security problem (from 103187-21) 1223323 No bounds checking on NIS_GROUP environment variable 1247052 nis_dumplog_r translates all failures into NIS_RPCERROR (from 103187-20) 1212974 Bogus bootparam packet makes rpcbind stop working (from 103187-19) 4016724 nis_cptime failure in nisd causes unreliable update propagation (from 103187-18) 4005483 replica doing full resync too frequently 1232758 finddirectory calls fails when there are too many replicas (from 103187-17) 4005686 strncmp() accesses memory locations beyond it is supposed to 1223326 possible memory leak in "rpc.nisd" (from 103187-16) 1249373 Application file descriptors are being closed without applications knowledge (from 103187-15) 1230570 nisplus strips leading spaces before doing lookup. (from 103187-14) 1259200 no more syslog from rpc.nisd after the fix for 1244917 in T101318-80 (from 103187-13) 1248090 getwd very slow over nfs to 4.1.3 server (from 103187-12) 1249903 rpc.nisd hung in nis_list_svc on getmsg in _rcv_conn_con (from 103187-11) 1264708 get segmt fault on malloc with getcwd, chdir and opendir over PATH_MAX 1245451 bug in syslogd failing to log messages every 12-48 hours of operation 1242968 A 2.3 multi-threaded application binary crashes on 2.5 (from 103187-10) 1265785 fwrite regression from 2.4 to 2.5, 2.5.1 (from 103187-09) 1262666 nscd client backend, getxby_door, has buffer overflows (from 103187-08) 1255623 getdate() fails on 1st of month with julian date (from 103187-07) 1244917 syslog(3) does not correctly cache the file descriptor that it writes on (from 103187-06) 1246864 Multithreaded C++ program using strptime() causes bus error when 'new' used. (from 103187-05) 1219671 Memory is given free which was never allocated before. (from 103187-04) 1235867 line buffered stdio loses data and/or hangs in 2.5 (from 103187-03) 1240224 chroot: Can't use openlog(3), syslog(3) and closelog(3) (from 103187-02) 1235042 nscd library code nukes filedescriptor if its fd is closed by application (from 103187-01) 1238038 iconv_close returns wrong data type 1229805 popen assumes maximum number of file descriptors is 256 (from 103060-05) 1258916 nis_cachemgr causing other many processes to hang in semop (from 103060-04) 1213016 User looses access to secondary groups if nisplus root master is not up (from 103060-03) 1246630 nisd can potentially hang if it gets a SIGCHLD/SIGHUP on an established callback (from 103060-02) 1244872 nis_cachemgr can deadlock when servers are unavailable (from 103060-01) 1160090 nis_cachemgr should delete expired dir objects only if they can be refreshed (from 103230-05) 1242395 NIS+ TTLs for objects not correct on 2.4 slave replicas and 2.3 slave/clients. (from 103230-04) 1232010 retransmit time, 15 seconds, for NIS+ UDP queries is too long (from 103230-03) 1234630 Client side RPC handle caching and server side fd leaks needs a general solution 1223383 NIS+ clients should always try to bind to servers on the local subnet first (from 103230-02) 1221809 absence of user public key caching makes NIS+ inter-domain lookups unreliable (from 103230-01) 1235501 checkpointing can crash nisd if non-existent replica is in transaction log 1216036 NIS+ client library does not retransmit RPC call to rpcbind on NIS+ servers (from 103066-01) 1224057 rpc.nisd hangs in write(2) (from 103048-04) 4028300 automounter security hole (from 103048-03) 1228254 autofs cannot mount replicated NFS via CacheFS 1236423 indirect hierarchical automount maps cache at 2.5 instead of lofs (from 103048-02) 1233625 automount retry option does not work in 2.5 (from 103048-01) 1211172 Automountd fails to unmount lofs file system 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: ----------------------------- NOTE1: We recommend installing all of the following bundled Solaris 2.5 OS/Networking patches which contain the Y2000 fixes: 102964-07 (or higher revs) lp patch 103153-15 (or higher revs) kernel/fs/ufs & usr/lib/fs/ufs/fsck patch 103178-04 (or higher revs) pam security patch 103187-26 (or higher revs) libc, libnsl, nis_cachemgr & rpc.nisd patch 103241-03 (or higher revs) BCP (binary compatibility) patch 103261-04 (or higher revs) ufsdump and ufsrestore patch 103723-04 (or higher revs) cron/crontab/at/atq/atrm patch 103945-02 (or higher revs) accounting patch 104466-02 (or higher revs) usr/bin/date patch 104861-01 (or higher revs) usr/sbin/sar patch 104863-02 (or higher revs) troff macro patch 104865-01 (or higher revs) usr/bin/passwd patch 104867-01 (or higher revs) usr/lib/saf/listen patch 104869-01 (or higher revs) usr/lib/libadm.a and usr/lib/libadm.so.1 patch 104871-01 (or higher revs) usr/vmsys/bin/initial patch 104889-01 (or higher revs) usr/bin/uustat patch 105018-01 (or higher revs) usr/lib/libkrb.a and & usr/lib/libkrb.so.1 patch NOTE2: TO GET THE COMPLETE FIX FOR BUGID FOR 1225430 (YPBIND CAN GET REQUESTS BEFORE IT IS READY FOR THEM), ONE ALSO NEEDS TO INSTALL THE YPBIND PATCH (105169-01 or higher).