[Debian-olpc-devel] Bug#510657: Bug#510657: sugar: /etc/dbus-1/system.d file needs alterations for fd.o #18961
Simon McVittie
smcv at debian.org
Sun Jan 4 14:57:48 UTC 2009
On Sun, 04 Jan 2009 at 04:12:08 +0100, Jonas Smedegaard wrote:
> Ok, I read the fd.org bugreport. But I fail to understand what is wrong
> and should be fixed with /etc/dbus-1/system.d/NetworkManagerInfo.conf -
> it seems to me that all entries contain both send_interface and
> send_destination as described in that bugreport.
<allow send_foo="a"/> <allow send_bar="b"/> allows anything where
foo=a *or* bar=b.
<allow send_foo="a" send_bar="b"/> allows anything where foo=a *and* bar=b.
What you want is either:
<allow send_interface="org.freedesktop.NetworkManagerInfo"
send_destination="org.freedesktop.NetworkManagerInfo"/>
or simply:
<allow send_destination="org.freedesktop.NetworkManagerInfo"/>
In practice the latter is likely to be more appropriate - if you add
more interfaces to the NMI service later, you'll probably want them to
have the same access control as the base NMI interface.
Regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20090104/28697c6a/attachment.pgp
More information about the Debian-olpc-devel
mailing list