From e0b060aebd2d2e1fbdd512b2dc078adf004ae0b2 Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Wed, 2 Jan 2008 13:56:18 +0000 Subject: [PATCH] - Resolves: #426857 is report cdrom "disk full" necessary -------------------- --- logwatch-7.3.6-zz-disk_space.patch | 2 +- logwatch.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/logwatch-7.3.6-zz-disk_space.patch b/logwatch-7.3.6-zz-disk_space.patch index fa39c67..9e222af 100644 --- a/logwatch-7.3.6-zz-disk_space.patch +++ b/logwatch-7.3.6-zz-disk_space.patch @@ -5,7 +5,7 @@ my $use = $fields[4]; $use =~ s/%//; - if ($use > $diskfull_threshhold) -+ if (($use > $diskfull_threshhold) && ($fields[0] !~ /\/dev\/scd/ )) ++ if (($use > $diskfull_threshhold) && ($fields[0] !~ /\/dev\/scd/ ) && ($fields[0] !~ /\/dev\/sr/ )) { print "$fields[0] => $fields[4] Used. Warning. Disk Filling up.\n"; } diff --git a/logwatch.spec b/logwatch.spec index fb4f7cd..ef7de32 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,7 +1,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.3.6 -Release: 13%{?dist} +Release: 14%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -176,6 +176,10 @@ rm -rf %{buildroot} %doc License project/CHANGES %changelog +* Wed Jan 2 2008 Ivana Varekova 7.3.6-13 +- Resolves: #426857 + is report cdrom "disk full" necessary + * Thu Nov 22 2007 Ivana Varekova 7.3.6-13 - fix pam_unix script output (#389311)