public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Matthias Fischer <matthias.fischer@ipfire.org>
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	[thread overview]
Message-ID: <6835b53a-6423-368e-e1c4-739e08c50edb@ipfire.org> (raw)
In-Reply-To: <1491396130.2643.106.camel@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 4357 bytes --]

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 <matthias.fischer(a)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
> 


      reply	other threads:[~2017-04-05 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 11:42 Matthias Fischer
2017-04-05 12:42 ` Michael Tremer
2017-04-05 12:51   ` Matthias Fischer [this message]

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=6835b53a-6423-368e-e1c4-739e08c50edb@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