]> code.ossystems Code Review - openembedded-core.git/commit
systemd_230.bb: Set journal RuntimeMaxSize to 64M as default
authorAníbal Limón <anibal.limon@linux.intel.com>
Mon, 5 Sep 2016 21:59:12 +0000 (16:59 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Sep 2016 23:31:37 +0000 (00:31 +0100)
commit808952bf6d2b7549b456293ead4728b4dbf0d89b
treeec8121f78cb5e61e80f5a364ccbf1d3d12831a7a
parent82de49b899bca915259ea7ea149f50e1401c2426
systemd_230.bb: Set journal RuntimeMaxSize to 64M as default

At this time systemd journald uses the /run tmpfs to store logs
by default systemd uses 15% of available space [1] of the /run
partition, when the space runs out journald starts to vaccum/store
the logs into /var/log [1].

It causes two problems one of them is timeout dev-ttySN.device's
when enable debug and use journal as systemd.log_target [2] the other
is related to don't find syslog entries into the journal log [3].

This problems are now more evident because i recently enabled the
systemd debug option in testimage [4].

One area of improvement will be add support in systemd journald to
read these parameters from the kernel cmdline like systemd.log_target,
if the support exists we could add that parameter at level of testimage.

[1] https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse=
[2] https://bugzilla.yoctoproject.org/show_bug.cgi?id=8142#c19
[3] https://bugzilla.yoctoproject.org/show_bug.cgi?id=10128#c4
[4] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a86a1b2703372c12e7fca18918695d093ea6ee53

[YOCTO #10128]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd_230.bb