[oe] [RFC] Adding sanity to OE startup process

Paul Sokolovsky pmiscml at gmail.com
Thu Apr 5 15:49:19 UTC 2007


Hello Sergey,

Thursday, April 5, 2007, 6:33:54 PM, you wrote:

> Paul Sokolovsky wrote:
>>   So, to start with, I'd like to propose to make it possible for boot
>> process to log to syslog. I have following in mind:
>> 
>> 1. Make a convention that boot/service scripts should use "$echo"
>> instead of "echo" to do output.
>> 2. Have default define of "echo=echo" for this.
> I think some function should suffice.
> aliasing is possible too.
> Function could be more flexible solution.

  Well, yes, function would actually even better. I just wasn't sure
if rules for overriding builtins are portable enough. Well, I checked
that it works for both bash and busybox.


>> 3. Turn /etc/init.d/syslogd into /etc/init.d/syslogd.sh so it was
>> sourced by /etc/init.d/rc and could export new value for the rest of
>> scripts.
> I don't see why.

>> 5. Using syslogd for boot messages capture is of course optional.
> I don't see why.
> We can log to multiple places.

> All the best,
> S.


-- 
Best regards,
 Paul                            mailto:pmiscml at gmail.com





More information about the Openembedded-devel mailing list