systemd-resolved spams the system log with useless “Processing query...” messages

Bug #1676115 reported by Anders Kaseorg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd
Fix Released
Unknown
systemd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If you are running ‘journalctl -f’ to try to debug some other problem, you are constantly interrupted by zillions of these messages from systemd-resolved:

Mar 26 00:53:27 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:27 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:30 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:30 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:30 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...
Mar 26 00:53:31 change-mode systemd-resolved[1391]: Processing query...

This was fixed upstream in v233 by downgrading this message from log_info to log_debug:
https://github.com/systemd/systemd/pull/5233

Revision history for this message
dino99 (9d9) wrote :

Dont get your spam:
oem@u64:~$ journalctl | grep query
Mar 26 07:15:44 u64 geoclue[2802]: Failed to query location: Error resolving “location.services.mozilla.com”: Name or service not known

and seems already been fixed:

systemd (232-21) unstable; urgency=medium

  * resolved: Downgrade "processing query..." message to debug.
    It doesn't really add much value in normal operation and just spams the
    log. (Closes: #858197)

-- Michael Biebl <email address hidden> Tue, 21 Mar 2017 19:52:17 +0100

Changed in systemd (Ubuntu):
status: New → Incomplete
Revision history for this message
Anders Kaseorg (andersk) wrote :

Ah, zesty still has 232-19 but this is presumably fixed in zesty-proposed’s 232-21ubuntu1.

Changed in systemd (Ubuntu):
status: Incomplete → Fix Committed
Changed in systemd:
status: Unknown → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

> This was fixed upstream in v233 by downgrading this message from log_info to log_debug:

So this is fixed in Ubuntu 17.10 and later.

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.