[oe] [PATCH] busybox: move syslog config to /etc/default

Chris Larson clarson at kergoth.com
Wed Jan 12 14:21:58 UTC 2011


On Wed, Jan 12, 2011 at 12:33 AM, Khem Raj <raj.khem at gmail.com> wrote:
> On 1/11/2011 5:43 PM, Chris Larson wrote:
>>
>> From: Chris Larson<chris_larson at mentor.com>
>>
>> The busybox syslog syslog.conf is parsed by the /etc/init.d script, not by
>> the
>> syslog process itself, so it belongs in /etc/default.  In addition, the
>> file
>> format is *completely* different from the standard sysklogd configuration,
>> so
>> while we should resolve the file conflict between busybox-syslog and
>> sysklogd,
>> we should not use update-alternatives for it, so this is a cleaner
>> solution.
>>
>> Signed-off-by: Chris Larson<chris_larson at mentor.com>
>
> looks ok will upgrade paths work ok after this change
>
> Acked-by: Khem Raj <raj.khem at gmail.com>

Hmm, I suspect that if the user modified the busybox /etc/syslog.conf,
opkg would leave their version behind with a different filename,
rather than blindly removing a user edited conffile, but of course the
new one in /etc/default wouldn't include any of the old user
customizations.  I'll look into this a bit more closely.  Thanks.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-devel mailing list