[Jds-team] [OpenIndiana Distribution - Feature #1249] dbus and avahi-bridge-dsd in non global zone
illumos project
devnull at illumos.org
Fri Aug 19 22:03:56 UTC 2011
Issue #1249 has been updated by Chris Jordan.
Category set to Desktop (JDS)
Assignee set to OI JDS
Tags changed from needs-triage to dbus
----------------------------------------
Feature #1249: dbus and avahi-bridge-dsd in non global zone
https://www.illumos.org/issues/1249
Author: Piotr Jasiukajtis
Status: New
Priority: Low
Assignee: OI JDS
Category: Desktop (JDS)
Target version:
Difficulty: Medium
Tags: dbus
Dbus and avahi-bridge-dsd services complain about running in non global zone.
I'm not sure about these checks, but commenting them out gives me ability to run Netatalk service within a Zone.
<pre>
# diff -u /lib/svc/method/svc-avahi-bridge-dsd_orig /lib/svc/method/svc-avahi-bridge-dsd
--- /lib/svc/method/svc-avahi-bridge-dsd_orig Sat Jul 23 23:33:33 2011
+++ /lib/svc/method/svc-avahi-bridge-dsd Sat Jul 23 23:34:10 2011
@@ -33,12 +33,12 @@
exit $SMF_EXIT_ERR_FATAL
fi
-if smf_is_nonglobalzone; then
- /usr/sbin/svcadm disable -t svc:/system/avahi-bridge-dsd
- echo "avahi-bridge-dsd cannot be run in non-global zones"
- sleep 5 &
- exit $SMF_EXIT_OK
-fi
+#if smf_is_nonglobalzone; then
+# /usr/sbin/svcadm disable -t svc:/system/avahi-bridge-dsd
+# echo "avahi-bridge-dsd cannot be run in non-global zones"
+# sleep 5 &
+# exit $SMF_EXIT_OK
+#fi
case "$1" in
'start')
</pre>
<pre>
# diff -u /lib/svc/method/svc-dbus_orig /lib/svc/method/svc-dbus
--- /lib/svc/method/svc-dbus_orig Sat Jul 23 23:30:20 2011
+++ /lib/svc/method/svc-dbus Sat Jul 23 23:31:24 2011
@@ -38,12 +38,12 @@
/usr/bin/dbus-uuidgen --ensure
fi
-if smf_is_nonglobalzone; then
- /usr/sbin/svcadm disable -t svc:/system/dbus
- echo "dbus-daemon cannot be run in non-global zones"
- sleep 5 &
- exit $SMF_EXIT_OK
-fi
+#if smf_is_nonglobalzone; then
+# /usr/sbin/svcadm disable -t svc:/system/dbus
+# echo "dbus-daemon cannot be run in non-global zones"
+# sleep 5 &
+# exit $SMF_EXIT_OK
+#fi
case "$1" in
'start')
</pre>
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the Jds-team
mailing list