[oe] [meta-oe 3/3] systemd: enable logging to disk instead of tmpfs

2012-03-05 Thread Koen Kooi
Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta-oe/recipes-core/systemd/systemd_git.bb |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb index 7a8f6e4..2a3b118 100644

Re: [oe] [meta-oe 3/3] systemd: enable logging to disk instead of tmpfs

2012-03-05 Thread Otavio Salvador
On Mon, Mar 5, 2012 at 14:37, Koen Kooi k...@dominion.thruhere.net wrote: +       # create dir for journal +       install -d ${D}${localstatedir}/log/journal I'd prefer if journal could default to use a buffer or something similar instead of writting to disk as we ought to be careful about

Re: [oe] [meta-oe 3/3] systemd: enable logging to disk instead of tmpfs

2012-03-05 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 05-03-12 19:12, Otavio Salvador schreef: On Mon, Mar 5, 2012 at 14:37, Koen Kooi k...@dominion.thruhere.net wrote: + # create dir for journal + install -d ${D}${localstatedir}/log/journal I'd prefer if journal could default to

Re: [oe] [meta-oe 3/3] systemd: enable logging to disk instead of tmpfs

2012-03-05 Thread Otavio Salvador
On Mon, Mar 5, 2012 at 17:29, Koen Kooi k...@dominion.thruhere.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 05-03-12 19:12, Otavio Salvador schreef: On Mon, Mar 5, 2012 at 14:37, Koen Kooi k...@dominion.thruhere.net wrote: +       # create dir for journal +       install -d

Re: [oe] [meta-oe 3/3] systemd: enable logging to disk instead of tmpfs

2012-03-05 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 05-03-12 21:55, Otavio Salvador schreef: On Mon, Mar 5, 2012 at 17:29, Koen Kooi k...@dominion.thruhere.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 05-03-12 19:12, Otavio Salvador schreef: On Mon, Mar 5, 2012 at 14:37, Koen

Re: [oe] [meta-oe 3/3] systemd: enable logging to disk instead of tmpfs

2012-03-05 Thread Otavio Salvador
On Mon, Mar 5, 2012 at 18:32, Koen Kooi k...@dominion.thruhere.net wrote: Right now it's logging to tmpfs, which takes up ram, which more scarce than disk. You can easily remove /var/log/journal in ROOTFS_POSTPROCESS_CMD to make it log to tmpfs again. In both cases it is doing the wrong thing