I have a bootcd with hardened-dev-kernel and udev. Currently it only
boot up on inird, mounts a ram device for root and start sysvinit. A
sysinit script mount /sys /proc, start udev and starts up a busybox
shell.

I have an alfa runtime package manager and a bunch of runtime packages
that are supposed to be pulled in runtime, just like bering. Those
packages are basicly normal tar.gz packages converted from the gentoo
tbz2 packages.

Now I install the following runtime packages: zlib, openssl,
tcp-wrappers and openssh.

I start the busybox syslogd
I generate the ssh keys and start a sshd process.

So far everything looks ok.

When I try to log in from a remote computer, I get some problems.

>From the remote computer I get a password prompt. I type the password,
it get accepted but there tty fails to open so nothing more than that
happens.

"ps xa" shows a sshd process:
/usr/sbin/sshd: [EMAIL PROTECTED]

the /var/log/messages says:
error: openpty: No such file or directory

So sshd fails in opening a tty. I check the /dev dir and udev has
created alot of /dev/pty* links pointing to /dev/pty/* files. There are
alos a bunch of /dev/tty* links pointing to /dev/vc/* devices. Those
works because I gen get a runlevel 3 running. No init.d scripts yet but
init gives me a bunch of virtual consoles where I can login.

I tried to run "strace sshd -D" to find out what tty device files are
missing but sshd forks the new connection so strace never sees the file
that fails to open.

Has anyone an idea what I am missing?

Thanks!

--
Natanael Copa



--
[email protected] mailing list

Reply via email to