Bug#369964: ssh: fails to run as daemon if /dev/null is a regular file (daemon() failed: Success)
Package: ssh Version: 1:3.8.1p1-8.sarge.4 Severity: grave Justification: renders package unusable The sshd daemon fails to start if /dev/null is a regular file. You can start sshd in debug mode (sshd -d) but when you try to start it normally it fails to go to background. The program logs the following error: daemon() failed: Success This is a missleading report. I know that /dev/null should be a device and I don't know how it became a regular file, but the daemon shouldn't be affected or at least provide a better description of the problem. I spent hours to solve it and I found that this problem is more or less common just look for: sshd daemon failed Success using Google. BTW the /etc/init.d/ scripts rely on /dev/null so I think the first script should verify that /dev/null is usable. -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.6.8-3-k7 Locale: LANG=es_AR, LC_CTYPE=es_AR (charmap=ISO-8859-1) (ignored: LC_ALL set to es_AR) Versions of packages ssh depends on: ii adduser 3.63 Add and remove users and groups ii debconf 1.4.30.13 Debian configuration management sy ii dpkg 1.10.28Package maintenance system for Deb ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an ii libpam-modules0.76-22Pluggable Authentication Modules f ii libpam-runtime0.76-22Runtime support for the PAM librar ii libpam0g 0.76-22Pluggable Authentication Modules l ii libssl0.9.7 0.9.7e-3sarge1 SSL shared libraries ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra ii zlib1g1:1.2.2-4.sarge.2 compression library - runtime -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#369964: ssh: fails to run as daemon if /dev/null is a regular file (daemon() failed: Success)
On Fri, Jun 02, 2006 at 12:09:05PM -0300, Salvador E. Tropea wrote: Package: ssh Version: 1:3.8.1p1-8.sarge.4 Severity: grave This is severity inflation; I've downgraded it. (It's only unusable on very broken systems.) The sshd daemon fails to start if /dev/null is a regular file. You can start sshd in debug mode (sshd -d) but when you try to start it normally it fails to go to background. The program logs the following error: daemon() failed: Success The poor error reporting is largely the fault of the C library. See the daemon(3) man page. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]