Your message dated Wed, 11 Feb 2004 09:23:41 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#231045: ssh: fails to start as daemon -- runs fine with -D
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; 4 Feb 2004 04:57:07 +0000
>From [EMAIL PROTECTED] Tue Feb 03 20:57:07 2004
Return-path: <[EMAIL PROTECTED]>
Received: from steen6.sscnet.ucla.edu (gubbio) [128.97.184.93] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1AoF63-00023k-00; Tue, 03 Feb 2004 20:57:07 -0800
Received: from root by gubbio with local (Exim 3.36 #1 (Debian))
id 1AoF5y-0007b9-00; Tue, 03 Feb 2004 20:57:02 -0800
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: David Liontooth <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: ssh: fails to start as daemon -- runs fine with -D
X-Mailer: reportbug 2.37
Date: Tue, 03 Feb 2004 20:57:02 -0800
Message-Id: <[EMAIL PROTECTED]>
X-BadReturnPath: [EMAIL PROTECTED] rewritten as [EMAIL PROTECTED]
using "From" header
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no
version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level:
Package: ssh
Version: 1:3.6.1p2-9
Severity: normal
Tags: sid
The sshd daemon fails to start up on boot, or when issuing "/etc/init.d/ssh
start",
or on a simple "sshd". There is no error message -- in fact the receipt is
normal
in the case of the init.d script: "Starting OpenBSD Secure Shell server: sshd"
and
no newline.
In contrast, starting the ssh service with a simple "sshd -D" works without
problems.
I put /usr/sbin/sshd -D >& log & into /etc/init.d/bootmisc.sh and have normal
functionality.
The problem may well be due to another package; I'm unsure how to troubleshoot.
Same results with 1:3.6.1p2-11.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24
Locale: LANG=C, LC_CTYPE=C
Versions of packages ssh depends on:
ii adduser 3.51 Add and remove users and groups
ii debconf 1.3.22 Debian configuration management sy
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libpam-modules 0.76-14 Pluggable Authentication Modules f
ii libpam0g 0.76-14 Pluggable Authentication Modules l
ii libssl0.9.7 0.9.7c-5 SSL shared libraries
ii libwrap0 7.6-ipv6.1-3 Wietse Venema's TCP wrappers libra
ii zlib1g 1:1.2.1-2 compression library - runtime
-- debconf information:
* ssh/privsep_tell:
ssh/insecure_rshd:
ssh/privsep_ask: true
ssh/ssh2_keys_merged:
ssh/user_environment_tell:
* ssh/forward_warning:
* ssh/insecure_telnetd:
ssh/new_config: true
* ssh/use_old_init_script: true
* ssh/protocol2_only: true
ssh/encrypted_host_key_but_no_keygen:
* ssh/run_sshd: true
* ssh/SUID_client: true
---------------------------------------
Received: (at 231045-done) by bugs.debian.org; 11 Feb 2004 09:23:45 +0000
>From [EMAIL PROTECTED] Wed Feb 11 01:23:45 2004
Return-path: <[EMAIL PROTECTED]>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1Aqqav-0008QX-00; Wed, 11 Feb 2004 01:23:45 -0800
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
for [EMAIL PROTECTED]
id 1Aqqat-0002Zq-00; Wed, 11 Feb 2004 09:23:43 +0000
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
for [EMAIL PROTECTED]
id 1Aqqar-00009G-00; Wed, 11 Feb 2004 09:23:41 +0000
Date: Wed, 11 Feb 2004 09:23:41 +0000
From: Colin Watson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#231045: ssh: fails to start as daemon -- runs fine with -D
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.3.28i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_10
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no
version=2.60-bugs.debian.org_2004_02_10
X-Spam-Level:
On Wed, Feb 04, 2004 at 08:34:57PM -0800, David Liontooth wrote:
> Colin Watson wrote:
> >Please install the strace package and run 'strace -f sshd'. (I have a
> >guess, but we shall see ...)
My guess was right:
[...]
> open("/dev/null", O_RDWR) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=7242, ...}) = 0
> close(3) = 0
[...]
Your /dev/null has somehow become a regular file instead of a character
device, which means that the daemon() library call fails. Fix that. As
root:
rm /dev/null
mknod -m 666 /dev/null c 1 3
If you could track down what broke /dev/null and file a bug on it if
it's a Debian package, then that would be helpful.
Cheers,
--
Colin Watson [EMAIL PROTECTED]