]> git.meshlink.io Git - catta/commitdiff
Use send_destination for DBus <deny> rule
authorLennart Poettering <lennart@poettering.net>
Tue, 31 Mar 2009 23:20:14 +0000 (01:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 31 Mar 2009 23:20:14 +0000 (01:20 +0200)
This fixes #263, rhbz #491941, fdo #18961

avahi-daemon/avahi-dbus.conf.in

index e439e0794bfffbab8ab7470a5de7d164a932c34a..9d2118167b1c9674627dae026b442af3e564f1c1 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
         "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
         "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
 <busconfig>
 
   <!-- Only root or user @AVAHI_USER@ can own the Avahi service -->
@@ -16,7 +16,8 @@
     <allow send_destination="org.freedesktop.Avahi"/>
     <allow receive_sender="org.freedesktop.Avahi"/>
 
-    <deny send_interface="org.freedesktop.Avahi.Server" send_member="SetHostName"/>
+    <deny send_destination="org.freedesktop.Avahi"
+          send_interface="org.freedesktop.Avahi.Server" send_member="SetHostName"/>
   </policy>
 
   <!-- Allow everything, including access to SetHostName to users of the group "@AVAHI_PRIV_ACCESS_GROUP@" -->