[oe-commits] [openembedded-core] 43/49: busybox-syslog.default: When systemd is enabled don't use circular buffer

git at git.openembedded.org git at git.openembedded.org
Thu Jul 28 20:56:36 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 1a7d622537f8697213c67027fa8f1fc4e800c16d
Author: Aníbal Limón <anibal.limon at linux.intel.com>
AuthorDate: Wed Jul 27 17:40:39 2016 -0500

    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
    
    Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/busybox/files/busybox-syslog.default | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/busybox/files/busybox-syslog.default b/meta/recipes-core/busybox/files/busybox-syslog.default
index e516caf..2dced80 100644
--- a/meta/recipes-core/busybox/files/busybox-syslog.default
+++ b/meta/recipes-core/busybox/files/busybox-syslog.default
@@ -1,4 +1,4 @@
-OPTIONS="-C"
+#OPTIONS="-C"
 # The above option means syslogd will log to 16K shm circular buffer.
 # You could use `logread' to read it.
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list