[bug-notifications] [dbus 0003961]: says "dbus-daemon cannot be run in non-global zones" but it does

Mantis Bug Tracker noreply at opencsw.org
Mon Nov 16 23:09:08 CET 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=3961 
====================================================================== 
Reported By:                james
Assigned To:                wbonnet
====================================================================== 
Project:                    dbus
Issue ID:                   3961
Category:                   other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-10-13 01:45 CEST
Last Modified:              2009-11-16 23:09 CET
====================================================================== 
Summary:                    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


======================================================================




More information about the bug-notifications mailing list