** Description changed:

+ [Impact]
+ 
+ There is a recent issue reported by one of the customer where the
+ journal is polluted by systemd with the following ignorable message;
+ 
+ ```
+ systemd[1]: Cannot find unit for notify message of PID <…>, ignoring.
+ ```
+ 
+ Due to the frequency of this message, it makes it difficult to read the
+ journal for any meaningful messages, and, if persisted journal is
+ enabled, will consume lots of storage for no reason.
+ 
+ [Test Plan]
+ 
+ After installing the new update, unless one sets the log level to debug,
+ these messages should no longer be logged to the journal. Hence, the
+ most direct test is actually:
+ 
+ $ systemctl log-level debug
+ $ journalctl -p debug..debug -f --grep "Cannot find unit for notify message"
+ 
+ Wait, or trigger the log message if one has a reliable way to do so.
+ 
+ [Where problems could occur]
+ 
+ When downgrading a log message, the biggest risk is hiding important
+ information. However, upstream explicitly said[1] this is okay to
+ ignore, and has downgraded the log message in future releases.
+ 
+ [1]
+ https://github.com/systemd/systemd/issues/33583#issuecomment-2214583002
+ 
+ [Original Description]
+ 
  Hi there,
  
  There is a recent issue reported by one of the customer where the
  journal is polluted by systemd with the following ignorable message;
  
  ```
  systemd[1]: Cannot find unit for notify message of PID <…>, ignoring.
  ```
  
  Due to the frequency of this message, it makes it difficult to read the
  journal for any meaningful messages, and, if persisted journal is
  enabled, will consume lots of storage for no reason.
  
  There is an upstream bug available for that;
  https://github.com/systemd/systemd/issues/33583
  
  It would be great if the log level can be reduced.
  
  Customer LP bug reference: LP#2130549
  
  Thanks
  Bugra

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

Title:
  systemctl spams journal with unnecessary logs

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to