From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: [PATCHES] Add wicd and wicd-service Date: Wed, 04 Feb 2015 04:05:48 -0500 Message-ID: <87iofihwr7.fsf@netris.org> References: <87mw4uhx1f.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIvuC-00066i-Dv for guix-devel@gnu.org; Wed, 04 Feb 2015 04:05:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIvu7-0002bF-9m for guix-devel@gnu.org; Wed, 04 Feb 2015 04:05:52 -0500 Received: from world.peace.net ([50.252.239.5]:33500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIvu7-0002bB-64 for guix-devel@gnu.org; Wed, 04 Feb 2015 04:05:47 -0500 In-Reply-To: <87mw4uhx1f.fsf@netris.org> (Mark H. Weaver's message of "Wed, 04 Feb 2015 03:59:40 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Mark H Weaver writes: > It mostly works, and I'm using it right now, but there are still some > remaining issues: > > * Unless run as root, the user interfaces to configure wicd via dbus > always fail. The wicd dbus configuration file is supposed to allow > anyone in the 'netdev' group to access and configure the daemon, but > this doesn't work. I could use some help debugging this. I should have given more details. Here's the error I get: --8<---------------cut here---------------start------------->8--- mhw@jojen:~$ wicd-cli -y -l # BSSID Channel ESSID ERROR:dbus.proxies:Introspect error on :1.2:/org/wicd/daemon/wireless: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.12" (uid=1000 pid=2445 comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=143 comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python") Traceback (most recent call last): File "/gnu/store/bj26lsibzw8ls53mvag7nkgfizzzckvw-wicd-1.7.3/share/wicd/cli/wicd-cli.py", line 165, in for network_id in range(0, wireless.GetNumberOfNetworks()): File "/gnu/store/2gqvnhy7lzrbapkh59kfmlky6ynak9fk-python2-dbus-1.2.0/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/gnu/store/2gqvnhy7lzrbapkh59kfmlky6ynak9fk-python2-dbus-1.2.0/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/gnu/store/2gqvnhy7lzrbapkh59kfmlky6ynak9fk-python2-dbus-1.2.0/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.12" (uid=1000 pid=2445 comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python") interface="org.wicd.daemon.wireless" member="GetNumberOfNetworks" error name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=143 comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python") --8<---------------cut here---------------end--------------->8--- I get similar errors from all of the other clients. > * The curses client always fails with the error "AttributeError: > 'Screen' object has no attribute 'get_input_nonblocking'", which I > guess indicates some problem or incompatibility with our python2-urwid > package. For now, the nicest way to configure this is to run 'wicd-gtk' as root. Mark