Bug 221832 - Logwatch doesn't understand /var/log/samba/cores
Summary: Logwatch doesn't understand /var/log/samba/cores
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: logwatch
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-08 13:09 UTC by david.hagood
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: logwatch-7.3.2-2.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-10 09:33:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
tar of /var/log/samba (200 bytes, application/octet-stream)
2007-01-09 16:26 UTC, david.hagood
no flags Details

Description david.hagood 2007-01-08 13:09:55 UTC
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):
logwatch-7.3.1-7.fc7
samba-3.0.23c-2


How reproducible:
Every time

Steps to Reproduce:
1. Install logwatch
2. Install samba and start
3. wait for cron job to run.

  
Actual results:
Logwatch errors with the following email sent to root:

/etc/cron.daily/0logwatch:

cat: /var/log/samba/cores: Is a directory

Expected results:
Logwatch should not generate errors during run.

Additional info:

Comment 1 Ivana Varekova 2007-01-09 11:33:03 UTC
Please could you attach file from your log directory in which are the samba logs
here.


Comment 2 david.hagood 2007-01-09 12:25:12 UTC
I don't understand what you are asking for - are you asking me to create a
tarball of my /var/log/samba directory?


Comment 3 Ivana Varekova 2007-01-09 12:51:14 UTC
Yes - I want to see the structure of /var/log/samba, and I want to see which
files contains which logs.

Comment 4 david.hagood 2007-01-09 16:26:51 UTC
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.

Comment 5 Ivana Varekova 2007-01-10 09:33:07 UTC
This problem is fixed in logwatch-7.3.2-2.fc7.


Note You need to log in before you can comment on or make changes to this bug.