Description of problem: Hal hangs if service messagebus is not running before service haldaemon is started. Version-Release number of selected component (if applicable): hal-0.2.97.cvs20040823-1 How reproducible: Always Steps to Reproduce: 1. /sbin/service messagebus stop 2. /sbin/service haldaemon restart (or start) 3. wait forever Actual results: Hangs Expected results: Should fail. Additional info: (dbus not running) # HALD_VERBOSE=1 /usr/sbin/hald --daemon=no 11:18:59.173 [E] hald_dbus.c:1922: dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory I looked at it with strace -f and if run without --daemon=no hald attempts to read something from a file descriptor but never returns.
Right, should be fixed in Rawhide. See http://www.redhat.com/archives/fedora-test-list/2004-August/msg00794.html for more information. So I'm closing this bug. Question: This '# HALD_VERBOSE=1 /usr/sbin/hald --daemon=no' doesn't hang if the messagebus isn't running, right?
Ok. Right, it does not hang. [root@d117 ~]# /sbin/service haldaemon stop Stopping HAL daemon: [ OK ] [root@d117 ~]# /sbin/service messagebus stop Stopping system message bus: [ OK ] [root@d117 ~]# HALD_VERBOSE=1 /usr/sbin/hald --daemon=no 13:29:15.661 [E] hald_dbus.c:1922: dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused [root@d117 ~]#