unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: guix-devel@gnu.org
Subject: Re: [PATCHES] Add wicd and wicd-service
Date: Wed, 04 Feb 2015 04:05:48 -0500	[thread overview]
Message-ID: <87iofihwr7.fsf@netris.org> (raw)
In-Reply-To: <87mw4uhx1f.fsf@netris.org> (Mark H. Weaver's message of "Wed, 04 Feb 2015 03:59:40 -0500")

Mark H Weaver <mhw@netris.org> 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 <module>
    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

  reply	other threads:[~2015-02-04  9:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04  8:59 [PATCHES] Add wicd and wicd-service Mark H Weaver
2015-02-04  9:05 ` Mark H Weaver [this message]
2015-02-04 22:15   ` Ludovic Courtès
2015-02-04 22:13 ` Ludovic Courtès
2015-02-04 23:39 ` Mark H Weaver
2015-02-05  1:22 ` Mark H Weaver
2015-02-05 14:05   ` Daniel Pimentel
2015-02-12 12:47   ` Daniel Pimentel
2015-02-12 13:44     ` Mark H Weaver
2015-02-23 14:32       ` Daniel Pimentel
2015-03-08 23:57         ` 白熊
2015-03-09  2:04           ` Mark H Weaver
2015-03-09  6:23             ` 白い熊 @相撲道
2015-03-09  8:50               ` Ludovic Courtès
2015-03-09 10:46               ` Gluglug X200 hangs on boot after `# guix system reconfigure /etc/sysconfig.scm', right after starting dmd 白い熊 @相撲道
2015-03-09 11:14                 ` Daniel Pimentel
2015-03-09 12:04                 ` 白い熊 @相撲道
2015-03-09 19:55                 ` Ludovic Courtès
2015-03-09 22:53                   ` Ludovic Courtès
2015-02-12 20:05   ` [PATCHES] Add wicd and wicd-service Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iofihwr7.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).