summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files/busybox-syslog.default
Commit message (Collapse)AuthorAgeFilesLines
* busybox-syslog.default: When systemd is enabled don't use circular bufferAníbal Limón2016-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | Busybox syslog uses a shmmem circular buffer [1][2] when launch with -C option when systemd (is enabled) takes the control of syslog messages and then forward the messages to busybox syslog daemon, systemd journald don't usage of shmmem circular buffer. If -C is specified busybox-syslog never be able to read the forwarded messages from systemd journald and don't wrote it to /var/log/messages. This file is only installed when systemd is enabled [3]. [1] https://git.busybox.net/busybox/tree/sysklogd/syslogd.c?h=1_24_stable#n464 [2] https://git.busybox.net/busybox/tree/sysklogd/logread.c?h=1_24_stable#n82 [3] http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/busybox/busybox.inc#n295 (From OE-Core rev: 07ea6b5fb1eae175e18ecdab3ca37304215cd428) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox-syslog: add more comments to systemd configuration fileChen Qi2014-02-131-0/+24
| | | | | | | | | | | | | | | Add more comments to the systemd configuration file for busybox's syslogd utility. The purpose is to easy the life of system administrators. These comments are mostly derived from the comments in syslogd.c in busybox. [YOCTO #5722] (From OE-Core rev: eba4f2bd2a0becc086f107dbd0d3ec5222c5eed2) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: enable shared memory logging for systemdPaul Eggleton2013-08-261-0/+1
The default command-line options for launching busybox's syslogd are "-C" if using sysvinit; but because we use /etc/default/busybox-syslog when using systemd which the sysvinit initscript doesn't use, and no /etc/default/busybox-syslog is installed by default in OE-Core, the default arguments with systemd were no arguments at all with OE-Core alone. Effectively merge in the bbappend from meta-oe that adds a default file in order to set the default options to "-C" for systemd as well. (From OE-Core rev: a23aa8e7467cf2b7f4e8ff85a3aa841ff6b508e5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>