[6904] in testers
Re: Account Registration
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Thu Apr 21 10:03:15 2005
Message-Id: <200504211403.j3LE33PQ025913@kamp-krusty.mit.edu>
To: testers@MIT.EDU
Cc: boojum@MIT.EDU, zacheiss@MIT.EDU
In-Reply-To: testers[6902]
Date: Thu, 21 Apr 2005 10:03:03 -0400
From: Jacob Morzinski <jmorzins@MIT.EDU>
Garry Zacheiss wrote:
> This should be fixed now, although I haven't had a chance to test it,
> since I'm not near an xlogin screen right now.
Hi,
In testing on dale this morning, the "Register for an Account"
button still doesn't work. I can't tell if we were supposed
to wait, or if it should be working now.
Poking into it, the "register" button on the xlogin screen calls
/afs/athena/system/register/xregister
...which is a shell script that checks `machtype -S` and enters
a shell case statement. The case statement accepts a fixed list
of sysnames, and the list does not include sun4x_510, and the
default "*" branch of the case statement gets called, which puts
up the "noregister" error message.
Stripping out irrelevant code, the logic goes like:
sgi_65)
sun4x_56|sun4x_57|sun4x_58|sun4x_59|i386_linux22)
i386_linux24|i386_rh9|i386_rhel3)
do_stuff ;;
*)
xterm -exec /mit/register/noregister ; exit ;;
It looks like one fix would be to include the new sun4x_510
sysname into the case statement, but I haven't yet tested this:
--- xregister Thu Apr 21 09:56:02 2005
+++ xregister.new Thu Apr 21 09:56:19 2005
@@ -11,7 +11,7 @@
DISPLAY=`/usr/bsd/hostname`:0.0 export DISPLAY
/usr/bin/X11/xset +fp /usr/lib/X11/fonts/75dpi/
;;
-sun4x_56|sun4x_57|sun4x_58|sun4x_59|i386_linux22)
+sun4x_510|sun4x_56|sun4x_57|sun4x_58|sun4x_59|i386_linux22)
;;
i386_linux24|i386_rh9|i386_rhel3)
/usr/X11R6/bin/xset +fp /usr/X11R6/lib/X11/fonts/75dpi:unscaled