Am 03.06.2009, 13:49 Uhr, schrieb Thorsten Schulz 
<contact.thors...@googlemail.com>:

> Am 29.05.2009, 17:42 Uhr, schrieb David Paleino <d.pale...@gmail.com>:
>
>>> Now Carlos' and my problem is, that by
>>>
>>> <busconfig>
>>>         <policy user="root">
>>>                 <allow own="org.wicd.daemon"/>
>>>                 <allow send_destination="org.wicd.daemon"/>
>>>                 <allow send_interface="org.wicd.daemon"/>
>>>         </policy>
>>>         <policy at_console="true">
>>>                 <deny own="org.wicd.daemon"/>
>>>                 <allow send_destination="org.wicd.daemon"/>
>>>                 <allow send_interface="org.wicd.daemon"/>
>>>         </policy>
>>> [..]
>>>
>>> denying to own the service name from console prompts means, even as root
>>> I cannot start the wicd-daemon via
>>>
>>> Debian:~# /etc/init.d/wicd start
>>
>> I can't reproduce this, sorry:
>
> Hi David,
> I am sorry I have bothered you, I can't reproduce it either. I have no idea 
> what was wrong but "my bug" happened independently on two laptops last week 
> (before I reported it), with the same dbus-error message about denying to own 
> the the service name when trying to start the service.

A little after I wrote this I had to stop wicd-daemon on both laptops (for some 
other network checking). Now that I tried to start it up again on both, one 
started fine, the other had problems:

Zwergpinguin:/home/thorsten# /etc/init.d/wicd start
Starting Network connection manager: wicd.
Zwergpinguin:/home/thorsten# tail /var/log/wicd/wicd.log 
2009/06/04 00:07:34 ::     main(sys.argv)
2009/06/04 00:07:34 ::   File "/usr/share/wicd/wicd-daemon.py", line 1642, in 
main
2009/06/04 00:07:34 ::     d_bus_name = dbus.service.BusName('org.wicd.daemon', 
bus=dbus.SystemBus())
2009/06/04 00:07:34 ::   File "/usr/lib/pymodules/python2.5/dbus/service.py", 
line 129, in __new__
2009/06/04 00:07:34 ::     retval = bus.request_name(name, name_flags)
2009/06/04 00:07:34 ::   File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 
306, in request_name
2009/06/04 00:07:34 ::     'su', (name, flags))
2009/06/04 00:07:34 ::   File 
"/usr/lib/pymodules/python2.5/dbus/connection.py", line 622, in call_blocking
2009/06/04 00:07:34 ::     message, timeout)
2009/06/04 00:07:34 :: dbus.exceptions.DBusException: 
org.freedesktop.DBus.Error.AccessDenied: Connection ":1.4474" is not allowed to 
own the service "org.wicd.daemon" due to security policies in the configuration 
file
Zwergpinguin:/home/thorsten# /etc/init.d/dbus restart

I noticed, that when using the init.d script, there was no failure notice while 
executing start. After I restarted dbus, starting wicd worked successfully. 
Once again I can only suspect, still can't reproduce it on purpose. Would have 
loved to check with dbus-viewer but can't get hold of it anywhere.

cheers,
Thorsten



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to