From 847d304f3cfa6501d096ab28a556b63becad3c8d Mon Sep 17 00:00:00 2001 From: yueyuankun Date: Tue, 16 Aug 2022 13:22:35 +0800 Subject: [PATCH] Modify the storage location of the statefile file, from temporary file system to hard disk --- rsyslog.conf | 2 +- rsyslog.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/rsyslog.conf b/rsyslog.conf index ba20686..24812a5 100644 --- a/rsyslog.conf +++ b/rsyslog.conf @@ -18,7 +18,7 @@ module(load="imuxsock" # provides support for local system logging (e.g. via SysSock.Use="off") # Turn off message reception via local log socket; # local messages are retrieved through imjournal now. module(load="imjournal" # provides access to the systemd journal - StateFile="/run/log/imjournal.state") # File to store the position in the journal + StateFile="imjournal.state") # File to store the position in the journal #module(load="imklog") # reads kernel messages (the same are read from journald) #module(load="immark") # provides --MARK-- message capability diff --git a/rsyslog.spec b/rsyslog.spec index 603bd15..3b837dd 100644 --- a/rsyslog.spec +++ b/rsyslog.spec @@ -4,7 +4,7 @@ Name: rsyslog Version: 8.2006.0 -Release: 8 +Release: 9 Summary: The rocket-fast system for log processing License: (GPLv3+ and ASL 2.0) URL: http://www.rsyslog.com/ @@ -392,6 +392,12 @@ systemctl daemon-reload >/dev/null 2>&1 %{_mandir}/man1/rscryutil.1.gz %changelog +* Tue Aug 16 2022 yueyuankun - 8.2006.0-9 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC:Modify the storage location of the statefile file + * Mon May 23 2022 zhanghaolian - 8.2006.0-8 - DESC:fix CVE-2022-24903 -- Gitee