Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/systemd: journald should use volatile storage
@ 2015-03-01  9:10 Nathaniel Roach
  2015-03-01 20:44 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Nathaniel Roach @ 2015-03-01  9:10 UTC (permalink / raw)
  To: buildroot

(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@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

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-27  7:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-01  9:10 [Buildroot] [PATCH 1/1] package/systemd: journald should use volatile storage Nathaniel Roach
2015-03-01 20:44 ` Peter Korsgaard
2015-03-02 17:13   ` Mike Williams
2015-07-26 22:19     ` Maxime Hadjinlian
2015-07-27  2:27       ` Nathaniel Roach
2015-07-27  7:54         ` Maxime Hadjinlian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox