[19982] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 9.0.20: reactivate

daemon@ATHENA.MIT.EDU (jhawk@MIT.EDU)
Thu Nov 8 12:16:28 2001

Message-Id: <200111081716.MAA13226@w20-575-69.mit.edu>
To: bugs@MIT.EDU
From: jhawk@MIT.EDU
Date: Thu, 08 Nov 2001 12:16:25 -0500

System name:		w20-575-69.mit.edu
Type and version:	Sun-Blade-100 9.0.20
Display type:		ifb

Shell:			/bin/athena/tcsh
Window manager:		unknown

What were you trying to do?
	A user reported that he was being logged out of this workstation
	with the message "Cleaning up..." in the console window.

What's wrong:
	It's hard to tell. I added some instrumentation to reactivate
	to set -x; date; exec > /var/tmp/reactivate, but ultimately
	it overwrote itself during the public ws cleanup.

scottee   pts/1        :0.0             Thu Nov  8 11:43 - 11:47  (00:04)
root      pts/2        :0.0             Thu Nov  8 11:36 - 11:42  (00:06)

	Here's the last time the user got logged out.
here's the snippett from reactivate:

+ echo ====================================================================== 
======================================================================
+ date 
Thu Nov  8 11:46:53 EST 2001
+ trap  HUP INT QUIT PIPE ALRM TERM USR1 USR2 
PATH=/bin:/etc/athena:/bin/athena:/usr/bin:/usr/sbin:/usr/ucb:/usr/bsd:/sbin
+ export PATH 
+ /bin/athena/machtype 
HOSTTYPE=sun4
+ export HOSTTYPE 
pidfile=/var/athena/reactivate.pid
countfile=/var/athena/reactivate.count
nologin=/etc/nologin
made_nologin=false
afsconfig=/afs/athena.mit.edu/system/config/afs
+ umask 22 
+ . /etc/athena/rc.conf 
HOST=w20-575-69.mit.edu
+ export HOST 
ADDR=18.187.0.88
+ export ADDR 
NETDEV=eri0
+ export NETDEV 
MACHINE=Sun-Blade-100
+ export MACHINE 
SYSTEM=Solaris
+ export SYSTEM 
PUBLIC=true
+ export PUBLIC 
TIMESRV=false
+ export TIMESRV 
TIMECLIENT=true
+ export TIMECLIENT 
TIMEHUB=time.MIT.EDU
+ export TIMEHUB 
RVDCLIENT=true
+ export RVDCLIENT 
AFSSRV=false
+ export AFSSRV 
AFSCLIENT=true
+ export AFSCLIENT 
AFSADJUST=true
+ export AFSADJUST 
NFSSRV=false
+ export NFSSRV 
NFSCLIENT=true
+ export NFSCLIENT 
SENDMAIL=false
+ export SENDMAIL 
SAVECORE=false
+ export SAVECORE 
LPD=false
+ export LPD 
OLC=false
+ export OLC 
KRBSRV=false
+ export KRBSRV 
KADMSRV=false
+ export KADMSRV 
ZCLIENT=true
+ export ZCLIENT 
ZSERVER=false
+ export ZSERVER 
MRUPDATE=false
+ export MRUPDATE 
SSHD=false
+ export SSHD 
NOCREATE=false
+ export NOCREATE 
NOATTACH=false
+ export NOATTACH 
NOREMOTE=false
+ export NOREMOTE 
AUTOUPDATE=true
+ export AUTOUPDATE 
SYNCCONFIG=true
+ export SYNCCONFIG 
ACCESSON=false
+ export ACCESSON 
MAILRELAY=default
+ export MAILRELAY 
+ [ -f /var/athena/update.running ] 
+ [  = -prelogin ] 
full=true
+ [ -s /var/athena/reactivate.pid ] 
+ echo 12498 
+ trap cleanexit EXIT 
+ [ true = true ] 
+ [ linux = sun4 ] 
+ who -u 
+ awk { print $7; } 
pids=12373
12468
12483
+ cat /var/athena/dm.pid 
dmpid=12373
+ [ 12373 != 12373 ] 
+ [ 12468 != 12373 ] 
+ kill -0 12468 
+ [ 0 -eq 0 ] 
+ rm -f /var/athena/reactivate.count 
+ exit 0 
+ cleanexit 
+ [ true = false ] 
+ rm -f /var/athena/reactivate.pid 
+ echo ====================================================================== 
======================================================================
+ date 
Thu Nov  8 11:47:09 EST 2001
+ trap  HUP INT QUIT PIPE ALRM TERM USR1 USR2 
PATH=/bin:/etc/athena:/bin/athena:/usr/bin:/usr/sbin:/usr/ucb:/usr/bsd:/sbin
+ export PATH 
+ /bin/athena/machtype 
HOSTTYPE=sun4
+ export HOSTTYPE 
pidfile=/var/athena/reactivate.pid
countfile=/var/athena/reactivate.count
nologin=/etc/nologin
made_nologin=false
afsconfig=/afs/athena.mit.edu/system/config/afs
+ umask 22 
+ . /etc/athena/rc.conf 
HOST=w20-575-69.mit.edu
+ export HOST 
ADDR=18.187.0.88
+ export ADDR 
NETDEV=eri0
+ export NETDEV 
MACHINE=Sun-Blade-100
+ export MACHINE 
SYSTEM=Solaris
+ export SYSTEM 
PUBLIC=true
+ export PUBLIC 
TIMESRV=false
+ export TIMESRV 
TIMECLIENT=true
+ export TIMECLIENT 
TIMEHUB=time.MIT.EDU
+ export TIMEHUB 
RVDCLIENT=true
+ export RVDCLIENT 
AFSSRV=false
+ export AFSSRV 
AFSCLIENT=true
+ export AFSCLIENT 
AFSADJUST=true
+ export AFSADJUST 
NFSSRV=false
+ export NFSSRV 
NFSCLIENT=true
+ export NFSCLIENT 
SENDMAIL=false
+ export SENDMAIL 
SAVECORE=false
+ export SAVECORE 
LPD=false
+ export LPD 
OLC=false
+ export OLC 
KRBSRV=false
+ export KRBSRV 
KADMSRV=false
+ export KADMSRV 
ZCLIENT=true
+ export ZCLIENT 
ZSERVER=false
+ export ZSERVER 
MRUPDATE=false
+ export MRUPDATE 
SSHD=false
+ export SSHD 
NOCREATE=false
+ export NOCREATE 
NOATTACH=false
+ export NOATTACH 
NOREMOTE=false
+ export NOREMOTE 
AUTOUPDATE=true
+ export AUTOUPDATE 
SYNCCONFIG=true
+ export SYNCCONFIG 
ACCESSON=false
+ export ACCESSON 
MAILRELAY=default
+ export MAILRELAY 
+ [ -f /var/athena/update.running ] 
+ [ -prelogin = -prelogin ] 
+ [ true = false ] 
+ echo Cleaning up... 
full=false
+ [ -s /var/athena/reactivate.pid ] 
+ echo 12522 
+ trap cleanexit EXIT 
+ [ false = true ] 
+ [ ! -f /etc/nologin ] 
made_nologin=true
+ echo Workstation is reactivating. 
+ [ -f /var/athena/clusterinfo.bsh ] 
+ . /var/athena/clusterinfo.bsh 
LPR=python
+ export LPR 
SYSLIB=athena-sun4sys-90
+ export SYSLIB 
+ awk {a=$5} END{print a} /etc/athena/version 
THISVERS=9.0.20
+ [ sun4 = linux -a -n  ] 
config=/srvd
+ cat /var/athena/reactivate.count 
count=
+ [ -z  ] 
count=0
+ expr 0 % 10 
+ [ -prelogin = -detach -o 0 -eq 0 ] 
dflags=
+ [ ! -t 0 ] 
quiet=-q
+ /bin/athena/fsid -q -p -a 
+ [ -f /var/athena/zhm.pid -a true = true ] 
+ /bin/cat /var/athena/zhm.pid 
+ /bin/kill -HUP 531 
+ rm -rf /var/tmp/!!!SuperLock!!! /tmp/.esd 
+ [ sun4 = sun4 ] 
+ rm -rf /var/adm/utmp /var/adm/wtmp 
+ rm -rf /tmp/.sawfish-scottee 
+ [ false = true ] 
+ [ true = true ] 
+ [ -r /srvd/etc/passwd ] 
+ syncupdate -c /etc/passwd.local.new /srvd/etc/passwd /etc/passwd.local 
+ [ -r /srvd/etc/shadow ] 
+ syncupdate -c /etc/shadow.local.new /srvd/etc/shadow /etc/shadow.local 
+ [ -r /srvd/etc/group ] 
+ syncupdate -c /etc/group.local.new /srvd/etc/group /etc/group.local 
+ rm -rf /etc/athena/access 
+ [ -s /etc/passwd.local ] 
+ syncupdate -c /etc/passwd.new /etc/passwd.local /etc/passwd 
+ [ -s /etc/shadow.local ] 
+ syncupdate -c /etc/shadow.new /etc/shadow.local /etc/shadow 
+ [ -s /etc/group.local ] 
+ syncupdate -c /etc/group.new /etc/group.local /etc/group 
+ [ false = true ] 
+ /etc/athena/cleanup -passwd 
+ [ false = true ] 
+ [ false = true -a -f /usr/athena/bin/access_on ] 
+ [ false != true -a -f /usr/athena/bin/access_off ] 
+ /usr/athena/bin/access_off 
+ [ false = true ] 
+ exit 0 
+ cleanexit 
+ [ true = true ] 
+ rm -f /etc/nologin 
+ rm -f /var/athena/reactivate.pid 


  I assume that it must be being run from xlogin, though I don't really
understand how that could be. Perhaps something else is logging the user
out, but I don't see why he would see the Cleaning up... message
as the first indication of that.

   This problem ocurred multiple times on this workstation, but not on others.
Ultimately the user had to leave before I finished debugging.


What should have happened:
	[Please replace this line with your information.]

Please describe any relevant documentation references:
	[Please replace this line with your information.]

home help back first fref pref prev next nref lref last post