Actions
Feature #1249
opendbus and avahi-bridge-dsd in non global zone
Start date:
2011-07-23
Due date:
2011-09-14 (over 11 years late)
% 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
Updated by Garrett D'Amore over 11 years ago
Neither of these files are part of packages that are within illumos-gate. I am moving to OpenIndiana.
Updated by Garrett D'Amore over 11 years ago
- Project changed from illumos gate to OpenIndiana Distribution
Updated by Chris Jordan over 11 years ago
- Category set to Desktop (JDS)
- Assignee set to OI JDS
- Tags changed from needs-triage to dbus
Updated by Ken Mays over 11 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.
Updated by Ken Mays over 8 years ago
- Target version deleted (
oi_151_stable) - % Done changed from 100 to 0
Updated by Michal Nowak over 3 years 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?
Actions