unmatched entry for gnome-keyring-daemon on focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logwatch (Ubuntu) |
Fix Released
|
Undecided
|
Bryce Harrington | ||
Focal |
Fix Released
|
Medium
|
Bryce Harrington | ||
Groovy |
Fix Released
|
Undecided
|
Bryce Harrington |
Bug Description
[Impact]
Gnome keyring re-registration messages aren't handled by logwatch, and thus end up in the "Unmatched Entries" section, one per event. As the items are already registered, these aren't flagging actual issues and as a result 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 logwatch
# wget https:/
# cat unmatched-
# logwatch --detail High --service all --range all --output stdout
Without the fix, there will be unmatched entries about gnome keyring re-registration; with the fix there will be no such entries.
(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]
$ sudo logwatch --detail Low --range today --service all --output stdout
------
**Unmatched Entries**
gnome-
------
Related branches
- Lucas Kanashiro (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 709 lines (+533/-2)5 files modifieddebian/changelog (+422/-0)
debian/control (+4/-2)
debian/patches/0014-zz-sys-Suppress-warnings-if-Sys-CPU-or-Sys-MemInfo-a.patch (+52/-0)
debian/patches/0015-pam_unix-Ignore-issues-about-etc-securetty-being-mis.patch (+51/-0)
debian/patches/series (+4/-0)
- Seth Arnold (community): Approve
- Canonical Server: Pending requested
- Canonical Server Core Reviewers: Pending requested
- Canonical Server packageset reviewers: Pending requested
-
Diff: 649 lines (+561/-1)13 files modifieddebian/changelog (+39/-0)
debian/control (+1/-1)
debian/patches/0011-postfix-Ignore-Resolved-loghost-to-127.0.0.1.patch (+42/-0)
debian/patches/0012-postfix-Handle-backwards-compatible-mode.patch (+74/-0)
debian/patches/0013-secure-Ignore-warnings-about-gnome-keyring-daemon-it.patch (+32/-0)
debian/patches/0014-zz-sys-Suppress-warnings-if-Sys-CPU-or-Sys-MemInfo-a.patch (+52/-0)
debian/patches/0015-pam_unix-Ignore-issues-about-etc-securetty-being-mis.patch (+51/-0)
debian/patches/0016-audit-Flag-apparmor-confinement-drops.patch (+62/-0)
debian/patches/0017-audit-Apparmor-DENIED-entries-don-t-always-include-p.patch (+36/-0)
debian/patches/0018-audit-Handle-apparmor-errors-on-DENIED-messages.patch (+56/-0)
debian/patches/0019-exim-Handle-self-signed-certs-warnings.patch (+73/-0)
debian/patches/0020-dhcpd-Ignore-lease-age-under-threshold-messages.patch (+32/-0)
debian/patches/series (+11/-0)
description: | updated |
description: | updated |
Changed in logwatch (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Bryce Harrington (bryce) |
Changed in logwatch (Ubuntu Groovy): | |
assignee: | nobody → Bryce Harrington (bryce) |
tags: |
added: verification-done verification-done-focal removed: verification-needed verification-needed-focal |
This bug was fixed in the package logwatch - 7.5.4-0ubuntu2
---------------
logwatch (7.5.4-0ubuntu2) groovy; urgency=medium
[ Bryce Harrington ] dhcpd-Ignore- lease-age- under-threshold -messages. patch: exim-Handle- self-signed- certs-warnings. patch: audit-Treat- Denial- Errors- same-as- Denied. patch: audit-Apparmor- DENIED- entries- don-t-always- include- p.patch: pam_unix- Ignore- issues- about-etc- securetty- being-mis. patch: zz-sys- Suppress- warnings- if-Sys- CPU-or- Sys-MemInfo- a.patch: secure- Ignore- warnings- about-gnome- keyring- daemon- it.patch: daemon items already postfix- Handle- backwards- compatible- mode.patch: compatible mode. postfix- Ignore- Resolved- loghost- to-127. 0.0.1.patch:
* d/p/0020-
dhcpd: Ignore lease age under threshold messages
(LP: #1578001)
* d/p/0019-
exim: Handle self-signed certs warnings.
(LP: #1892269)
* d/p/0018-
audit: Treat Denial-Errors same as Denied.
(LP: #1577948)
* d/p/0017-
audit: Apparmor DENIED entries don't always include parent=N.
(LP: #1577948)
* d/p/0015-
pam_unix: Ignore issues about /etc/securetty being missing.
(LP: #1890751)
* d/p/0014-
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-
registered.
(LP: #1890752)
* d/p/0012-
postfix: Handle backwards-
(LP: #1583705)
* d/p/0011-
postfix: Ignore Resolved loghost to 127.0.0.1.
(LP: #1583705)
* d/control: Update upstream's homepage
(LP: #1891604)
[ Lucas Kanashiro ] audit-use- the-term- ALLOWED- instead- of-Grants. patch:
* d/p/0021-
audit: use the term ALLOWED instead of Grants.
-- Bryce Harrington <email address hidden> Fri, 21 Aug 2020 01:30:10 +0000