[13525] in Athena Bugs

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

sun4 [7.7R]: /etc/init.d/athena

daemon@ATHENA.MIT.EDU (jweiss@MIT.EDU)
Thu May 25 21:49:00 1995

From: jweiss@MIT.EDU
Date: Thu, 25 May 1995 21:48:49 -0400
To: bugs@MIT.EDU, rel-eng@MIT.EDU
Cc: jweiss@MIT.EDU


System name:		the-other-woman
Type and version:	SPARC/Classic 7.7R
Display type:		cgthree

What were you trying to do?
	understand the following line, but that's not important right now.
        if [ "${AFSCLIENT-true}" = "true" ]; then


What went wrong?
	I found a bug.  Specifically, if I try to run with any number
of afsd's other than 4, by specifying the number as the value of
AFSCLIENT in /etc/athena/rc.conf, the afs module will not be loaded
into the kernel.


What should have happened?
	I shouldn't be able to find bugs just by looking at the code. :-)


Yo, got any documentation, or other info?
	
*** /etc/init.d/athena	Fri Jan  6 06:40:06 1995
--- /usr/tmp/athena	Thu May 25 21:46:20 1995
***************
*** 83,94 ****
  			/usr/vice/etc/cacheinfo 		>/dev/console
  	fi
  
  	if [ "${TIMESRV}" = "true" -o "${TIMECLIENT}" != "true" ]; then
  		AFSOPTS="-nosettime"
  	fi
  	if [ "${AFSCLIENT-true}" = "true" ]; then
  		AFSCLIENT=4
- 		modload /kernel/fs/afs
  	fi
  	AFSOPTS="${AFSOPTS} -daemons ${AFSCLIENT}"
  	/etc/afsd ${AFSOPTS}
--- 83,94 ----
  			/usr/vice/etc/cacheinfo 		>/dev/console
  	fi
  
+ 	modload /kernel/fs/afs
  	if [ "${TIMESRV}" = "true" -o "${TIMECLIENT}" != "true" ]; then
  		AFSOPTS="-nosettime"
  	fi
  	if [ "${AFSCLIENT-true}" = "true" ]; then
  		AFSCLIENT=4
  	fi
  	AFSOPTS="${AFSOPTS} -daemons ${AFSCLIENT}"
  	/etc/afsd ${AFSOPTS}


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