[908] in Kerberos-V5-bugs
rlogind under ultrix and aix
daemon@ATHENA.MIT.EDU (Kenneth Duda)
Thu Oct 27 13:27:10 1994
Date: Thu, 27 Oct 1994 10:26:56 -0700
From: Kenneth Duda <kjd@DSG.Stanford.EDU>
To: krb5-bugs@MIT.EDU
Cc: jonathan@Bump.Stanford.EDU
Hi folks,
I'm having some trouble with the appl/bsd programs for krb5.B4-3.
First, krlogind doesn't seem to get a tty on AIX/RS6k --- my shell
reports
Warning: no access to tty (Not a typewriter).
Thus no job control in this shell.
Second, krlogin hangs on our ultrix machines. As you know, it forks
itself into a reader/writer process pair. One of its clones was here:
#0 0x43d4e4 in read () at ../read.s:18
#1 0x40250c in des_read (fd=3, buf=0x10011f60 "", len=8192) at krlogin.c:1540
#2 0x4020e8 in reader (oldmask=0x7fffb98c) at krlogin.c:1309
#3 0x401334 in doit (oldmask=0x7fffb98c) at krlogin.c:765
#4 0x4010dc in main (argc=0, argv=0x7fffb9dc) at krlogin.c:613
and the other was here:
#0 0x43d8f8 in select () at ../select.s:18
#1 0x4016c8 in writer () at krlogin.c:939
#2 0x4013b4 in doit (oldmask=0x7fffb98c) at krlogin.c:791
#3 0x4010dc in main (argc=0, argv=0x7fffb9dc) at krlogin.c:613
I imagine the problem has something to do with krlogin.c:932:
/* we need to wait until the reader() has set up the terminal, else
the read() below may block and not unblock when the terminal
state is reset.
*/
but I must admit this tty stuff is beyond me; I hope you can help!
(I've noticed it sometimes works if I bang on the keyboard during its
startup. Very odd.)
Third, I can't the RS6k's working as krsh (or krpc) servers. The krsh
client hangs (on AIX or ultrix), with no krshd process running. krpc
produces
kcmd: socket: Address already in use
krcp: kcmd to host ^E\3020 failed - Unknown code ____ 255
trying normal rcp (/bin/rcp)
on AIX clients, and the more sensible
/pescadero/u1/kjd/tmp Lahaina 32 krcp foo.pl bump:/tmp/foo.pl
Couldn't authenticate to server: Connection reset by peer
krcp: kcmd to host bump.Stanford.EDU failed - Connection reset by peer
trying normal rcp (/bin/rcp)
on Ultrix clients. I haven't done any investigation as to why krshd
is exiting on the rs6k servers, or why that makes the krsh client
hang.
By the way, our ultrix machines are:
ULTRIX V4.2A (Rev. 47) (+ MULTICAST 1.2) System #22: Mon Feb 1 02:21:32 PST 1993
UWS V4.2A (Rev. 420)
and our AIX machines are:
IBM AIX Version 3.2: Release 5
Thanks!
Kenneth J. Duda http://www-dsg.stanford.edu/KennethDuda.html
<kjd@cs.stanford.edu> Stanford University Distributed Systems Group
415-723-9429 Building 460 / Stanford, CA 94305