Patch-ID# 100421-04
Keywords: /etc/utmp rpc.rexd, accounting, rpc, entry, log, utmp
Synopsis: SunOS 4.1;4.1.1;4.1.2;4.1.3:  Jumbo rpc.rexd patch
Date: Sep/27/94

Solaris release: 1.0 1.0.1 1.1 1.1C

SunOS release: 4.1, 4.1.1, 4.1.2, 4.1.3, 4.1.3C

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc
    NOTE: sun4 sun4c sun4m

BugId's fixed with this patch: 1069208 1073436 1031946 1129660

Changes incorporated in this version: 1129660

Patches which may conflict with this patch: 

Obsoleted by: 

Files included with this patch: rexd 

Problem Description: 

100421-04
bugid 1129660 
	introduced locking (instead of renaming) of the /etc/mtab file
	during mount_nfs/umount_nfs operations 
	also perform update of the entire /etc/mtab file in memory 
	before writing it to the disk

30-Nov-92 Bug Fix 1031926 and refit to 4.1.2 4.1.3.
REXD/ON CAN DEADLOCK AND HANG

08-Nov-91 bugfix 1073436 Rev -02 
Any application using the syscall getlogin()  as executed from 'on -i' 
fails to retrieve user login from /etc/utmp  on 4.1.1 system.

04-Nov-91 bugfix 1069208 Rev -01
Since 4.0 rpc.rexd fails to log utmp entry properly. 
This causes syscalls which get user info on the server to return NULL, and 
programs which extract user information from /etc/utmp are useless. You 
can't tell who is on the system without doing a 'ps ax' and your can't tell
from which system they are coming from. System accounting utilities can't
tell what users are using their systems.

Install Instructions: 

As root:

mv /usr/etc/rpc.rexd /usr/etc/rpc.rexd.FCS
cp `arch`/4.1.3/rpc.rexd /usr/etc

use chmod and chown to set the file and owner permissions for rpc.rexd 

-rwxr-xr-x  1 root     staff       /usr/etc/rpc.rexd*

kill any prerunning rpc.rexd.

