NetworkManager not honoring its dbus api

Bug #377374 reported by Geir Hauge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

I was trying to see what I could do with NetworkManager (0.6.6-0ubuntu5.8.04.1) through dbus in Ubuntu Hardy Heron 8.04.2. In "docs/NetworkManager DBUS API.txt" in the source, the first method listed is getDevices() which works as expected:

$ dbus-send --system --print-reply --type=method_call \
> --dest="org.freedesktop.NetworkManager" \
> /org/freedesktop/NetworkManager \
> org.freedesktop.NetworkManager.getDevices
method return sender=:1.0 -> dest=:1.92 reply_serial=2
   array [
      object path "/org/freedesktop/NetworkManager/Devices/wlan0"
      object path "/org/freedesktop/NetworkManager/Devices/eth0"
   ]

The next method it lists, is getActiveDevice:

$ dbus-send --system --print-reply --type=method_call \
> --dest="org.freedesktop.NetworkManager" \
> /org/freedesktop/NetworkManager \
> org.freedesktop.NetworkManager.getActiveDevice
Error org.freedesktop.DBus.Error.UnknownMethod: Method "getActiveDevice" with signature "" on interface "org.freedesktop.NetworkManager" doesn't exist

Furthermore, even though the getDevices method exists, and works, Introspecting doesn't return any methods at all, only two nodes.

$ dbus-send --system --print-reply --type=method_call --dest="org.freedesktop.NetworkManager" /org/freedesktop/NetworkManager org.freedesktop.DBus.Introspectable.Introspect
method return sender=:1.0 -> dest=:1.125 reply_serial=2
   string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <node name="Devices"/>
  <node name="VPNConnections"/>
</node>
"

In Ubuntu Intrepid, that command lists several methods, signals and properties...

Revision history for this message
Thomas Hood (jdthood) wrote :

@Geir: What's the status of this problem in Ubuntu 12.04?

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for network-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in network-manager (Ubuntu):
status: Incomplete → Expired
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.