dbus rejected send messages

Bug #1488344 reported by Michael Heuberger
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
GLib
Fix Released
Medium
accountsservice (Ubuntu)
Invalid
High
Unassigned
glib2.0 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Seeing these log entries in the syslog

Aug 24 18:26:36 M1 dbus[783]: [system] Rejected send message, 9 matched
rules; type="method_return", sender=":1.5" (uid=0 pid=733
comm="/usr/lib/accountsservice/accounts-daemon ") interface="(unset)"
member="(unset)" error name="(unset)" requested_reply="0"
destination=":1.59" (uid=1000 pid=4326
comm="/usr/lib/x86_64-linux-gnu/indicator-messages/indic")

Hope the attached info helps locating the issue?

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: dbus 1.8.12-1ubuntu5
ProcVersionSignature: Ubuntu 3.19.0-26.28-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.3
Architecture: amd64
Date: Tue Aug 25 18:30:51 2015
InstallationDate: Installed on 2014-10-31 (298 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: dbus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michael Heuberger (michael.heuberger) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Lars had a look and said "the problem is that accountsservice sends a reply to a message even though the indicator doesn't want one" which is forbidden by policy (don't know why) but since the indicator didn't want the reply anyway and would not even look at it if it came, this is not an issue other than log spam

affects: dbus (Ubuntu) → accountsservice (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in accountsservice (Ubuntu):
status: New → Confirmed
tags: added: rls-w-incoming
Changed in accountsservice (Ubuntu):
importance: Undecided → High
Revision history for this message
Lars Karlitski (larsu) wrote :

Indeed, accountsservice sends a reply even when the client talking to it doesn't want one. The dbus daemon doesn't remember messages that have NO_REPLY_EXPECTED set, so the replies from accountsservice look like unsolicited messages to it and it denies them.

Gnome bug #755421 argues that this should be fixed in gdbus, and I agree. gdbus automatically sets NO_REPLY_EXPECTED when no callback is given, so it makes sense that it also handles the server side by discarding replies for such messages. I've attached a patch upstream.

Changed in accountsservice (Ubuntu):
status: Confirmed → Invalid
Changed in glib2.0 (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: rls-x-incoming
removed: rls-w-incoming
Changed in glib:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in glib:
status: Confirmed → Fix Released
Revision history for this message
Michael Heuberger (michael.heuberger) wrote :

great, thanks. about time! :)

Will Cooke (willcooke)
tags: removed: rls-x-incoming
Changed in accountsservice (Ubuntu):
status: Invalid → Fix Released
status: Fix Released → Invalid
Changed in glib2.0 (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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