** Description changed:

+ [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://bugs.launchpad.net/ubuntu/+source/logwatch/+bug/1890752/+attachment/5407061/+files/unmatched-entries-gnome-keyring-daemon%3Aauth.log
+ # cat unmatched-entries-gnome-keyring-daemon:auth.log >> /var/log/auth.log
+ 
+ # 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.
+ 
+ [Fix]
+ 
+ [Discussion]
+ 
+ [Original Report]
  $ sudo logwatch --detail Low --range today --service all --output stdout
-  
-  --------------------- Connections (secure-log) Begin 
------------------------ 
  
-  
-  **Unmatched Entries**
-     gnome-keyring-daemon: asked to register item 
/org/freedesktop/secrets/collection/login/3, but it's already registered: 1 
Time(s)
-  
-  ---------------------- Connections (secure-log) End -------------------------
+  --------------------- Connections (secure-log) Begin
+ ------------------------
+ 
+  **Unmatched Entries**
+     gnome-keyring-daemon: asked to register item 
/org/freedesktop/secrets/collection/login/3, but it's already registered: 1 
Time(s)
+ 
+  ---------------------- Connections (secure-log) End
+ -------------------------

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890752

Title:
  unmatched entry for gnome-keyring-daemon on focal

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to