← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1583705] Re: [SRU] unmatched entries for postfix

 

This bug was fixed in the package logwatch -
7.4.3+git20161207-2ubuntu1.2

---------------
logwatch (7.4.3+git20161207-2ubuntu1.2) bionic; urgency=medium

  [ Bryce Harrington ]
  * d/p/0020-dhcpd-Ignore-lease-age-under-threshold-messages.patch:
    dhcpd: Ignore lease age under threshold messages
    (LP: #1578001)
  * d/p/0018-audit-Treat-Denial-Errors-same-as-Denied.patch:
    audit: Treat Denial-Errors same as Denied.
    (LP: #1577948)
  * d/p/0017-audit-Apparmor-DENIED-entries-don-t-always-include-p.patch:
    audit: Apparmor DENIED entries don't always include parent=N.
    (LP: #1577948)
  * d/p/0014-zz-sys-Suppress-warnings-if-Sys-CPU-or-Sys-MemInfo-a.patch:
    zz-sys: Suppress warnings if Sys::CPU or Sys::MemInfo are missing.
    These are not installed by default in Ubuntu's logwatch packaging.
    (LP: #1890749)
  * d/p/0012-postfix-Handle-backwards-compatible-mode.patch:
    postfix: Handle backwards-compatible mode.
    (LP: #1583705)
  * d/p/0011-postfix-Ignore-Resolved-loghost-to-127.0.0.1.patch:
    postfix: Ignore Resolved loghost to 127.0.0.1.
    (LP: #1583705)
  * d/p/0010-00-debspecific-disable-su-reporting-in-secure.diff.patch:
    Use $PATH to determine location of zpool and zfs.
    (LP: #1880211)

  [ Karl Stenerud ]
  * d/p/ssh-ignore-disconnected.patch:
    sshd: ignore disconnected from user USER
    (LP: #1644057)

 -- Bryce Harrington <bryce@xxxxxxxxxxxxx>  Thu, 03 Sep 2020 04:21:53
+0000

** Changed in: logwatch (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

** Changed in: logwatch (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1583705

Title:
  [SRU] unmatched entries for postfix

Status in logwatch package in Ubuntu:
  Fix Released
Status in logwatch source package in Xenial:
  Fix Released
Status in logwatch source package in Bionic:
  Fix Released
Status in logwatch source package in Focal:
  Fix Released
Status in logwatch source package in Groovy:
  Fix Released

Bug description:
  [Impact]

  Postfix backwards-compatibility notices aren't handled by logwatch,
  and thus end up in the "Unmatched Entries" section, one per event.
  These informational messages clutters up the logwatch reports
  unnecessarily.

  [Test Case]

  $ export CODENAME="focal"
  $ lxc launch ubuntu:${CODENAME} test-logwatch
  $ lxc exec test-logwatch -- bash

  # apt-get update
  # apt-get dist-upgrade -y
  # apt-get install -y postfix
  # apt-get install -y logwatch

  # wget https://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/1583705/+attachment/5407064/+files/unmatched-entries-postfix%3Amail.log
  # cat unmatched-entries-postfix:mail.log >> /var/log/mail.log

  # logwatch --detail High --service all --range all --output stdout

  Without the fix, there will be unmatched entries regarding backwards-
  compatibility; with the fix there will be a simpler notice that
  Postfix is running in backwards compatible mode.

  (Note: For testing it's not really necessary to trigger the original
  condition that produces the log entry, since for Logwatch the purpose
  is more about making sure the entry is detected and processed
  appropriately.)

  [Regression Potential]

  Since logwatch filters logs for errors pertinent to administrators,
  standard things to watch out for are undesired changes in this filtering
  behavior, such as flagging or failing to flag issues differently than
  before, other than the specific messages being filtered with this
  change.

  [Original Report]
  Under the "Postfix" heading, the following lines appear as unmatched:

  **Unmatched Entries**
        1   May 18 16:58:35 Hostname postfix[4027]: Postfix is running with backwards-compatible default settings
        1   May 18 16:58:35 Hostname postfix[4027]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
        1   May 18 16:58:35 Hostname postfix[4027]: See http://www.postfix.org/COMPATIBILITY_README.html for details
        1   May 18 16:57:12 Hostname postgrey[2173]: Resolved [localhost]:10023 to [127.0.0.1]:10023, IPv4

  -----------------------------------------------------------------
  Description: Ubuntu 16.04 LTS
  Release: 16.04

  logwatch:
    Installed: 7.4.2-1ubuntu1
    Candidate: 7.4.2-1ubuntu1
    Version table:
   *** 7.4.2-1ubuntu1 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          500 http://us.archive.ubuntu.com/ubuntu xenial/main i386 Packages
          100 /var/lib/dpkg/status

  postfix:
    Installed: 3.1.0-3
    Candidate: 3.1.0-3
    Version table:
   *** 3.1.0-3 500
          500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          100 /var/lib/dpkg/status

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