[debian/fso]: zhone does not connect to gsm anymore

arne anka openmoko at ginguppin.de
Sun Jan 11 20:45:21 CET 2009


well, i replaced the new system.conf with the old one -- and both zhone  
and opp work again.
below i compared the new system.conf and the old one (1.2.1-5 vs 1.2.1-4)  
-- as said before, i don't understand what exactly they're about, but  
maybe one of the fso guys sees immediately, what change made zhone/opp die?


diff -Naur etc/dbus-1/system.conf system.conf
--- etc/dbus-1/system.conf      2008-10-25 16:48:13.000000000 +0200
+++ system.conf 2009-01-11 20:33:06.000000000 +0100
@@ -29,6 +29,9 @@
    <!-- Write a pid file -->
    <pidfile>/var/run/dbus/pid</pidfile>

+  <!-- Enable logging to syslog -->
+  <syslog/>
+
    <!-- Only allow socket-credentials-based authentication -->
    <auth>EXTERNAL</auth>

@@ -50,9 +53,21 @@
           even if they aren't in here -->
      <allow send_destination="org.freedesktop.DBus"/>
      <allow receive_sender="org.freedesktop.DBus"/>
-    <!-- valid replies are always allowed -->
-    <allow send_requested_reply="true"/>
+    <!-- Allow all signals to be sent by default -->
+    <allow send_type="signal"/>
+    <!-- allow sending valid replies -->
+    <allow send_requested_reply="true" send_type="method_return"/>
+    <allow send_requested_reply="true" send_type="error"/>
+    <!-- allow receiving valid replies -->
      <allow receive_requested_reply="true"/>
+    <!-- Note: the rule above also allows receiving of all non-reply  
messages
+         that are not denied later.  See:
+         https://bugs.freedesktop.org/show_bug.cgi?id=18229
+         Potentially this will be replaced in the future by the
+         following two rules:
+    <allow receive_requested_reply="true" receive_type="method_return"/>
+    <allow receive_requested_reply="true" receive_type="error"/>
+    -->
    </policy>

    <!-- Config files are placed here that among other things, punch





More information about the community mailing list