Package: telnetd
Version: 0.17-36
Severity: normal

telnetd does not appear to complete passing input from the child process
after SIGCHLD is received.  this can be shown using a short script like

  #!/bin/sh
  echo "firstly this"
  sleep 1
  echo "lastly this"

and an entry such as this in inetd.conf to execute it

  someserv stream tcp nowait someuser /usr/sbin/in.telnetd -h -L 
/home/someuser/script

the second line of printed text from the script will rarely come through.
however, using the telnetd on a freebsd system (7.3 was tested in this 
case) it always works as expected.  note: the -L option needs to be changed 
to -p, as that's what used there.

I did confirme that the problem occurs when not using the -L/-p options and
instead setting the script as the user's shell, but used them in my example 
above for simplicity.


-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages telnetd depends on:
ii  adduser                 3.110            add and remove users and groups
ii  libc6                   2.7-18lenny6     GNU C Library: Shared libraries
ii  openbsd-inetd [inet-sup 0.20080125-2     The OpenBSD Internet Superserver
ii  passwd                  1:4.1.1-6+lenny1 change and administer password and

telnetd recommends no packages.

telnetd suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to