Subject: panic on attempted file write (1.2.1/i386)
To: None <port-i386@NetBSD.ORG>
From: Aron T. Roberts <aroberts@WOLFENET.com>
List: port-i386
Date: 05/19/1997 10:27:52
Platform: NetBSD/i386 1.2.1 w/ ipfilter kernel patches
The machine in question acts almost exclusively as a socks5 gateway
between two ethernet segments.
While trying to install ssh I encountered a problem where the attempt to
write the file /etc/ssh_host_key (previously non-existent) caused a panic
and reboot. and yes i recreated this behaviour each time i attempted the
process.
the program in question is ssh-keygen
Here is the tail of my ktrace
162 ssh-keygen RET write 512/0x200
162 ssh-keygen CALL close(0x3)
162 ssh-keygen RET close 0
162 ssh-keygen CALL stat(0xf7bf992c,0xf7bf94cc)
162 ssh-keygen NAMI "/etc/ssh_host_key"
162 ssh-keygen RET stat -1 errno 2 No such file or directory
162 ssh-keygen CALL __sysctl(0xf7bf9394,0x2,0xf7bf93c8,0xf7bf939c,0,0)
162 ssh-keygen RET __sysctl 0
162 ssh-keygen CALL geteuid
162 ssh-keygen RET geteuid 0
162 ssh-keygen CALL geteuid
162 ssh-keygen RET geteuid 0
162 ssh-keygen CALL open(0xf7bf992c,0x601,0x180)
162 ssh-keygen NAMI "/etc/ssh_host_key"
and that's about where she goes down for the count.
thanks for any help
aron roberts
atr@pobox.com