From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] logwatch: Disable iptables output in summary.dat, fixes #12533
Date: Thu, 26 Nov 2020 19:27:33 +0100 [thread overview]
Message-ID: <20201126182733.1116-1-matthias.fischer@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1978 bytes --]
This patch disables the output of 'iptables' in 'summary.dat' by
modifying '/usr/share/conf/logwatch.conf'.
Signed-off-by: Matthias Fischer <matthias.fischer(a)ipfire.org>
---
lfs/logwatch | 1 +
.../logwatch/logwatch-7.5.4-disable_iptables.patch | 14 ++++++++++++++
2 files changed, 15 insertions(+)
create mode 100644 src/patches/logwatch/logwatch-7.5.4-disable_iptables.patch
diff --git a/lfs/logwatch b/lfs/logwatch
index abf1ba02f..7aa145121 100644
--- a/lfs/logwatch
+++ b/lfs/logwatch
@@ -74,6 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP)/lib && patch < $(DIR_SRC)/src/patches/logwatch/logwatch-7.3.6-date_manip6.patch
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/logwatch/logwatch-7.5.4-dhcpd_reuse_lease_entries.patch
+ cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/logwatch/logwatch-7.5.4-disable_iptables.patch
@cd $(DIR_APP) && chmod 755 install_logwatch.sh
cd $(DIR_APP) && yes "" | ./install_logwatch.sh
diff --git a/src/patches/logwatch/logwatch-7.5.4-disable_iptables.patch b/src/patches/logwatch/logwatch-7.5.4-disable_iptables.patch
new file mode 100644
index 000000000..8ad0c3b3d
--- /dev/null
+++ b/src/patches/logwatch/logwatch-7.5.4-disable_iptables.patch
@@ -0,0 +1,14 @@
+diff -U 3 a/conf/logwatch.conf b/conf/logwatch.conf
+--- a/conf/logwatch.conf Thu Sep 19 01:58:55 2019
++++ b/conf/logwatch.conf Thu Nov 26 18:46:12 2020
+@@ -94,6 +94,10 @@
+ # prints useful system configuration info.
+ Service = "-eximstats" # Prevents execution of eximstats service, which
+ # is a wrapper for the eximstats program.
++
++# Disabled: 'iptables'
++Service = "-iptables"
++
+ # If you only cared about FTP messages, you could use these 2 lines
+ # instead of the above:
+ #Service = ftpd-messages # Processes ftpd messages in /var/log/messages
--
2.18.0
reply other threads:[~2020-11-26 18:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201126182733.1116-1-matthias.fischer@ipfire.org \
--to=matthias.fischer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox