[7705] in Athena Bugs

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

vax 7.2R: mkserv eos doesn't work

daemon@ATHENA.MIT.EDU (Bruce R Lewis)
Sat Jun 29 16:12:14 1991

To: bugs@ATHENA.MIT.EDU
Date: Sat, 29 Jun 91 16:12:10 EDT
From: Bruce R Lewis <brlewis@ATHENA.MIT.EDU>

System name:		euphrosyne
Type and version:	CVAXSTAR 7.2R (1 update(s) to same version)
Display type:		SM

What were you trying to do?
	mkserv eos

What's wrong:
	If the host isn't in hesinfo turnin sloc, it fails with
		test: too many arguments.
	If you don't have kerberos tickets, it won't put anyone in 
	the course creating/destroying acl.

What should have happened:
	the right thing

Please describe any relevant documentation references:

I've fixed eos.add so that, even though what it's doing is still broken,
at least the bugs listed above go away.  Also, the most broken places
are marked with XXX.

*** /source/athena/config/update/services/eos.add	Mon Sep 24 16:06:08 1990
--- eos.add	Sat Jun 29 16:07:08 1991
***************
*** 36,44 ****
  cp -p fxserver.new fxserver
  echo "done."
  
  if [ ! -f server.list ]; then
  	echo -n "Creating file server.list..."
! 	if [ `hesinfo turnin sloc | grep -c -i $host` -eq 1 ]; then
  		hesinfo turnin sloc > server.list
  	else
  		hostname > server.list
--- 36,46 ----
  cp -p fxserver.new fxserver
  echo "done."
  
+ # XXX Is hesiod the best source of the server list?
+ 
  if [ ! -f server.list ]; then
  	echo -n "Creating file server.list..."
! 	if [ 0`hesinfo turnin sloc | grep -c -i $host` -eq 1 ]; then
  		hesinfo turnin sloc > server.list
  	else
  		hostname > server.list
***************
*** 46,58 ****
  	echo "done."
  fi
  
  if [ ! -f $fdir/ACL-GOD ]; then
! 	echo -n "Creating file $fdir/ACL-GOD..."
! 	(blanche -u f_l; blanche -u eos)\
! 	| awk '{ printf "%s.@ATHENA.MIT.EDU\n", $0 }'\
! 	> $fdir/ACL-GOD
  	echo "done."
  fi
  
  rc=/etc/rc
  if [ -f /etc/rc.local ]; then rc="$rc /etc/rc.local";fi
--- 48,63 ----
  	echo "done."
  fi
  
+ # XXX Is moira the best thing to use to get the access control list?
+ 
  if [ ! -f $fdir/ACL-GOD ]; then
! 	echo "Creating file $fdir/ACL-GOD..."
! 	blanche -noauth -u f_l | awk '{ printf "%s.@ATHENA.MIT.EDU\n", $0 }'\
! 	| tee $fdir/ACL-GOD
  	echo "done."
  fi
+ 
+ # XXX Cut the following lines when FXSRV is a normal part of rc.local
  
  rc=/etc/rc
  if [ -f /etc/rc.local ]; then rc="$rc /etc/rc.local";fi

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