Mantis - dbus
Viewing Issue Advanced Details
3626 packaging block always 2009-04-06 11:29 2010-01-24 11:20
user2176  
wbonnet  
normal  
closed  
fixed  
none    
none  
0003626: dbus daemon will not stop on reboot/init 6 blocking the shutdown
dbus daemon will not stop on reboot/init 6 blocking the shutdown
see : /var/opt/csw/svc/method/svc-cswdbus line 58
# kill -9 `/opt/csw/bin/dbus-daemon --print-pid`

uncommenting and completing the line to :
/opt/csw/bin/dbus-daemon --print-pid --config-file=/opt/csw/etc/dbus-1/system.conf

gives:
Failed to start message bus: The pid file "/opt/csw/var/run/dbus/pid" exists, if the message bus is not running, remove this file

while "/opt/csw/var/run/dbus/pid" contains the correct pid


More over :

less /var/svc/log/system-cswdbus:default.log
[ Apr 2 15:41:28 Disabled. ]
[ Apr 2 15:41:28 Rereading configuration. ]
[ Apr 2 15:41:28 Enabled. ]
[ Apr 2 15:41:28 Executing start method ("/var/opt/csw/svc/method/svc-cswdbus s
tart") ]
/var/opt/csw/svc/method/svc-cswdbus: smf_is_nonglobalzone: not found
[ Apr 2 15:41:28 Method "start" exited with status 0 ]
[ Apr 2 17:29:12 Stopping because service disabled. ]
[ Apr 2 17:29:12 Executing stop method ("/var/opt/csw/svc/method/svc-cswdbus st
op") ]
/var/opt/csw/svc/method/svc-cswdbus: smf_is_nonglobalzone: not found
[ Apr 2 17:29:12 Method "stop" exited with status 0 ]
[ Apr 2 17:41:12 Enabled. ]
[ Apr 2 17:41:28 Executing start method ("/var/opt/csw/svc/method/svc-cswdbus s
tart") ]
/var/opt/csw/svc/method/svc-cswdbus: smf_is_nonglobalzone: not found
[ Apr 2 17:41:30 Method "start" exited with status 0 ]

Issue History
2009-04-06 11:29 user2176 New Issue
2009-04-06 13:21 wbonnet Status new => assigned
2009-04-06 13:21 wbonnet Assigned To => wbonnet
2009-07-02 10:28 james Note Added: 0006378
2009-07-02 10:29 james Issue Monitored: james
2009-08-15 02:44 wbonnet Note Added: 0006578
2009-08-15 02:44 wbonnet Status assigned => resolved
2009-08-15 02:44 wbonnet Resolution open => fixed
2010-01-24 11:20 wbonnet Note Added: 0007328
2010-01-24 11:20 wbonnet Status resolved => closed

Notes
(0006378)
james   
2009-07-02 10:28   
I found this too. It's annoying!

# pkill dbus-daemon

is needed to prevent the machine hanging on shutdown.
(0006578)
wbonnet   
2009-08-15 02:44   
Fix is available in testing version and is about to be submitted to current. Will close when released to current.

Please be aware that before upgrading the package you have to stop dbus by hand (killing the dbus process !).
(0007328)
wbonnet   
2010-01-24 11:20   
Fix has been publish to current