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

Bug#141760: marked as done (ssh2: init.d file has wrong default port)

Your message dated Sun, 29 Dec 2002 11:55:49 +0100
with message-id <E18Sb6j-0003mx-00@kalypso>
and subject line Your ssh2 bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 8 Apr 2002 11:29:53 +0000
>From bcwhite@precidia.com Mon Apr 08 06:29:53 2002
Return-path: <bcwhite@precidia.com>
Received: from ottgate.precidia.com [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16uXLM-0004pl-00; Mon, 08 Apr 2002 06:29:53 -0500
Received: from tolkien.ott.precidia.com [] (mail)
	by ottgate.precidia.com with esmtp (Exim 3.35 #1 (Debian))
	id 16uXLE-0000Fc-00; Mon, 08 Apr 2002 07:29:44 -0400
Received: from adams.ott.precidia.com (precidia.com) [] 
	by tolkien.ott.precidia.com with esmtp (Exim 3.35 #1 (Debian))
	id 16uXLF-0005Rk-00; Mon, 08 Apr 2002 07:29:45 -0400
Message-ID: <3CB17F34.4EBEFACD@precidia.com>
Date: Mon, 08 Apr 2002 07:29:56 -0400
From: Brian White <bcwhite@precidia.com>
Organization: Precidia Technologies  http://www.precidia.com/
X-Mailer: Mozilla 4.79 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Debian Bugs <submit@bugs.debian.org>
Subject: ssh2: init.d file has wrong default port
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: ssh2
Version: 2.0.13-7

When SSH2 starts, it tries to read the port number from the config file.
If it is not present, it sets PORT=2222.  However, SSH2 starts on port 22
if that parameter is not set.

This prevents the "stop" and "restart" directives from working:

wolf:~$ ls -l /var/run/ssh*
-rw-r--r--    1 root     root            4 Apr  8 05:59 /var/run/sshd2_22.pid

wolf:~$ bash -x /etc/init.d/ssh2 restart
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/sbin/sshd2
+ NAME=sshd2
++ perl -ne 'print $1 if /^\s*Port\s+(\d+)\b/' /etc/ssh2/sshd2_config
+ '[' -z '' ']'
+ PORT=2222
+ DESC=Secure Shell server v2
+ test -f /usr/sbin/sshd2
+ set -e
+ echo -n 'Restarting Secure Shell server v2: '
Restarting Secure Shell server v2: + start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/sshd2_2222.pid --exec /usr/sbin/sshd2
+ sleep 1
+ start-stop-daemon --start --quiet --pidfile /var/run/sshd2_2222.pid --exec /usr/sbin/sshd2
FATAL: Creating listener failed: port 22 probably already in use!

                                 ( bcwhite@precidia.com )

          80% of people surveyed think they are above-average drivers

Received: (at 141760-done) by bugs.debian.org; 29 Dec 2002 10:55:52 +0000
>From bas@caradhras.net Sun Dec 29 04:55:52 2002
Return-path: <bas@caradhras.net>
Received: from smtpzilla5.xs4all.nl [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18Sb6k-0002Pg-00; Sun, 29 Dec 2002 04:55:51 -0600
Received: from kalypso (ramstraat29.xs4all.nl [])
	by smtpzilla5.xs4all.nl (8.12.0/8.12.0) with ESMTP id gBTAtoTo078855
	for <141760-done@bugs.debian.org>; Sun, 29 Dec 2002 11:55:50 +0100 (CET)
Received: from bas by kalypso with local (Exim 3.36 #1 (Debian))
	id 18Sb6j-0003mx-00
	for <141760-done@bugs.debian.org>; Sun, 29 Dec 2002 11:55:49 +0100
From: Bas Zoetekouw <bas@debian.org>
To: 141760-done@bugs.debian.org
Subject: Your ssh2 bug
Message-Id: <E18Sb6j-0003mx-00@kalypso>
Sender: Bas Zoetekouw <bas@caradhras.net>
Date: Sun, 29 Dec 2002 11:55:49 +0100
Delivered-To: 141760-done@bugs.debian.org
X-Spam-Status: No, hits=-0.7 required=5.0


Ssh2 was removed from the Debian archive this morning.  It's
replacement, openssh (ssh package), does not seem to be affected
by this bug; therefore, I'm closing it.

Kind regards,
Bas Zoetekouw.

Reply to: