Problem with sysinit actions from inittab
Denys Vlasenko
vda.linux at googlemail.com
Mon Nov 21 13:20:11 UTC 2011
On Sun, Nov 20, 2011 at 9:22 PM, Alexander Varnin <fenixk19 at mail.ru> wrote:
> I also figured out, that the only entry about init in logs is
>
> / # cat /var/log/messages | grep
> starting
>
> Jan 1 00:00:02 (none) daemon.info init: starting pid 53, tty
> '/dev/console': '/bin/sh'
>
> So this action gets read from inittab and executed. But others - not.
How do you know it if you /dev/null'ed stdout and stderr
of your sysinit actions?
> And nothing even gets printed in logs, though init.c busybox file
> contains much calls to message(L_LOG,...) function.
L_LOG messages won't be logged to system log until syslogd
is started. Apparently it is not started soon enough (or ever)
to capture them.
I also noticed that you don't reply to my suggestions.
--
vda
More information about the busybox
mailing list