0e288fc9c5
- Add upstream patch 0001-machine-don-t-return-uninitialized-variable.patch - Port and add upstream patch 0002-vconsole-setup-run-setfont-before-loadkeys.patch - Rename 0001-udev-net_setup_link-add-a-bit-more-logging.patch to 1048-udev-net_setup_link-add-a-bit-more-logging.patch - Port and add upstream patches 0001-udev-net_setup_link-add-a-bit-more-logging.patch 0003-namespace-make-sure-tmp-var-tmp-and-dev-are-writable.patch 0002-namespace-fix-uninitialized-memory-access.patch - Add upstream patches 0001-architecture-Add-tilegx.patch 0002-architecture-Add-cris.patch 0003-arch-add-crisv32-to-uname-check.patch 0004-architecture-remove-cris-from-uname-list.patch - Add upstream patches 0006-hwdb-update.patch 0007-hwdb-Update-database-of-Bluetooth-company-identifier.patch - Add upstream patches 0001-parse_uid-return-ENXIO-for-1-uids.patch 0002-util-when-unescaping-strings-don-t-allow-smuggling-i.patch 0003-localed-consider-an-unset-model-as-a-wildcard.patch 0004-sd-bus-when-an-event-loop-terminates-explicitly-clos.patch OBS-URL: https://build.opensuse.org/request/show/239780 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=191
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
Based on e150e82097211f09b911c7784a89ef9efed713ca Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Micha=C5=82=20Bartoszkiewicz?= <mbartoszkiewicz@gmail.com>
|
|
Date: Thu, 26 Jun 2014 22:11:35 +0200
|
|
Subject: [PATCH] journald: make MaxFileSec really default to 1month
|
|
|
|
journald.conf(5) states that the default for MaxFileSec is one month,
|
|
but the code didn't respect that.
|
|
---
|
|
src/journal/journald-server.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
--- src/journal/journald-server.c
|
|
+++ src/journal/journald-server.c 2014-07-01 12:28:25.506735287 +0000
|
|
@@ -68,6 +68,7 @@
|
|
#define DEFAULT_SYNC_INTERVAL_USEC (5*USEC_PER_MINUTE)
|
|
#define DEFAULT_RATE_LIMIT_INTERVAL (30*USEC_PER_SEC)
|
|
#define DEFAULT_RATE_LIMIT_BURST 1000
|
|
+#define DEFAULT_MAX_FILE_USEC USEC_PER_MONTH
|
|
|
|
#define RECHECK_AVAILABLE_SPACE_USEC (30*USEC_PER_SEC)
|
|
|
|
@@ -1496,6 +1497,8 @@ int server_init(Server *s) {
|
|
|
|
s->forward_to_syslog = true;
|
|
|
|
+ s->max_file_usec = DEFAULT_MAX_FILE_USEC;
|
|
+
|
|
s->max_level_store = LOG_DEBUG;
|
|
s->max_level_syslog = LOG_DEBUG;
|
|
s->max_level_kmsg = LOG_NOTICE;
|