summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-07-27 17:40:39 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-01 11:47:13 +0100
commit140f6c7308de3f4f0f068a553f6ad0e6b5aeba5a (patch)
treee536ab33206cb16d5730b40861357170c70ac975 /meta/recipes-core
parentb4ba36a9d7261f4d617b4029e81c5fd8503041f2 (diff)
downloadpoky-140f6c7308de3f4f0f068a553f6ad0e6b5aeba5a.tar.gz
busybox-syslog.default: When systemd is enabled don't use circular buffer
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/busybox/files/busybox-syslog.default2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/files/busybox-syslog.default b/meta/recipes-core/busybox/files/busybox-syslog.default
index e516caf518..2dced80231 100644
--- a/meta/recipes-core/busybox/files/busybox-syslog.default
+++ b/meta/recipes-core/busybox/files/busybox-syslog.default
@@ -1,4 +1,4 @@
1OPTIONS="-C" 1#OPTIONS="-C"
2# The above option means syslogd will log to 16K shm circular buffer. 2# The above option means syslogd will log to 16K shm circular buffer.
3# You could use `logread' to read it. 3# You could use `logread' to read it.
4 4