Bug#430455: openssh-server: sshd in unstable not executable any longer, seems to be a shared library
Package: openssh-server
Version: 1:4.6p1-1
Severity: grave
Justification: renders package unusable
After upgrading to latest unstable today, I couldn't start
sshd any longer. Find below a typescript showing the issues:
root@debian:~/tmp # /usr/sbin/sshd
/usr/sbin/sshd[1]: syntax error: '(' unexpected
1|root@debian:~/tmp # #===> not a problem of the shell:
1|root@debian:~/tmp # dash -c /usr/sbin/sshd
/usr/sbin/sshd[1]: syntax error: '(' unexpected
1|root@debian:~/tmp # bash -c /usr/sbin/sshd
bash: /usr/sbin/sshd: cannot execute binary file
126|root@debian:~/tmp # uname -a
GNU/kFreeBSD debian.mirbsd.org 7.0-1-686 #0 Sat May 6 14:43:46 CEST 2006 i686 i386 QEMU Virtual CPU version 0.7.2 GNU/kFreeBSD
root@debian:~/tmp # #===> this seems to be the root of the problem:
root@debian:~/tmp # file /usr/sbin/sshd
/usr/sbin/sshd: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), for GNU/kFreeBSD 5.4.0, stripped
root@debian:~/tmp # #===> now compare with a normal programme:
root@debian:~/tmp # file /bin/bash
/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for GNU/kFreeBSD 5.4.0, dynamically linked (uses shared libs), stripped
root@debian:~/tmp # #===> WTF is this a shared library, not an executable?
root@debian:~/tmp # #===> the problem seems to appear on linux too:
root@debian:~/tmp # wget http://ftp.debian.org/debian/pool/main/o/openssh/openssh-server_4.6p1-2_i386.deb
--18:04:28-- http://ftp.debian.org/debian/pool/main/o/openssh/openssh-server_4.6p1-2_i386.deb
=> `openssh-server_4.6p1-2_i386.deb'
Resolving ftp.debian.org... 128.101.240.212
Connecting to ftp.debian.org|128.101.240.212|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 243,496 (238K) [application/x-debian-package]
100%[====================================>] 243,496 188.60K/s
18:04:32 (88.38 KB/s) - `openssh-server_4.6p1-2_i386.deb' saved [243496/243496]
root@debian:~/tmp # ar x openssh-server_4.6p1-2_i386.deb data.tar.gz
root@debian:~/tmp # tar xzf data.tar.gz
root@debian:~/tmp # file ./usr/sbin/sshd
./usr/sbin/sshd: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.1, stripped
Not only does this problem affect linux-i386 as well (and
not only kfreebsd-i386), but also at least the openssh-client
subpackage (file shows /usr/bin/ssh is also a shared object).
As you can see, it's also independent of the shell and appears
in the latest package on the server too.
I have no idea why it's no longer built as ELF executable,
nor how to fix it, but I can't run ssh, either as client or
as server, at the moment.
-- System Information:
Debian Release: lenny/sid
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 7.0-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/mksh
Versions of packages openssh-server depends on:
ii adduser 3.103 Add and remove users and groups
ii debconf [debc 1.5.13 Debian configuration management sy
ii dpkg 1.14.4 package maintenance system for Deb
ii libc0.1 2.5-11 GNU C Library: Shared libraries
ii libcomerr2 1.38+1.39-WIP-2005.12.31-1 common error description library
ii libkrb53 1.4.4-8 MIT Kerberos runtime libraries
ii libpam-module 0.79-3.1+kbsd Pluggable Authentication Modules f
ii libpam-runtim 0.79-4 Runtime support for the PAM librar
ii libpam0g 0.79-3.1+kbsd Pluggable Authentication Modules l
ii libssl0.9.8 0.9.8e-5 SSL shared libraries
ii libwrap0 7.6.dbs-13 Wietse Venema's TCP wrappers libra
ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip
ii openssh-clien 1:4.6p1-1 secure shell client, an rlogin/rsh
ii zlib1g 1:1.2.3-15 compression library - runtime
openssh-server recommends no packages.
-- debconf information excluded
Reply to: