Package: gpe-bluetooth
Version: 0.56-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * Merge from Debian testing, remaining changes:
    - debian/patches/dbus-policy:
      + send_path without send_destination applies to all services, since the
        destination is already allowed, this line is unnecessary.
      + receive_sender is only necessary for signals (method replies and
        errors are already allowed), and neither service emits signals.

Details are documented at https://launchpad.net/bugs/318762 .

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 
'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-18-generic (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: The shipped D-Bus policy (in bluez.conf) is wrong:
 * send_path without send_destination allows for all services, 
   since the destination is allowed anyway, this line is unnecessary
 * receive_sender is only necessary for signals (method replies and 
   errors are already allowed), and neither service emits signals
Author: Scott James Remnant <sc...@ubuntu.com>
Bug-Ubuntu: https://launchpad.net/bugs/318762

diff -Nur -x '*.orig' -x '*~' gpe-bluetooth-0.55/bluez.conf gpe-bluetooth-0.55.new/bluez.conf
--- gpe-bluetooth-0.55/bluez.conf	2006-10-11 15:42:24.000000000 -0700
+++ gpe-bluetooth-0.55.new/bluez.conf	2008-12-09 17:06:09.000000000 -0800
@@ -11,18 +11,12 @@
     <allow own="org.handhelds.gpe.bluez"/>
 
     <allow send_destination="org.handhelds.gpe.bluez"/>
-    <allow receive_sender="org.handhelds.gpe.bluez"/>
-
-    <allow send_path="/org/handhelds/gpe/bluez/PinAgent"/>
   </policy>
 
   <policy context="default">
     <allow own="org.bluez.PinAgent"/>
 
     <allow send_destination="org.bluez.PinAgent"/>
-    <allow receive_sender="org.bluez.PinAgent"/>
-
-    <allow send_path="/org/bluez/PinAgent"/>
   </policy>
 
 </busconfig>

Reply via email to