[Logwatch-Devel] samba error
mgt at stellarcore.net
Tue Sep 19 09:58:58 MST 2006
Mark Nienberg wrote:
> On Fedora Core 5, the latest samba is
> When installed, this version creates a directory
> 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.
More information about the Logwatch-Devel