Hi Paul,

Here is the /dev/log entry on a platform that I'm using:

# ls -l log
lrwxrwxrwx 1 root root 12 Jul 13 2006 log -> /var/ tmp/log

It was created when the root file system was made in the romfs target of the vendors Makefile with something like this:

romfsinst -s /var/tmp/log /dev/log

Cheers

Matt


On 06/02/2007, at 4:33 AM, Paul Romero wrote:

Dear User Group:

This message is about an old problem I have not been able
to resolve. Namely, that logging error messages in /var/log/messages
does not work, and when one attempts to use syslogd for that purpose
"init: /bin/syslogd respawning too fast" is periodically displayed
on the console.

There have been a lot of suggestions about how to solve the problem
which I will outline below. However, I have tried them
and they don't work.  The main problem I have observed is that
the code references /dev/log which does not exist and in fact
can't be created because /dev is a read only file system !  Worse
yet, it can't be fixed by changing a .h file because the path
to /dev/log exists in multiple .h files and is hardcoded in
some .c files.

The solutions I have seen are basically as follows:

* Make /dev/log readable or link it to a readable path
  such as /var/log. How do you do this if /dev is read only ?


---
WorkWare Systems Pty Ltd
W: www.workware.net.au
P: 0434 916 185
F: 07 3102 9221
E: [EMAIL PROTECTED]



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to