[Python-apps-team] Bug#515028: wicd-client won't start as non-root

Celejar celejar at gmail.com
Thu Feb 12 21:18:13 UTC 2009


Package: wicd
Version: 1.5.9-1
Severity: normal

Should wicd-client be run as root or not?  The documentation doesn't say.  Some
websites claim that it should not, but running it as a regular user fails on my
system:

$ /usr/bin/wicd-client &
[1] 6438
~$ Loading...
Attempting to connect tray to daemon...
Success.
ERROR:dbus.proxies:Introspect error on :1.0:/org/wicd/daemon: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.13" (uid=1000 pid=6438 comm="python /usr/share/wicd/wicd-client.py ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.0" (uid=0 pid=3287 comm="python /usr/share/wicd/wicd-daemon.py "))
Traceback (most recent call last):
  File "/usr/share/wicd/wicd-client.py", line 565, in <module>
    main(sys.argv)
  File "/usr/share/wicd/wicd-client.py", line 546, in main
    tray_icon = TrayIcon(use_tray, animate)
  File "/usr/share/wicd/wicd-client.py", line 102, in __init__
    self.icon_info = self.TrayConnectionInfo(self.tr, use_tray, animate)
  File "/usr/share/wicd/wicd-client.py", line 127, in __init__
    self.update_tray_icon()
  File "/usr/share/wicd/wicd-client.py", line 184, in update_tray_icon
    [state, info] = daemon.GetConnectionStatus()
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.13" (uid=1000 pid=6438 comm="python /usr/share/wicd/wicd-client.py ") interface="org.wicd.daemon" member="GetConnectionStatus" error name="(unset)" requested_reply=0 destination=":1.0" (uid=0 pid=3287 comm="python /usr/share/wicd/wicd-daemon.py "))

When run as root, it comes up correctly, but if indeed it is supposed to be run
as root, then '/etc/xdg/autostart' needs to be changed to invoke it as root,
since as written, it calls it as the regular user, which doesn't work, as
above.  I.e., wicd-client fails to autostart on my system, apparently because
of the above problem.

-- System Information: Debian Release: 5.0 APT prefers
unstable APT policy: (500, 'unstable') Architecture: i386 (i686)

Kernel: Linux 2.6.29-rc3-wl-lizzie
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wicd depends on:
ii  adduser                       3.110      add and remove users and groups
ii  dhcp3-client                  3.1.1-6    DHCP client
ii  iproute                       20080725-2 networking and traffic control too
ii  net-tools                     1.60-22    The NET-3 networking toolkit
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-dbus                   0.83.0-1   simple interprocess messaging syst
ii  python-glade2                 2.12.1-6   GTK+ bindings: Glade support
ii  python-gtk2                   2.12.1-6   Python bindings for the GTK+ widge
ii  python-support                0.8.7      automated rebuilding support for P
ii  wireless-tools                29-1.1     Tools for manipulating Linux Wirel
ii  wpasupplicant                 0.6.4-3    Client support for WPA and WPA2 (I

wicd recommends no packages.

Versions of packages wicd suggests:
ii  pm-utils                      1.1.2.4-1  utilities and scripts for power ma

-- debconf-show failed





More information about the Python-apps-team mailing list