logwatch 7.4.3: some more fixes for rootfile
Message ID | 20170405114214.29447-1-matthias.fischer@ipfire.org |
---|---|
State | Accepted |
Commit | cd31b51ea57d49fc406db3ce2a0e906454c8c48d |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (unknown [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id D5CC4621E3 for <patchwork@ipfire.org>; Wed, 5 Apr 2017 13:42:24 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 20201F0B; Wed, 5 Apr 2017 13:42:23 +0200 (CEST) Received: from Devel.localdomain (p5DD83978.dip0.t-ipconnect.de [93.216.57.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 60F3F9B0 for <development@lists.ipfire.org>; Wed, 5 Apr 2017 13:42:21 +0200 (CEST) From: Matthias Fischer <matthias.fischer@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] logwatch 7.4.3: some more fixes for rootfile Date: Wed, 5 Apr 2017 13:42:14 +0200 Message-Id: <20170405114214.29447-1-matthias.fischer@ipfire.org> X-Mailer: git-send-email 2.11.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Matthias Fischer
April 5, 2017, 9:42 p.m. UTC
Hi,
'eximstats', 'zz-sys' and 'resolver'-files were missing.
Best,
Matthias
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
config/rootfiles/common/logwatch | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Comments
Hi, we don't use exim. Why is this required? -Michael On Wed, 2017-04-05 at 13:42 +0200, Matthias Fischer wrote: > Hi, > > 'eximstats', 'zz-sys' and 'resolver'-files were missing. > > Best, > Matthias > > Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> > --- > config/rootfiles/common/logwatch | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/config/rootfiles/common/logwatch > b/config/rootfiles/common/logwatch > index 36b90677d..e99da016d 100644 > --- a/config/rootfiles/common/logwatch > +++ b/config/rootfiles/common/logwatch > @@ -94,7 +94,7 @@ usr/share/logwatch/default.conf/services/dhcpd.conf > #usr/share/logwatch/default.conf/services/evtsecurity.conf > #usr/share/logwatch/default.conf/services/evtsystem.conf > #usr/share/logwatch/default.conf/services/exim.conf > -#usr/share/logwatch/default.conf/services/eximstats.conf > +usr/share/logwatch/default.conf/services/eximstats.conf > #usr/share/logwatch/default.conf/services/extreme-networks.conf > #usr/share/logwatch/default.conf/services/fail2ban.conf > #usr/share/logwatch/default.conf/services/fetchmail.conf > @@ -182,7 +182,7 @@ usr/share/logwatch/default.conf/services/zz- > disk_space.conf > #usr/share/logwatch/default.conf/services/zz-lm_sensors.conf > usr/share/logwatch/default.conf/services/zz-network.conf > usr/share/logwatch/default.conf/services/zz-runtime.conf > -#usr/share/logwatch/default.conf/services/zz-sys.conf > +usr/share/logwatch/default.conf/services/zz-sys.conf > #usr/share/logwatch/default.conf/services/zz-zfs.conf > #usr/share/logwatch/dist.conf > usr/share/logwatch/dist.conf/logfiles > @@ -238,7 +238,7 @@ usr/share/logwatch/scripts/services/dialup > #usr/share/logwatch/scripts/services/evtsecurity > #usr/share/logwatch/scripts/services/evtsystem > #usr/share/logwatch/scripts/services/exim > -#usr/share/logwatch/scripts/services/eximstats > +usr/share/logwatch/scripts/services/eximstats > #usr/share/logwatch/scripts/services/extreme-networks > #usr/share/logwatch/scripts/services/fail2ban > #usr/share/logwatch/scripts/services/fetchmail > @@ -289,7 +289,7 @@ usr/share/logwatch/scripts/services/postfix > #usr/share/logwatch/scripts/services/qmail-send > #usr/share/logwatch/scripts/services/qmail-smtpd > #usr/share/logwatch/scripts/services/raid > -#usr/share/logwatch/scripts/services/resolver > +usr/share/logwatch/scripts/services/resolver > #usr/share/logwatch/scripts/services/rsyslogd > #usr/share/logwatch/scripts/services/rt314 > usr/share/logwatch/scripts/services/samba > @@ -326,7 +326,7 @@ usr/share/logwatch/scripts/services/zz-disk_space > #usr/share/logwatch/scripts/services/zz-lm_sensors > usr/share/logwatch/scripts/services/zz-network > usr/share/logwatch/scripts/services/zz-runtime > -#usr/share/logwatch/scripts/services/zz-sys > +usr/share/logwatch/scripts/services/zz-sys > #usr/share/logwatch/scripts/services/zz-zfs > #usr/share/logwatch/scripts/shared > usr/share/logwatch/scripts/shared/applybinddate
On 05.04.2017 14:42, Michael Tremer wrote: > Hi, > > we don't use exim. Why is this required? Good question. I didn't find an answer yet. During (Console-)testing I got the follwoing responses about "Nonexistent service to disable" which could only be solved by adding 'zz-sys', 'resolver' and 'exim-stats': root@ipfire: ~ # /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; LOGWATCH_KEEP=$(sed -ne 's/^LOGWATCH_KEEP=\([0-9]\+\)$/\1/p' /var/ipfire/logging/settings); find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';' Nonexistent service to disable: zz-sys root@ipfire: ~ # /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; LOGWATCH_KEEP=$(sed -ne 's/^LOGWATCH_KEEP=\([0-9]\+\)$/\1/p' /var/ipfire/logging/settings); find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';' Nonexistent service to disable: eximstats root@ipfire: ~ # /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; LOGWATCH_KEEP=$(sed -ne 's/^LOGWATCH_KEEP=\([0-9]\+\)$/\1/p' /var/ipfire/logging/settings); find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';' Can't open: /usr/share/logwatch/scripts/services/resolver at /usr/share/logwatch/scripts/logwatch.pl line 1344. Best, Matthias > -Michael > > On Wed, 2017-04-05 at 13:42 +0200, Matthias Fischer wrote: >> Hi, >> >> 'eximstats', 'zz-sys' and 'resolver'-files were missing. >> >> Best, >> Matthias >> >> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> >> --- >> config/rootfiles/common/logwatch | 10 +++++----- >> 1 file changed, 5 insertions(+), 5 deletions(-) >> >> diff --git a/config/rootfiles/common/logwatch >> b/config/rootfiles/common/logwatch >> index 36b90677d..e99da016d 100644 >> --- a/config/rootfiles/common/logwatch >> +++ b/config/rootfiles/common/logwatch >> @@ -94,7 +94,7 @@ usr/share/logwatch/default.conf/services/dhcpd.conf >> #usr/share/logwatch/default.conf/services/evtsecurity.conf >> #usr/share/logwatch/default.conf/services/evtsystem.conf >> #usr/share/logwatch/default.conf/services/exim.conf >> -#usr/share/logwatch/default.conf/services/eximstats.conf >> +usr/share/logwatch/default.conf/services/eximstats.conf >> #usr/share/logwatch/default.conf/services/extreme-networks.conf >> #usr/share/logwatch/default.conf/services/fail2ban.conf >> #usr/share/logwatch/default.conf/services/fetchmail.conf >> @@ -182,7 +182,7 @@ usr/share/logwatch/default.conf/services/zz- >> disk_space.conf >> #usr/share/logwatch/default.conf/services/zz-lm_sensors.conf >> usr/share/logwatch/default.conf/services/zz-network.conf >> usr/share/logwatch/default.conf/services/zz-runtime.conf >> -#usr/share/logwatch/default.conf/services/zz-sys.conf >> +usr/share/logwatch/default.conf/services/zz-sys.conf >> #usr/share/logwatch/default.conf/services/zz-zfs.conf >> #usr/share/logwatch/dist.conf >> usr/share/logwatch/dist.conf/logfiles >> @@ -238,7 +238,7 @@ usr/share/logwatch/scripts/services/dialup >> #usr/share/logwatch/scripts/services/evtsecurity >> #usr/share/logwatch/scripts/services/evtsystem >> #usr/share/logwatch/scripts/services/exim >> -#usr/share/logwatch/scripts/services/eximstats >> +usr/share/logwatch/scripts/services/eximstats >> #usr/share/logwatch/scripts/services/extreme-networks >> #usr/share/logwatch/scripts/services/fail2ban >> #usr/share/logwatch/scripts/services/fetchmail >> @@ -289,7 +289,7 @@ usr/share/logwatch/scripts/services/postfix >> #usr/share/logwatch/scripts/services/qmail-send >> #usr/share/logwatch/scripts/services/qmail-smtpd >> #usr/share/logwatch/scripts/services/raid >> -#usr/share/logwatch/scripts/services/resolver >> +usr/share/logwatch/scripts/services/resolver >> #usr/share/logwatch/scripts/services/rsyslogd >> #usr/share/logwatch/scripts/services/rt314 >> usr/share/logwatch/scripts/services/samba >> @@ -326,7 +326,7 @@ usr/share/logwatch/scripts/services/zz-disk_space >> #usr/share/logwatch/scripts/services/zz-lm_sensors >> usr/share/logwatch/scripts/services/zz-network >> usr/share/logwatch/scripts/services/zz-runtime >> -#usr/share/logwatch/scripts/services/zz-sys >> +usr/share/logwatch/scripts/services/zz-sys >> #usr/share/logwatch/scripts/services/zz-zfs >> #usr/share/logwatch/scripts/shared >> usr/share/logwatch/scripts/shared/applybinddate >