Project

General

Profile

Feature #1249

dbus and avahi-bridge-dsd in non global zone

Added by Piotr Jasiukajtis over 8 years ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
Category:
Desktop (JDS)
Target version:
-
Start date:
2011-07-23
Due date:
2011-09-14
% Done:

0%

Estimated time:
1.00 h
Difficulty:
Bite-size
Tags:
dbus

Description

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.

# 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')
# 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')

Related issues

Has duplicate illumos gate - Bug #1359: dbus may need work to run in a non-global zoneClosed2011-08-11

Actions

History

#1

Updated by Garrett D'Amore over 8 years ago

Neither of these files are part of packages that are within illumos-gate. I am moving to OpenIndiana.

#2

Updated by Garrett D'Amore over 8 years ago

  • Project changed from illumos gate to OpenIndiana Distribution
#3

Updated by Chris Jordan over 8 years ago

  • Category set to Desktop (JDS)
  • Assignee set to OI JDS
  • Tags changed from needs-triage to dbus
#4

Updated by Ken Mays about 8 years ago

  • Due date set to 2011-09-14
  • Status changed from New to Closed
  • Target version set to oi_151_stable
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h
  • Difficulty changed from Medium to Bite-size

I've created a new dbus-1.5.6 test package where I'm implementing this. I was told by the lead JDS maintainer that only we are mainly pulling from JDS upstream - so I'm resolving this as a one off user package.

#5

Updated by Albert Lee about 8 years ago

  • Status changed from Closed to New

This is still unresolved.

#6

Updated by Ken Mays over 5 years ago

  • Target version deleted (oi_151_stable)
  • % Done changed from 100 to 0
#7

Updated by Michal Nowak 3 months ago

I checked and smf_is_nonglobalzone guards are still present in both places.

OpenIndiana does not ship Netatalk. It used to be in SFE but I don't see it there as well. Wondering if anyone still needs this?

Also available in: Atom PDF