From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: Re: [PATCH] logwatch 7.4.3: some more fixes for rootfile Date: Wed, 05 Apr 2017 14:51:23 +0200 Message-ID: <6835b53a-6423-368e-e1c4-739e08c50edb@ipfire.org> In-Reply-To: <1491396130.2643.106.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8534623537333281673==" List-Id: --===============8534623537333281673== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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(a)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(a)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(a)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 >> --- >> 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 > --===============8534623537333281673==--