[Bug 1010602] Re: samba logs are not being reported in logwatch

Chris J Arges 1010602 at bugs.launchpad.net
Wed Aug 24 16:00:11 UTC 2016


Hello Jacob, or anyone else affected,

Accepted logwatch into trusty-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/logwatch/7.4.0+svn20130529rev144-1ubuntu1.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: logwatch (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1010602

Title:
  samba logs are not being reported in logwatch

Status in logwatch:
  Unknown
Status in logwatch package in Ubuntu:
  Fix Released
Status in logwatch source package in Trusty:
  Fix Committed

Bug description:
  After upgrading from 10.04 to 12.04 samba logs no longer show up in
  logwatch reports.

  There was a change to /usr/share/logwatch/default.conf/logfiles/samba.conf between 10.04 and 12.04:
     LogFile=samba/* was changed to LogFile=samba/*.log

  In the samba package the default smb.conf file has logging defined as (no change 10.04-12.04):
     log file = /var/log/samba/log.%m

  Since files are log.* they are no longer parsed by logwatch because
  logwatch only looks for *.log

  
  1. Description:    Ubuntu 12.04 LTS
  Release:        12.04

  2. logwatch:
    Installed: 7.4.0+svn20111221rev79-1ubuntu1
    Candidate: 7.4.0+svn20111221rev79-1ubuntu1
    Version table:
   *** 7.4.0+svn20111221rev79-1ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  samba:
    Installed: 2:3.6.3-2ubuntu2.1
    Candidate: 2:3.6.3-2ubuntu2.2
    Version table:
       2:3.6.3-2ubuntu2.2 0
          500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
   *** 2:3.6.3-2ubuntu2.1 0
          500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2:3.6.3-2ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

  3. Logwatch reports/emails should contain samba log information.

  4. No samba log information shows up in logwatch reports/emails.

  Possible fix is to distribute the attached samba.conf in /usr/share/logwatch/dist.conf/logfiles/
  It contains "LogFile=samba/*" which would revert logwatch's behavior to what it was in 10.04 for samba logs.
  This will allow any type of log file naming you wish in your samba config in the /var/log/samba/ folder to be correctly parsed by logwatch.

To manage notifications about this bug go to:
https://bugs.launchpad.net/logwatch/+bug/1010602/+subscriptions



More information about the Ubuntu-sponsors mailing list