[Logwatch-Devel] Re: [Logwatch] Problems after installing clamav

Kenneth Porter shiva at sewingwitch.com
Fri Jun 25 01:19:48 MST 2004


--On Thursday, June 24, 2004 9:25 AM +0100 Matt Mansfield 
<matt at gresleyrovers.com> wrote:

> Clamav complained about a conflict with logwatch, so I forced the install
> to see what would happen. This broke logwatch which now outputs this when
> run:
>
> [root at ns software]# /usr/sbin/logwatch
> Use of uninitialized value in -x at /usr/sbin/logwatch line 475.

This appears to be a case-sensitivity typo in logwatch.pl:

--- logwatch.pl.000     2004-06-21 22:43:36.000000000 -0700
+++ logwatch.pl 2004-06-25 01:06:31.963423961 -0700
@@ -470,7 +470,7 @@
 ############################################################################
#

 my $TempDir;
-my $UseMkTemp = $Config{'usemktemp'};
+my $UseMkTemp = $Config{'UseMkTemp'};
 my $MkTemp = $Config{'MkTemp'};
 if ($UseMkTemp and (-x $MkTemp)) {
    $TempDir = `$MkTemp -d $Config{'tmpdir'}/logwatch.XXXXXXXX 2>/dev/null`;



More information about the Logwatch-Devel mailing list