[Buildroot] [PATCH 1/1] package/systemd: journald should use volatile storage

Nathaniel Roach nroach44 at gmail.com
Sun Mar 1 09:10:58 UTC 2015


(By default)

This fixes https://bugs.busybox.net/show_bug.cgi?id=7892

Journald was attempting to write the logs to file before the
underlying file system was up. A proposed solution was to bring
/tmp up beforehand, but that did not always solve the issue.

In addition, since the logging directory was a tmpfs to begin with
(/var/log -> /tmp) this should save some cycles.

Signed-off-by: Nathaniel Roach <nroach44 at gmail.com>
---
 package/systemd/0004-fix-journald-on-tmpfs.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 package/systemd/0004-fix-journald-on-tmpfs.patch

diff --git a/package/systemd/0004-fix-journald-on-tmpfs.patch b/package/systemd/0004-fix-journald-on-tmpfs.patch
new file mode 100644
index 0000000..c143e47
--- /dev/null
+++ b/package/systemd/0004-fix-journald-on-tmpfs.patch
@@ -0,0 +1,12 @@
+--- systemd-218.orig/src/journal/journald.conf
++++ systemd-218/src/journal/journald.conf
+@@ -11,7 +11,7 @@
+ # See journald.conf(5) for details
+ 
+ [Journal]
+-#Storage=auto
++Storage=volatile
+ #Compress=yes
+ #Seal=yes
+ #SplitMode=uid
+
-- 
2.1.4



More information about the buildroot mailing list