← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1890749] Re: Missing perl 'Sys' module in system config summary on focal

 

This bug was fixed in the package logwatch - 7.5.2-1ubuntu1.1

---------------
logwatch (7.5.2-1ubuntu1.1) focal; 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/0019-exim-Handle-self-signed-certs-warnings.patch:
    exim: Handle self-signed certs warnings.
    (LP: #1892269)
  * 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/0015-pam_unix-Ignore-issues-about-etc-securetty-being-mis.patch:
    pam_unix: Ignore issues about /etc/securetty being missing.
    (LP: #1890751)
  * 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/0013-secure-Ignore-warnings-about-gnome-keyring-daemon-it.patch:
    secure: Ignore warnings about gnome-keyring-daemon items already
    registered.
    (LP: #1890752)
  * 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)

  [ Lucas Kanashiro ]
  * d/p/0021-audit-use-the-term-ALLOWED-instead-of-Grants.patch:
    audit: use the term ALLOWED instead of Grants.
    (LP: #1577948)

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

** Changed in: logwatch (Ubuntu Focal)
       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/1890749

Title:
  Missing perl 'Sys' module in system config summary on focal

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

Bug description:
  [Impact]
  Logwatch's Sys perl module is optional per distro policy and only used to display current cpu and memory levels, strictly for informational reasons.   The warnings issued by Logwatch do not indicate an actual problem, but they do clutter the logwatch report, particularly since they're displayed at the top of the report.

  [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 logwatch

  Without the fix, the start of the log will show an error message about
  Sys::CPU and Sys::MemInfo not being installed.  With the fix there
  will be no error message.

  [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]
  $ sudo logwatch --detail Low --range today --service all --output stdout
   --------------------- System Configuration Begin ------------------------

   No Sys::CPU module installed.  To install, execute the command:
      perl -MCPAN -e 'install Sys::CPU'

   No Sys::MemInfo module installed.  To install, execute the command:
      perl -MCPAN -e 'install Sys::MemInfo'

      Machine: x86_64
      Release: Linux 5.4.0-40-generic

   ---------------------- System Configuration End
  -------------------------

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