[12198] in Athena Bugs

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

sun4 7.7C: reactivate

daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Thu Jul 7 21:24:09 1994

To: bugs@MIT.EDU
Cc: jweiss@MIT.EDU
Date: Thu, 07 Jul 1994 21:24:00 EDT
From: Jonathon Weiss <jweiss@MIT.EDU>

System name:		the-other-woman
Type and version:	SPARC/Classic 7.7C (1 update(s) to same version)
Display type:		cgthree

What were you trying to do?
	Figure out why reactivate on my girlfriends Linux machine
	blows away the X socket; but that is so not important right
	now, it isn't funny.

What's wrong:
	reactivate (on the sun, and I'm sure the other athena
	supported platforms) always tells the zhm to reset state.

What should have happened:
	The reset should only happen if ZCLIENT is true in rc.conf,
	since that is a condition for rc to have started zhm in the
	first place.

Please describe any relevant documentation references:
	replace this line:
if [ -f /etc/athena/zhm.pid ] ; then 
	with this one:
if [ -f /etc/athena/zhm.pid -a "${ZCLIENT}" = "true"] ; then 

Yes, I know this is extraordinarily nit-picky.  However, it is the
right thing for a machine that isn't a zclient.

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