[18361] in Athena Bugs

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

linux : init/afs

daemon@ATHENA.MIT.EDU (foley@MIT.EDU)
Thu Sep 28 03:01:48 2000

Message-Id: <200009280701.DAA09517@bikini.mit.edu>
To: bugs@MIT.EDU
From: foley@MIT.EDU
Date: Thu, 28 Sep 2000 03:01:43 -0400

System name:		bikini.mit.edu
Type and version:	i686 
Display type:		XFree86 3.3.6 SVGA

Shell:			/bin/bash
Window manager:		unknown

What were you trying to do?
	"telinit 1" to bring my machine into singleuser mode
	AFS didn't shutdown, and turned my machine into an unusable state.

What's wrong:
       /etc/rc.d/rc1.d/K20afs is not getting run.
       This is becuase /etc/rc.d/init.d/afs does not create/delete
       a lock file in /var/lock/subsys/afs

What should have happened:
	The script should have created the lock, so that AFS gets shut
	down cleanly.  The only reason that AFS doesn't screw up usually
	is because the umount stuff at the end does so to /afs which engages
	the auto-shutdown sequence.
	1.  put a "touch /var/lock/subsys/afs" near the end of the start seq.
	2.  put a "rm -f /var/lock/subsys/afs" near the end of the stop seq.

Please describe any relevant documentation references:
	I figured this out finally with much help from 
	Gerald Britton<gbritton@mit.edu>

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