summaryrefslogtreecommitdiffstats
path: root/conf/corosync-signals.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/corosync-signals.conf')
-rw-r--r--conf/corosync-signals.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/conf/corosync-signals.conf b/conf/corosync-signals.conf
new file mode 100644
index 0000000..4112d0c
--- /dev/null
+++ b/conf/corosync-signals.conf
@@ -0,0 +1,26 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+ <!-- Only root can own the corosync service. -->
+ <policy user="root">
+ <allow own="org.corosync"/>
+ </policy>
+
+ <policy context="default">
+ <allow send_destination="org.corosync"
+ send_path="/org/corosync"
+ send_interface="org.corosync"
+ send_member="NodeStateChange"/>
+ <allow send_destination="org.corosync"
+ send_path="/org/corosync"
+ send_interface="org.corosync"
+ send_member="ConnectionStateChange"/>
+ <allow send_destination="org.corosync"
+ send_path="/org/corosync"
+ send_interface="org.corosync"
+ send_member="QuorumStateChange"/>
+ </policy>
+
+</busconfig>