Description of problem: In RHEL5 the haldaemon initscript is set to start at position "98". This makes it hard for other services to use HAL, because it only leaves 1 single position left for all other services requiring HAL. In RHEL this breaks libvirt's hardware device management APIs, because libvirt starts at position 97 and is then unable to commnunicate with HAL. In Fedora HAL is starting at a much more sensible position '26'. This needs to be done in RHEL too. Version-Release number of selected component (if applicable): hal-0.5.8.1-38.el5 libvirt-0.6.3-2.el5 How reproducible: Always Steps to Reproduce: 1. chkconfig libvirtd on 2. chkconfig haldaemon on 3. shutdown -r now 4. wait for it to reboot and finish init 5. virsh nodedev-list Actual results: # virsh nodedev-list --tree error: Failed to count node devices error: this function is not supported by the hypervisor: virNodeNumOfDevices # service libvirtrd restart # virsh nodedev-list --tree computer | +-pci_1013_b8 +-pci_10ec_8139 | | | +-net_00_16_3e_09_f5_eb | +-pci_10ec_8139_0 | | | +-net_00_16_3e_09_f4_eb | +-pci_10ec_8139_1 | | | +-net_00_16_3e_09_f3_eb | +-pci_10ec_8139_2 | | .... etc... Expected results: # virsh nodedev-list works immediately following completion of boot. Additional info:
Created attachment 343782 [details] patch to match fedora
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1359.html