23721085 services that register dbus endpoints go into maintenance after installing
authorAlan Coopersmith <Alan.Coopersmith@Oracle.COM>
Fri, 01 Jul 2016 16:29:46 -0700
changeset 6354 71684abc33b6
parent 6353 afaf9f444329
child 6355 54be0d99b031
23721085 services that register dbus endpoints go into maintenance after installing
components/desktop/dbus/files/dbus.xml
transforms/actuators
--- a/components/desktop/dbus/files/dbus.xml	Tue Jul 05 14:34:01 2016 -0700
+++ b/components/desktop/dbus/files/dbus.xml	Fri Jul 01 16:29:46 2016 -0700
@@ -1,8 +1,6 @@
 <?xml version="1.0"?>
 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
 <!--
-	Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
-	Use is subject to license terms.
 
  CDDL HEADER START
 
@@ -23,6 +21,9 @@
 
  CDDL HEADER END
 
+ Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
+
+
 	NOTE:  This service manifest is not editable; its contents will
 	be overwritten by package or patch operations, including
 	operating system upgrade.  Make customizations in a different
@@ -65,6 +66,12 @@
 		exec=':kill'
 		timeout_seconds='30' />
 
+        <exec_method
+                type='method'
+                name='refresh'
+                exec=':kill -HUP'
+                timeout_seconds='30' />
+
 	<property_group name='startd' type='framework'>
 		<!-- sub-process core dumps shouldn't restart session -->
 		<propval name='ignore_error' type='astring'
--- a/transforms/actuators	Tue Jul 05 14:34:01 2016 -0700
+++ b/transforms/actuators	Fri Jul 01 16:29:46 2016 -0700
@@ -65,6 +65,10 @@
 <transform file link hardlink path=usr/lib.*/gio/modules/.*\.so$ -> \
     default restart_fmri svc:/application/desktop-cache/gio-module-cache:default>
 
+# D-Bus services
+<transform file path=(etc|usr/share)/dbus-1/system(\.d|-services)/.+$ -> \
+    default refresh_fmri svc:/system/dbus:default>
+
 # RAD
 <transform file path=usr/lib/rad/.* -> add restart_fmri \
     svc:/system/rad:local>