[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems opening fd for /dev/console...



Alright this has got to be user error on my part. I have a Sparc 10 with
no Framebuffer. It is booting via serial console just fine. Problem is a
lot of things (oh like 'man', non-root logins) don't work. I've tried
searching everything I can think of to find an answer for it. Here's the
last snippet from an 'strace man'.


connect(4, {sin_family=AF_INET, sin_port=htons(768),
sin_addr=inet_addr("63.204.197.52")}}, 16) = 0
brk(0x29000)                            = 0x29000
write(4, "\200\0\0D`\265\253\324\0\0\0\0\0\0\0\2\0\1\206\244\0\0"...,
72) = 72
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(4, "\200\0\2p`\265\253\324\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0"...,
4000) = 628close(5)                                = -1 EBADF (Bad file
descriptor)
close(4)                                = 0
close(3)                                = 0
munmap(0x50019000, 8192)                = 0
setgroups(1, [100])                     = 0
setuid(6)                               = 0
execve("/usr/lib/man-db/man", ["man"], [/* 18 vars */]) = -1 EACCES
(Permission denied)
write(2, "execv: Permission denied\n", 25execv: Permission denied
) = 25
exit(-13)                               = ?

I also get several of these in the strace output but I'm assuming it is
also related to /dev/console.
rt_sigpending(ptrace: umoven: Input/output error

Also, first time using a Sun... here's what I found with the latest
potato:
- pump doesn't get run at startup... no resolv.conf, etc
- no libnss1-compat available

Brian Macy



Reply to: