[2419] in testers

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

sun4 7.6R: 7.7 sun update_ws is scrod

daemon@ATHENA.MIT.EDU (jweiss@MIT.EDU)
Tue Jun 21 21:12:21 1994

From: jweiss@MIT.EDU
To: testers@MIT.EDU, miki@MIT.EDU
Cc: jweiss@MIT.EDU
Date: Tue, 21 Jun 94 21:12:12 EDT

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

What were you trying to do?
	Look at the problems miki pointed me to in update_ws 

What's wrong:
	a bunch of things:

1) from:
diff /srvd/update_ws /afs/rel-eng/system/sun4m_53/srvd.77/update_ws
on a 7.6 sun
*** 134,142 ****
  	rsaix)
  		/etc/athena/named
  		;;
- 	sun*)
- 		/usr/sbin/in.named /etc/named.boot
- 		;;
  	*)
  		/etc/named /etc/named.boot
  		;;
--- 134,139 ----
***************
I believe miki's already found this problem.  These lines shouldn't have been deleted.


2)  I'm not sure these lines should have been removed either:
*** 196,206 ****
  		if [ -f /etc/named.pid ]; then
  			/usr/ucb/echo -n "named..."
  			kill `cat /etc/named.pid` > /dev/null 2>&1
- 		fi
- 		pid=`/usr/bin/ps -e | /usr/bin/grep in.named | /usr/bin/sed -e 's/^  *//' -e 's/ .*//'`
- 		if test "$pid"
- 			then
- 			kill $pid
  		fi
  		if [ -f /etc/athena/zhm.pid ]; then
  			/usr/ucb/echo -n "zhm..."
--- 191,196 ----


3) When the lines starting with 143 were uncommented, line 123 needed
to be uncommented too.  Miki, this is what cause the error you asked me about.


Please describe any relevant documentation references:
	Based on the diff, and the RCS Id line, something wierd may
	have happened in the source tree.

*** 2,8 ****
  #
  # Update script for Project Athena workstations
  #
! # $Id: update_ws,v 1.34 93/06/22 17:25:04 miki Exp $
  #
  
  trap "" 1 15
--- 2,8 ----
  #
  # Update script for Project Athena workstations
  #
! # $Id: update_ws,v 1.1 93/10/12 05:03:53 probe Exp Locker: root $
  #
  
  trap "" 1 15
***************

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