Ash + telnetd: telnet client hangs after exit

Alexander Kriegisch Alexander at Kriegisch.name
Mon Oct 15 17:24:06 UTC 2007


I acknowledge that login's PPID is telnetd's PID:

> $ ps -AF | grep 'defun\|telnet' | grep -v grep
> root       440 31551  0   558   488   0 19:14 pts/5    00:00:00
./busybox telnetd -F
> root       469   440  0     0     0   0 19:15 ?        00:00:00
[login] <defunct>

Actually the "setconsole -r; setconsole; exit" test only fails with BB
telnetd. The regular Linux telnetd does not show this behaviour, the
session is closed as expected.

I cannot comment on Ralf's technical comments, this is beyond my
knowledge. I can only deliver little test results. :-|
--
Alexander Kriegisch




More information about the busybox mailing list