Re: NM 0.8.1 - DBus rejected messages



On Fri, 2010-08-20 at 13:02 -0500, Dan Williams wrote:
> On Wed, 2010-08-18 at 15:14 +0100, Alex Buell wrote:
> > Every time I hang up on my mobile phone's GSM modem, I get the following in the logs:
> > 
> > Aug 18 15:12:09 lithium dbus-daemon: [system] Rejected send message, 1 matched rules; type="error", sender=":1.138" (uid=0 pid=32572 comm="/usr/sbin/NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.170" (uid=0 pid=6063 comm="/usr/sbin/pppd))
> > Aug 18 15:12:09 lithium dbus-daemon: [system] Rejected send message, 1 matched rules; type="error", sender=":1.138" (uid=0 pid=32572 comm="/usr/sbin/NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.170" (uid=0 pid=6063 comm="/usr/sbin/pppd))
> > Aug 18 15:12:09 lithium dbus-daemon: [system] Rejected send message, 1 matched rules; type="error", sender=":1.138" (uid=0 pid=32572 comm="/usr/sbin/NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.170" (uid=0 pid=6063 comm="/usr/sbin/pppd))
> > Aug 18 15:12:09 lithium dbus-daemon: [system] Rejected send message, 1 matched rules; type="error", sender=":1.138" (uid=0 pid=32572 comm="/usr/sbin/NetworkManager) interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply=0 destination=":1.170" (uid=0 pid=6063 comm="/usr/sbin/pppd))
> > 
> > This is with NetworkManager 0.8.1. Any idea what's causing this? 
> 
> When doing a method call from which you do not expect a reply, you need
> to tell D_Bus that you don't expect a reply, which we're not doing here.
> D-Bus recently got more restrictive about this.  It's not a functional
> issue, just an annoying warning one.  But dbus-glib should be handling
> this automatically since January 2009.  What version of dbus-glib do you
> have?

So the issue here is that the PPP plugin is probably calling a method on
NM for "state" or "fail" or something after NM has already stopped
caring about what the PPP plugin says.  dbus does not appear to respect
the "dont' send me a reply" flag when it returns the UnknownMethod error
in dbus_connection_dispatch().  So while this is a bug exercised by NM's
ppp plugin, it's actually a bug in dbus itself.

Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]