[bugs] [illumos gate - Feature #1249] (New) dbus and avahi-bridge-dsd in non global zone
illumos bugs
bugs at lists.illumos.org
Sat Jul 23 15:31:23 PDT 2011
Issue #1249 has been reported by Piotr Jasiukajtis.
----------------------------------------
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:
Category:
Target version:
Difficulty: Medium
Tags: needs-triage
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 bugs
mailing list