systemctl spams journal with unnecessary logs
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
| Noble |
Fix Released
|
Low
|
Nick Rosbrook | ||
| Plucky |
Fix Released
|
Undecided
|
Unassigned | ||
| Questing |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
[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:/
[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:/
It would be great if the log level can be reduced.
Customer LP bug reference: LP#2130549
Thanks
Bugra
| Changed in systemd (Ubuntu Plucky): | |
| status: | New → Fix Released |
| Changed in systemd (Ubuntu Questing): | |
| status: | New → Fix Released |
| Changed in systemd (Ubuntu): | |
| status: | New → Fix Released |
| Changed in systemd (Ubuntu Noble): | |
| status: | New → Triaged |
| tags: | added: systemd-sru-next |
| Changed in systemd (Ubuntu Noble): | |
| importance: | Undecided → Low |
| assignee: | nobody → Nick Rosbrook (enr0n) |
| description: | updated |
| Changed in systemd (Ubuntu Noble): | |
| status: | Triaged → In Progress |

Hello Bugra, or anyone else affected,
Accepted systemd into noble-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ systemd/ 255.4-1ubuntu8. 12 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- noble to verification- done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- noble. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.