Problems with 3.7p1 on IRIX 6.5
Albert Chin
openssh-unix-dev at thewrittenword.com
Wed Sep 17 06:42:17 EST 2003
$ uname -R
6.5 6.5.19m
$ cc -v
MIPSpro Compilers: Version 7.4
$ sshd -p 8022
[client]$ ssh -p 8022 -v [host]
$ par -s -SS -i -p [pid]
...
12mS sshd(3664039): fork()
12mS sshd(3664039): END-fork() = 3639808
12mS sshd(3639808): END-fork() = 0
13mS sshd(3639808): close(5) OK
13mS sshd(3639808): getuid() = 0, euid=0
14mS sshd(3639808): stat("/etc/passwd", 0x7ffc5010) OK
14mS sshd(3639808): time() = 1063744582
14mS sshd(3639808): stat("/etc/shadow", 0x7ffc4ed0) OK
14mS sshd(3639808): time() = 1063744582
14mS sshd(3639808): chroot("/var/opt/fsw/openssh37/chroot") OK
14mS sshd(3639808): chdir("/") OK
14mS sshd(3639808): setgroups(1, 0x7ffc555c) = 0
14mS sshd(3639808): getuid() = 0, euid=0
14mS sshd(3639808): getgid() = 0 egid=0
14mS sshd(3639808): setregid(1013, 1013) OK
14mS sshd(3639808): setreuid(1013, 1013) OK
14mS sshd(3639808): setgid(0) OK
15mS sshd(3639808): open("/dev/log", O_WRONLY, 0) errno = 2 (No such file or directory)
15mS sshd(3639808): fcntl(-1, F_SETFD, 1) errno = 9 (Bad file number)
15mS sshd(3639808): time() = 1063744582
15mS sshd(3639808): getpid() = 3639808, ppid=3664039
15mS sshd(3639808): putmsg(-1, 0x7ffc4758, 0x7ffc4768, 0) errno = 9 (Bad file number)
15mS sshd(3639808): close(-1) errno = 9 (Bad file number)
15mS sshd(3639808): shutdown(4, 2) OK
15mS sshd(3639808): close(4) OK
15mS sshd(3639808): prctl(PR_LASTSHEXIT) = 1
15mS (3664039): was sent signal SIGCLD
If I run sshd in debug mode:
$ sshd -p 8022 -D -d -d
debug2: read_server_config: filename /etc/opt/fsw/openssh37/sshd_config
debug1: sshd version OpenSSH_3.7p1
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 8022 on 0.0.0.0.
Server listening on 0.0.0.0 port 8022.
zsh: bus error (core dumped) /opt/fsw/openssh37/sbin/sshd -p 8022 -D -d -d
I don't get a core file but various printf's fault xmalloc() which
leads me to believe something else is going wrong.
The 'ssh' binary works fine.
--
albert chin (china at thewrittenword.com)
More information about the openssh-unix-dev
mailing list