Bug#259371: [Logcheck-devel] Bug#259371: Uninitialized values reported when running logtail.

Greg Kochanski gpk at kochanski.org
Thu Jul 15 14:29:09 UTC 2004


I'm sorry! Did I forget to include the error message?

Here it is:

/etc/cron.daily/fiaif-scan:
Use of uninitialized value in -f at /usr/sbin/logtail line 38.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/logtail line 39.



My guess is that fiaif calls logtail without the required -f flag.
If so, it's a fiaif bug  combined with a missing error check in logtail.

/usr/sbin/logtail doesn't check that $opts{f} exists before handing it
to -f.

maks attems wrote:

>tags 259371 moreinfo
>thanks
>
>On Wed, 14 Jul 2004, Greg Kochanski wrote:
>
>  
>
>>Package: logtail
>>Version: 1.2.22a
>>Severity: normal
>>
>>I get the following error message mailed to me each day:
>>
>>
>>At the least, even if fiaif is misusing logtail,
>>logtail needs to produce a more informative error
>>message.
>>
>>
>>-- System Information:
>>Debian Release: testing/unstable
>>  APT prefers testing
>>  APT policy: (500, 'testing')
>>Architecture: i386 (i686)
>>Kernel: Linux 2.4.26
>>Locale: LANG=C, LC_CTYPE=C
>>
>>-- no debconf information
>>    
>>
>
>hmm as far as i can see from the fiaif changelog,
>sarge has latest fiaif and it uses logtail switches,
>can you please copy verbatim the exact error message
>you are seeing?
>or i may need to reassign that bug to fiaif.
>
>a++ maks
>
>  
>





More information about the Logcheck-devel mailing list