OBSOLETE Patch-ID# 100075-17 Keywords: lockd, rpc.lockd, file locking, rpc.statd, heap, kernel, memory leak Synopsis: OBSOLETED by 100988 Date: Dec/02/94 Solaris Release: 1.1 SunOS Release: 4.1.3 The following related jumbo patches exist for other versions of SunOS: Patch SunOS Contents ======== ====== ========== 101784-03 4.1.3_U1 rpc.lockd Jumbo Patch Unbundled Product: Unbundled Release: Relevant Architectures: sun4 sun4c sun4m BugId's fixed with this patch: 1077402 1080359 1040406 1046373 1063692 1064183 1071435 1074757 1097368 1086371 1078771 1115083 1113852 1161351 1170583 1164993 1170918 1154882 1100013 1084207 1178842 1172008 1170918 Changes incorporated in this version: 1178842 1172008 1170918 Patches accumulated and obsoleted by this patch: 100075-16 Patches which conflict with this patch: Patches required with this patch: 101832-02 or later if a CD-ROM-based filesystem on the same machine will be NFS-exported. Obsoleted by: 100988 on Aug/11/95 Files included with this patch: README etc/rpc.lockd etc/rpc.statd sys/sun4/ufs_lockf.o sys/sun4c/ufs_lockf.o sys/sun4m/ufs_lockf.o sys/ufs/lockf.h Problem Description: PROBLEMS FIXED BY 100075-17: Removed hsfs related fixes. Refer to patch 101832 for hsfs fixes. 1178842 --> Patch 101784-03: fixes bug 1178842 which caused Assertion failed panic 1172008 --> fcntl behaves differently between local and NFS locking 1170918 --> File locking on remotly mounted r/o cdrom fails. PROBLEMS FIXED BY 100075-16: This patch is a combined rpc.lockd and HSFS jumbo patch. This patch incorporates patch 100075-15 plus the following patches: 101832-01 --> (Bug 1164993) Using a 4.X CDROM server for doing Solaris 2.x net installations fails due to a 4.X hsfs bug. 101874-01 --> This patch fixes a problem where 4.1.3 will not allow grant Read Locks on remotely mounted CDROM file systems. Patch for bug 1170583, hsfs patch. PROBLEMS FIXED BY 100075-15: 1161351 --> Under a reasonable load the lock daemon deadlocks. PROBLEMS FIXED BY 100075-14: 1086371 --> rpc.lockd does not respond correctly to lock requests from machines in other DNS 1078771 --> nfs locking can't crash recover across domains 1115083 --> PC client locks not freed on client reboot 1113852 --> rpc.lockd dumps core in routine proc_priv_crash() This patch fixes bad binaries for patch T100075-12. PROBLEMS FIXED BY 100075-12 PATCH i) Fixes problem where locking across domains does not work. ii) Fixes problem where crash recovery across domains does not work. iii) Fixes problem where unmonitored locks are not freed upon client reboot. iv) Fixes lockd dumping core in proc_priv_crash. PROBLEMS FIXED BY 100075-11 PATCH i) corrects some problems with -10 PROBLEMS FIXED BY 100075-10 PATCH i) The SunDBE 1.1, 1.2 and 1.3 compatible patch built. PROBLEMS FIXED BY 100075-09 PATCH i) When /tmp was mounted as "tmpfs" file system lock recovery failed when clients rebooted. ii) When locking with svr4 (or 4.x) machines and one of the machines was rebooted, locking to that machine would not work until both machines were rebooted as the client handle had wrong port of rpc.lockd. iii) When a client systems recovers after crash, not all locks belonging to that system get released. Patch Installation Instructions: AS ROOT: After extracting patch contents into /tmp, become root and install the patch as follows: 1) Save the original files as .FCS: mv /usr/etc/rpc.lockd /usr/etc/rpc.lockd.FCS mv /usr/etc/rpc.statd /usr/etc/rpc.statd.FCS mv /usr/kvm/sys/ufs/lockf.h /usr/kvm/sys/ufs/lockf.h.FCS mv /usr/include/ufs/lockf.h /usr/include/ufs/lockf.h.FCS mv /usr/kvm/sys/`arch -k`/OBJ/ufs_lockf.o /usr/kvm/sys/`arch -k`/OBJ/ufs_lockf.o.FCS 2) Copy in the new patched files into the correct locations: cp /tmp/etc/rpc.lockd /usr/etc/rpc.lockd cp /tmp/etc/rpc.statd /usr/etc/rpc.statd cp /tmp/sys/ufs/lockf.h /usr/include/ufs cp /tmp/sys/ufs/lockf.h /usr/kvm/sys/ufs cp /tmp/sys/`arch -k`/ufs_lockf.o /usr/kvm/sys/`arch -k`/OBJ 3) Set ownership and file mode permission on all newly installed files: chmod 755 /usr/etc/rpc.lockd /usr/etc/rpc.statd chown root.staff /usr/etc/rpc.lockd /usr/etc/rpc.statd chmod 444 /usr/include/ufs/lockf.h chown root.staff /usr/include/ufs/lockf.h chmod 444 /usr/kvm/sys/ufs/lockf.h chown root.staff /usr/kvm/sys/ufs/lockf.h chmod 444 /usr/kvm/sys/`arch -k`/OBJ/ufs_lockf.o chown root.staff /usr/kvm/sys/`arch -k`/OBJ/ufs_lockf.o 4) Rebuild a new kernel and boot the machine using the new kernel: Rerun /etc/config and make and install the new kernel. Please refer to the system and networking administration manual for details on building and installing a new kernel.