[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#46391: telnetd: All network ports in use



reassign 46391 libc6
quit

On Sat, Oct 02, 1999 at 07:24:37AM +1000, Brian May wrote:
> Package: telnetd
> Version: 0.14-7
> Severity: normal
> 
> I get the error:
> 
> telnetd: All network ports in use.

This is because openpty(3) failed.  So whatever it is, it's probably outside
telnetd's control.

You can try applying this patch to telnetd (it will be in the next release)
to get some more info on the error.  Alternatively you can try stracing or
ltracing the server.
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
Index: telnetd.c
===================================================================
RCS file: /home/gondor/herbert/src/CVS/debian/netkit-telnet/telnetd/telnetd.c,v
retrieving revision 1.5
diff -u -r1.5 telnetd.c
--- telnetd.c	1999/08/23 05:36:30	1.5
+++ telnetd.c	1999/10/01 12:26:29
@@ -597,7 +597,7 @@
 	 */
 	pty = getpty();
 	if (pty < 0)
-		fatal(net, "All network ports in use");
+		fatalperror(net, "getpty");
 
 	/* get name of connected client */
 	hp = gethostbyaddr((char *)&who->sin_addr, sizeof (struct in_addr),


Reply to: