[Logwatch-Devel] samba error

Mike Tremaine mgt at stellarcore.net
Tue Sep 19 09:58:58 MST 2006


Mark Nienberg wrote:
> On Fedora Core 5, the latest samba is
> samba-3.0.23a-1.fc5.1
> 
> When installed, this version creates a directory
> /var/log/samba/cores
> 
> then when logwatch 7.3.1 runs it reports
> cat: /var/log/samba/cores: Is a directory
> 
> evidently, logwatch only expects to find log files in /var/log/samba.
> 
> The report still works, but if run from cron, you get an extra email with the error 
> message in it.
> 
> Mark Nienberg
> 


What was the error message? It might help me pinpoint where to patch.

This sounds a lot like the archive problem we had with cron recently so the fix 
is probably much the same, find the existance test and change it from -e to -f 
to make sure we are getting files before we cat or zcat or whatever.


-Mike


More information about the Logwatch-Devel mailing list