[10490] in Athena Bugs

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

rsaix 7.5B: zwgc?

daemon@ATHENA.MIT.EDU (tom palka)
Fri May 7 09:17:57 1993

Date: Fri, 7 May 1993 09:17:52 -0400
To: bugs@Athena.MIT.EDU
From: tom palka <tompalka@mit.edu>


System name:		air-traffic-controller
Type and version:	POWER 7.5B
Display type:		graygda

What were you trying to do?

I'm not sure if this is a zwgc problem, but here is a description.  I
want to have my tickets called "/tmp/tkt_tompalka", so I have the
following piece of code at the start of my .xsession:

  mv $KRBTKFILE /tmp/tkt_tompalka
  KRBTKFILE=/tmp/tkt_tompalka                    ; export KRBTKFILE

It works perfectly fine on all other platforms (including sparcs) but
not on the RS/6000s.  


What's wrong:

While other programs seems to find my tickets, zwgc doesn't.  Here is a
sample error when I'm logging in.  (I echo $KRBTKFILE and do a klist to
make sure that the tickets are there.)

  Athena Workstation (RSAIX) Version 7.5B Fri Mar 19 08:39:02 1993
  WINDOW_MANAGER= /mit/tompalka/bin/common/ttwm
  KRBTKFILE=      /tmp/tkt_tompalka
  Ticket file:    /tmp/tkt_tompalka
  Principal:      tompalka@ATHENA.MIT.EDU

    Issued           Expires          Principal
  May  7 09:10:11  May  7 19:10:11  krbtgt.ATHENA.MIT.EDU@ATHENA.MIT.EDU
  May  7 09:10:16  May  7 19:10:16  afs.athena.mit.edu@ATHENA.MIT.EDU
  zwgc: Kerberos error: message stream modified while setting location
  zwgc: Kerberos error: message stream modified while subscribing
  Error while subscribing: Kerberos error: message stream modified
  zwgc initprog exec: Error 0
  zwgc initprog of </etc/athena/zinit> failed with status [20].
  ./.xsession: /mit/tompalka/bin/rsaix/tdead: not found
  znol: Kerberos error: message stream modified locating user
  zwrite: Kerberos error: message stream modified while sending notice to tompalka
  zwrite: Kerberos error: message stream modified while sending notice to tompalka

KRBTKFILE is set to the right thing, klist finds it, why doesn't zwgc?
From my xterm:

  ~> klist
  Ticket file:    /tmp/tkt_tompalka
  Principal:      tompalka@ATHENA.MIT.EDU

    Issued           Expires          Principal
  May  7 09:10:11  May  7 19:10:11  krbtgt.ATHENA.MIT.EDU@ATHENA.MIT.EDU
  May  7 09:10:16  May  7 19:10:16  afs.athena.mit.edu@ATHENA.MIT.EDU


What should have happened:

zwgc should have looked at the KRBTKFILE env variable to see where to
find the tickets.


Please describe any relevant documentation references:

I'll annex my .xsession so that you know exactly what I'm doing at this
point.

   #!/bin/sh
   # tompalka

   hosttype=`machtype`

   mv $KRBTKFILE /tmp/tkt_tompalka
   KRBTKFILE=/tmp/tkt_tompalka                    ; export KRBTKFILE

   WINDOW_MANAGER=$HOME/bin/common/ttwm           ; export WINDOW_MANAGER
   WGFILE=/tmp/wg_tompalka                        ; export WGFILE
   PATH=$PATH:/usr/ccs/lib:/lib                   ; export PATH
   XSESSION=1				          ; export XSESSION #for xterm

   xrdb -D${hosttype} -merge $HOME/.xresources
   cpp  -D${hosttype} -P $HOME/.xmodmap.cpp | xmodmap -

   xterm -C -name xterm1 -T "session term" -geometry 80x26+200+400 &
   XSESSION=$! ; export XSESSION
   sleep 5

   echo "WINDOW_MANAGER=" $WINDOW_MANAGER
   echo "KRBTKFILE=     " $KRBTKFILE

   klist

   $WINDOW_MANAGER &

   attach -nozephyr -q -n sipb graphics perl consult gnu 2>/dev/null

   (zwgc &)
   sleep 10

   (nice znol | zwrite -s "" -q -n -c tompalka tompalka &)

   ($HOME/bin/${hosttype}/tdead | zwrite -s "" -q -n -c tompalka tompalka &)

   # what's the plans for today?
   $HOME/bin/common/today 

   # wait until the process pid $XSESSION exits
   wait $XSESSION

   # run the ~/.logout file
   $HOME/.logout

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