Add a dbus config for msg-service 43/1543/1 submit/trunk/20120810.185706
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Fri, 10 Aug 2012 18:35:39 +0000 (11:35 -0700)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Fri, 10 Aug 2012 18:51:40 +0000 (11:51 -0700)
msg-service sends a request to libslp-tapi to own the name
"org.tizen.msgfw" on the system bus, so a dbus config file is required
to permit this action.

Change-Id: Ib344723e8fea33575714a8b21d8a5e88792d149b
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
CMakeLists.txt
config/msg-service.conf [new file with mode: 0644]
packaging/msg-service.changes
packaging/msg-service.spec

index 16400fd..5591536 100755 (executable)
@@ -74,3 +74,4 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/msg-service.pc DESTINATION lib/pkgconfig)
 SET(RC_LOCAL_SCRIPT msg-server)
 INSTALL(PROGRAMS ${RC_LOCAL_SCRIPT} DESTINATION /etc/rc.d/init.d)
 
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config/msg-service.conf DESTINATION /etc/dbus-1/system.d)
diff --git a/config/msg-service.conf b/config/msg-service.conf
new file mode 100644 (file)
index 0000000..9a5ed32
--- /dev/null
@@ -0,0 +1,10 @@
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+    <policy user="app">
+        <allow own="org.tizen.msgfw"/>
+    </policy>
+    <policy context="default">
+        <deny own="org.tizen.msgfw"/>
+    </policy>
+</busconfig>
index 36a6bc5..1a7bafa 100644 (file)
@@ -1,3 +1,6 @@
+* Fri Aug 10 2012 Patrick McCarty <patrick.mccarty@linux.intel.com> 3165698
+- Add a dbus config for msg-service
+
 * Fri Jul 27 2012 Patrick McCarty <patrick.mccarty@linux.intel.com> 2043b13
 - Set memory/msg/ready in %post to fix msg-server state detection
 
index 8b2730c..f87f5e1 100644 (file)
@@ -276,6 +276,7 @@ vconftool set -t bool memory/msg/ready 0 -i -g 5000
 %{_libdir}/libmsg_transaction_manager.so
 %{_libdir}/libmsg_utils.so
 %{_libdir}/libmsg_transaction_proxy.so
+%config %{_sysconfdir}/dbus-1/system.d/msg-service.conf
 %{_sysconfdir}/rc.d/init.d/msg-server
 %{_sysconfdir}/rc.d/rc3.d/S70msg-server
 %{_sysconfdir}/rc.d/rc5.d/S70msg-server