| Anonymous | Login | 2026-03-29 10:20 CEST |
| Main | My View | View Issues |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0003961 | [dbus] other | minor | always | 2009-10-13 01:45 | 2012-01-18 10:20 | |||||||
| Reporter | james | View Status | public | |||||||||
| Assigned To | wbonnet | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | |||||||||||
| Summary | 0003961: says "dbus-daemon cannot be run in non-global zones" but it does | |||||||||||
| Description |
/etc/opt/csw/init.d/cswdbus contains: if smf_is_nonglobalzone; then /usr/sbin/svcadm disable -t svc:/system/cswdbus echo "dbus-daemon cannot be run in non-global zones" sleep 5 & exit $SMF_EXIT_OK fi but the logic fails and it does start: # /etc/opt/csw/init.d/cswdbus start /etc/opt/csw/init.d/cswdbus: smf_is_nonglobalzone: not found As you can see from init PID it's running in a non-global zone: # ps -ef | egrep 'dbus-daemon|init' root 18635 16978 0 00:35:04 pts/8 0:00 egrep dbus-daemon|init root 16253 16233 0 00:28:19 ? 0:00 /sbin/init messageb 18581 16233 0 00:34:04 ? 0:00 /opt/csw/bin/dbus-daemon --system |
|||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
Notes |
|
|
(0009541) ghenry (reporter) 2012-01-18 10:20 edited on: 2012-01-18 10:21 |
does this link help? http://wesunsolve.net/bugid/id/6541025 [^] Change line 13 in /lib/svc/method/svc-nscd of the global zone from if (smf_is_nonglobalzone); then to if [ `/sbin/zonename` != "global" ]; then and reboot each non-global zone. A simpler (and presumably more correct) workaround is to replace 33 if (smf_is_system_labeled); then 34 if (smf_is_nonglobalzone); then with 33 if smf_is_system_labeled; then 34 if smf_is_nonglobalzone; then That is, simply drop the parentheses. |
| Copyright © 2000 - 2008 Mantis Group |