[Sugar-devel] [support-gang] Collaboration woes

Sascha Silbe sascha-ml-ui-sugar-devel at silbe.org
Wed Jan 27 05:32:09 EST 2010


On Tue, Jan 26, 2010 at 07:25:07PM -0600, Jim Simmons wrote:

[CC'ing sugar-devel again for NetworkManager advice]

> It occured to me to check the logs of the SECOND Linux user I was
> runing sugar-emulator as (using su) and this time I DID find errors.
> Looks like a permissions thing, but you be the judge.  Log files for
> the second user are attached.
Just had a quick look (heading for university soon, will give this and 
the strace log a more thorough look later):

[presenceservice.log]
> ** (process:10387): WARNING **: Owner of /tmp/orbit-jim is not the 
> current user
I guess "jim" is the first user? In that case it looks like your primary 
user environment is "leaking" through to the second one. Can you try 
using ssh (with -XY to enabled X forwarding) instead of su?

> 1264554326.949994 ERROR dbus.proxies: Introspect error on 
> :1.9:/org/freedesktop/NetworkManager: dbus.exceptions.DBusException: 
> org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 
> matched rules; type="method_call", sender=":1.249" (uid=501 pid=10387 
> comm="python /usr/bin/sugar-presence-service ") 
> interface="org.freedesktop.DBus.Introspectable" member="Introspect" 
> error name="(unset)" requested_reply=0 destination=":1.9" (uid=0 
> pid=1387 comm="NetworkManager --pid-file=/var/run/NetworkManager/"))
It's quite possible that in the Sugar version you run this error is 
fatal (it might even be that way in the current version - there's a 
not-yet-approved patch from me waiting to be applied that should fix 
this as well if it's still fatal).
Unfortunately how to grant access to NetworkManager varies from distro 
to distro (and even between different setups). Maybe someone more 
familiar with the Fedora way to do it can help.
Options I've encountered so far:
- add user to group "netdev"
- modify some ConsoleKit configs
- modify some PolicyKit configs

CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100127/c2f4e2a6/attachment.pgp 


More information about the Sugar-devel mailing list