Revert: "systemd-conf: changed journald storage to persistent"

Apply parameters during recipe install task instead of patching.

BugzID: 63714

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
Ramon Moesching 2020-07-13 11:01:21 +02:00
parent 2208e8fa86
commit bccaff4f2e
2 changed files with 0 additions and 43 deletions

View File

@ -1,42 +0,0 @@
From 6050a8a8110d6521605914b2a246f7d9f835fea4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20J=C3=A4ggi?= <tobias.jaeggi@netmodule.com>
Date: Wed, 11 Mar 2020 16:01:39 +0100
Subject: [PATCH] changed journald storage to persistent
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
With persistent storage systemd journal logs don't get lost upon reboot.
Limited use of persistent memory with SystemMaxUse to 256M.
BugzID: 61999
Signed-off-by: Tobias Jäggi <tobias.jaeggi@netmodule.com>
---
src/journal/journald.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/journal/journald.conf b/src/journal/journald.conf
index 2f1c661153..617ed51148 100644
--- a/src/journal/journald.conf
+++ b/src/journal/journald.conf
@@ -12,14 +12,14 @@
# See journald.conf(5) for details.
[Journal]
-#Storage=auto
+Storage=persistent
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
#RateLimitBurst=10000
-#SystemMaxUse=
+SystemMaxUse=256M
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMaxFiles=100
--
2.11.0

View File

@ -2,7 +2,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${MACHINE}/${PN}:${THISDIR}/${PN}:"
SRC_URI_append = " \
file://system.conf \
file://0001-changed-journald-storage-to-persistent.patch \
"
do_install_append() {