Red Hat Bugzilla – Bug 221832
Logwatch doesn't understand /var/log/samba/cores
Last modified: 2007-11-30 17:11:52 EST
Description of problem:
Logwatch is not set up to handle the /var/log/samba/cores directory - it tries
to treat it as a normal file. This causes logwatch to emit an error message
every time it runs, and thus to generate an email to root every day.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install logwatch
2. Install samba and start
3. wait for cron job to run.
Logwatch errors with the following email sent to root:
cat: /var/log/samba/cores: Is a directory
Logwatch should not generate errors during run.
Please could you attach file from your log directory in which are the samba logs
I don't understand what you are asking for - are you asking me to create a
tarball of my /var/log/samba directory?
Yes - I want to see the structure of /var/log/samba, and I want to see which
files contains which logs.
Created attachment 145173 [details]
tar of /var/log/samba
I've nulled out the actual log files to protect my system privacy, but you can
see the directory structure.
This problem is fixed in logwatch-7.3.2-2.fc7.