busybox-syslog: add configuration file /etc/syslog.conf
authorChen Qi <Qi.Chen@windriver.com>
Tue, 3 Sep 2013 02:14:50 +0000 (10:14 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 22:03:21 +0000 (23:03 +0100)
commit64695077a3c97a82c7eda3232271c2963f3b082a
tree1e59f9b93ff71f24215848764bfbe54b83cb907a
parentf5db801a6d903ff509ce541326871966cb2306fa
busybox-syslog: add configuration file /etc/syslog.conf

By default, busybox has CONFIG_FEATURE_SYSLOGD_CFG enabled, but it
doesn't ship a configuration file.

This patch adds a configuration file (/etc/syslog.conf) to the
busybox-syslog package. This configuration file mainly serves as a
placeholder now.

The advantages of this change are:
1. Make the users aware of the fact that the /etc/syslog.conf file
   will actually be parsed by busybox's syslogd utility. And configuring
   that file will change the logging behaviour.
2. In a systemd based system, this file will prevent the same configuration
   file provided by the sysklogd package from messing things up.

[YOCTO #5066]

(From OE-Core rev: b7f6688f0700a1575037362af7a8ca94dccce471)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox.inc
meta/recipes-core/busybox/busybox_1.21.1.bb
meta/recipes-core/busybox/files/syslog.conf [new file with mode: 0644]