[Debian-olpc-devel] Bug#510657: Bug#510657: Bug#510657: sugar: /etc/dbus-1/system.d file needs alterations for fd.o #18961

Jonas Smedegaard dr at jones.dk
Sun Jan 4 16:05:56 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jan 04, 2009 at 02:57:48PM +0000, Simon McVittie wrote:
>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.

I recognize none of above patterns in the sugar package.


>What you want is either:
>
><allow send_interface="org.freedesktop.NetworkManagerInfo"
>  send_destination="org.freedesktop.NetworkManagerInfo"/>

Isn't this exactly what is done at the moment?


>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.

Sorry for being so thick-headed, but I still fail to understand what in 
particular is wrong with the configuration file provided by the sugar 
package.


Could you please provide a patch?

I do not mean that I want you to take responsibility for the complete 
changes to the package, just to point out more specifically what kind of 
change you imagine might work: Alternatively you could provide an 
alternative configuration file for me to look at (and pass upstream to 
the Sugar developers).


Kind regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklg3mQACgkQn7DbMsAkQLh5JwCfWd1N7natvEmCkEKLwdvdYU4W
1JcAnR2rb/udKh8Qlh71wgoSpEyNV0Fw
=ocYc
-----END PGP SIGNATURE-----





More information about the Debian-olpc-devel mailing list