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

Re: syslogd still crapping out



On Wed Dec 08, 1999 at 11:47:42PM -0700, Erik Andersen wrote:
> 
> Yeah, i'm seeing this to.  In chroot it is fine.  But when
> run from the floppy it chokes.  I've just adjusted the boot
> floppies to have a non-reduced libc, and installed strace 
> and needed libs, so I'll figure it out.

>From the strace....

execve("/sbin/syslogd", ["/sbin/syslogd", "-n"], [/* 6 vars */]) = 0
[------------snip----------------]
unlink("/dev/log")                      = -1 ENOENT (No such file or directory)
socket(PF_UNIX, SOCK_STREAM, 0)         = -1 ENOSYS (Function not implemented)
socket(PF_UNIX, SOCK_STREAM, 0)         = -1 ENOSYS (Function not implemented)
socket(PF_UNIX, SOCK_STREAM, 0)         = -1 EINVAL (Invalid argument)
write(2, "Couldn\'t obtain descriptor for s"..., 65) = 65
_exit(1)                                = ?

So it looks like a kernel problem.  The kernel used on 
the boot floppies does not seem to support Unix domain 
sockets.  That is why it works in chroot, but not on 
the boot floppies.

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--


Reply to: