public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] logwatch 7.4.3: some more fixes for rootfile
@ 2017-04-05 11:42 Matthias Fischer
  2017-04-05 12:42 ` Michael Tremer
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fischer @ 2017-04-05 11:42 UTC (permalink / raw)
  To: development

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

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
-- 
2.11.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] logwatch 7.4.3: some more fixes for rootfile
  2017-04-05 11:42 [PATCH] logwatch 7.4.3: some more fixes for rootfile Matthias Fischer
@ 2017-04-05 12:42 ` Michael Tremer
  2017-04-05 12:51   ` Matthias Fischer
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Tremer @ 2017-04-05 12:42 UTC (permalink / raw)
  To: development

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

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(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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] logwatch 7.4.3: some more fixes for rootfile
  2017-04-05 12:42 ` Michael Tremer
@ 2017-04-05 12:51   ` Matthias Fischer
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Fischer @ 2017-04-05 12:51 UTC (permalink / raw)
  To: development

[-- 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
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-05 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05 11:42 [PATCH] logwatch 7.4.3: some more fixes for rootfile Matthias Fischer
2017-04-05 12:42 ` Michael Tremer
2017-04-05 12:51   ` Matthias Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox