[Bug 193] New: sshd: error: select: Bad file number
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Mar 28 07:07:32 EST 2002
http://bugzilla.mindrot.org/show_bug.cgi?id=193
Summary: sshd: error: select: Bad file number
Product: Portable OpenSSH
Version: 3.1p1
Platform: Sparc
OS/Version: SunOS
Status: NEW
Severity: minor
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: f_mohr at yahoo.de
On SunOS the sshd sends "select: Bad file number" messages to syslog.
This happens in 2 places:
in sshd.c/line 997 (Openssh 3.1p1 release)
after generating a new RSA Key:
Mar 26 17:53:05 csfauth2 sshd[1474]: Generating new 768 bit RSA key.
Mar 26 17:53:06 csfauth2 sshd[1474]: RSA key generation complete.
Mar 26 17:53:06 csfauth2 sshd[1474]: error: select: Bad file number
in the serverloop.c - wait_until_can_do_something()
most of the time some messages just after session start, some during the
session, and most of the time after closing the sessin
Mar 26 15:44:17 csfauth2 sshd[824]: Accepted publickey for root from 10.70.79.92
port 3427 ssh2
Mar 26 15:45:59 csfauth2 sshd[824]: debug3: serverloop.c 329 select -> -1
Mar 26 15:45:59 csfauth2 sshd[824]: error: select: Bad file number
Mar 26 15:46:01 csfauth2 sshd[824]: debug3: serverloop.c 329 select -> -1
Mar 26 15:46:01 csfauth2 sshd[824]: error: select: Bad file number
Mar 26 15:46:26 csfauth2 sshd[824]: debug3: serverloop.c 329 select -> 1
Mar 26 15:46:31 csfauth2 last message repeated 50 times
...
Mar 26 18:58:09 csfauth2 sshd[1476]: debug1: Received SIGCHLD.
Mar 26 18:58:09 csfauth2 sshd[1476]: debug3: serverloop.c 329 select -> -1
Mar 26 18:58:09 csfauth2 sshd[1476]: error: select: Bad file number
Mar 26 18:58:09 csfauth2 sshd[1476]: debug1: session_by_pid: pid 1478
Mar 26 18:58:09 csfauth2 sshd[1476]: debug1: session_exit_message: session 0
channel 0 pid 1478
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list