[Buildroot] syslog messages during boot not recorded?
Francesco
francesco.montorsi at gmail.com
Tue Apr 9 08:21:31 UTC 2013
In any case, something I do not understand is the reason why
/var/log/messages contains a lot of messages marked as "kernel: " and
referring to the boot of the system (hardware configuration, CPU
features, etc etc etc)... these messages are probably generated much
earlier than /etc/init.d scripts are run!
Thanks for any hint,
Francesco
2013/4/9 Francesco <francesco.montorsi at gmail.com>:
> 2013/4/8 Gustavo Zacarias <gustavo at zacarias.com.ar>:
>> It's a feature of BUSYBOX, not buildroot, meant for syslogd to work in
>> scenarios where your /var/log directory isn't writable for example.
>> Which begs the question, is it writable?
> good point... my /var/log is a symbolic link to /tmp and "ls -l" shows
> that its permissions (after system boot) are "drwxrwxrwt".
> I think the problem may be due to /tmp being mounted AFTER/AT THE END
> of the system boot... in fact, /tmp is a tmpfs... the relevant line in
> /etc/fstab is:
>
> tmpfs /tmp tmpfs defaults 0 0
>
> now my question is: how do I ensure that /tmp is mounted before
> /etc/init.d scripts are run?
>
> Thanks a lot!
> Francesco
More information about the buildroot
mailing list