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
signature.asc
Description: Digital signature

