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

Unidentified subject!



	<yoshfuji@linux-ipv6.org>  Fri Mar  1 22:46:58 2002
X-Envelope-Sender: yoshfuji@linux-ipv6.org
Received: (qmail 5284 invoked from network); 2 Mar 2002 04:46:53 -0000
Received: from yue.hongo.wide.ad.jp (root@203.178.139.94)
  by murphy.debian.org with SMTP; 2 Mar 2002 04:46:53 -0000
Received: from localhost (yoshfuji@localhost [127.0.0.1])
	by yue.hongo.wide.ad.jp (8.9.3+3.2W/8.9.3/Debian 8.9.3-21) with ESMTP id NAA32701;
	Sat, 2 Mar 2002 13:47:30 +0900
In-Reply-To: <[🔎] 5bg03jg5gr.fsf@chiark.greenend.org.uk>
References: <5bpu2s9z0d.fsf@chiark.greenend.org.uk>
	<20020226134439.GB7126@wiggy.net>
	<[🔎] 5bg03jg5gr.fsf@chiark.greenend.org.uk>
X-URL: http://www.yoshifuji.org/%7Ehideaki/
X-Fingerprint: 90 22 65 EB 1E CF 3A D1 0B DF 80 D8 48 07 F8 94 E0 62 0E EA
X-PGP-Key-URL: http://www.yoshifuji.org/%7Ehideaki/hideaki@yoshifuji.org.asc
Subject: Re: IPv6 support
To: djm@mindrot.org, matthew@debian.org
Cc: wichert@wiggy.net, debian-ipv6@lists.debian.org,
        debian-ssh@lists.debian.org, yoshfuji@linux-ipv6.org
X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 (AOI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20020302134730D.yoshfuji@linux-ipv6.org>
Date: Sat, 02 Mar 2002 13:47:30 +0900
From: YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= 
	<yoshfuji@linux-ipv6.org>
X-Dispatcher: imput version 991025(IM133)
Lines: 29
X-Spam-Status: No, hits=-7.0 required=5.0 tests=IN_REP_TO,UNIFIED_PATCH version=2.01

Hi, (sorry if this message is duplicated...)

In article <[🔎] 5bg03jg5gr.fsf@chiark.greenend.org.uk> (at 02 Mar 2002 00:48:20 +0000), Matthew Vernon <matthew@debian.org> says:

> Mar  2 00:40:07 ming sshd[23005]: Server listening on :: port 22.
> Mar  2 00:40:07 ming sshd[23005]: error: Bind to port 22 on 0.0.0.0
> failed: Address already in use.
:
> Any ideas? I want this to work before I upload it...

Please apply this fix (against openssh-3.0.2p1) to suppress an 
"error" message which have people confused because it is a warning 
in fact.

--- openssh-3.0.2p1/sshd.c	Mon Nov 12 09:07:12 2001
+++ openssh-3.0.2p1-fix/sshd.c	Sat Mar  2 13:11:59 2002
@@ -876,7 +876,7 @@
 
 			/* Bind the socket to the desired port. */
 			if (bind(listen_sock, ai->ai_addr, ai->ai_addrlen) < 0) {
-				if (!ai->ai_next)
+				if (!num_listen_socks && !ai->ai_next)
 				    error("Bind to port %s on %s failed: %.200s.",
 					    strport, ntop, strerror(errno));
 				close(listen_sock);

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA



Reply to: