rlogin: connection closed (SOLUTION)
This fixes it. Looks like a race, I wasn't inclined to dig further, this got me past the problem. I suspect that parisc fork() runs parent/child in the opposite order from every other Unix and that causes a race but I have not looked.
--lm
netkit-rsh-0.17/rlogind/rlogind.c Mon Dec 2 13:48:48 2002 renamed from rlogind/rlogind.c Mon Dec 2 13:52:37 2002 +1 -0
@@ -429,6 +429,7 @@ if (netfd > 2) close(netfd); child(hname, termtype, lusername, authenticated); } + usleep(100000); close(slave); on = 1; ioctl(netfd, FIONBIO, &on);
In reference to a message from Larry McVoy, dated Dec 02:
Quoted 4 lines
This fixes it. Looks like a race, I wasn't inclined to dig further, this got me past the problem. I suspect that parisc
fork()runs parent/child in the opposite order from every other Unix and that causes a race but I have not looked.
Nah, this is not it. It's the problem with EAGAIN != EWOULDBLOCK on hppa-linux.
randolph
Signature · 3 lines
Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/
Quoted 8 lines · Randolph Chung
In reference to a message from Larry McVoy, dated Dec 02:
Quoted 4 lines
This fixes it. Looks like a race, I wasn't inclined to dig further, this got me past the problem. I suspect that parisc
fork()runs parent/child in the opposite order from every other Unix and that causes a race but I have not looked.Nah, this is not it. It's the problem with EAGAIN != EWOULDBLOCK on hppa-linux.
OK, whatever. I just though the rlogin people would want to know. This seems to be a long standing and annoying bug.
Signature · 2 lines
--- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm