← Back to team overview

desktop-packages team mailing list archive

[Bug 875912] [NEW] nm-applet not functioning due to dbus configuration

 

Public bug reported:

the nm-applet menu would show no network devices as found, and only
allow me to view connection info.

The .xsession-errors log was full off messages like:


** (nm-applet:1588): WARNING **: _nm_object_get_property: Error getting 'WirelessHardwareEnabled' for /org/freedesktop/NetworkManager: (9) Rejected send message, 2 matched rules; type="method_call", sender=":1.49" (uid=1000 pid=1588 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=844 comm="NetworkManager ")


So i changed the config in /etc/dbus-1/system.d/NetworkManager.conf and changed the line

 <deny send_destination="org.freedesktop.NetworkManager"/>

in the default context to allow.  This is probably not the best way to
fix it, but nm-applet worked after restarting it.  Could this be because
the deny rule overrides all the other rules using the same
send_destination?

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: network-manager 0.9.1.90-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
CRDA: Error: [Errno 2] No such file or directory
Date: Sun Oct 16 19:38:38 2011
EcryptfsInUse: Yes
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
IpRoute:
 default via 192.168.1.1 dev wlan0  proto static 
 169.254.0.0/16 dev wlan0  scope link  metric 1000 
 192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.3  metric 2
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
RfKill:
 0: phy0: Wireless LAN
 	Soft blocked: no
 	Hard blocked: no
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.dbus.1.system.d.NetworkManager.conf: 2011-10-16T19:30:51.485231

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/875912

Title:
  nm-applet not functioning due to dbus configuration

Status in “network-manager” package in Ubuntu:
  New

Bug description:
  the nm-applet menu would show no network devices as found, and only
  allow me to view connection info.

  The .xsession-errors log was full off messages like:

  
  ** (nm-applet:1588): WARNING **: _nm_object_get_property: Error getting 'WirelessHardwareEnabled' for /org/freedesktop/NetworkManager: (9) Rejected send message, 2 matched rules; type="method_call", sender=":1.49" (uid=1000 pid=1588 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=844 comm="NetworkManager ")

  
  So i changed the config in /etc/dbus-1/system.d/NetworkManager.conf and changed the line

   <deny send_destination="org.freedesktop.NetworkManager"/>

  in the default context to allow.  This is probably not the best way to
  fix it, but nm-applet worked after restarting it.  Could this be
  because the deny rule overrides all the other rules using the same
  send_destination?

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.9.1.90-0ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  CRDA: Error: [Errno 2] No such file or directory
  Date: Sun Oct 16 19:38:38 2011
  EcryptfsInUse: Yes
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  IpRoute:
   default via 192.168.1.1 dev wlan0  proto static 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.3  metric 2
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.dbus.1.system.d.NetworkManager.conf: 2011-10-16T19:30:51.485231

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/875912/+subscriptions


Follow ups

References