Description of problem: nut cannot communicate with USB-connected UPS devices. For example, when nut-scanner is run, it complains that there is no libusb installed, even when the package is in fact installed in the system. Strace of nut-scanner shows that it tries to open /lib64/libusb.so, which is not provided by libusb. Strangely enough /lib64/libusb.so is provided by libusb-devel. After installation of libusb-devel nut-scanner works as expected and detects the USB-connected UPS device. Version-Release number of selected component (if applicable): nut-2.6.4-1.fc17.x86_64 libusb-0.1.3-10.fc17.x86_64 libusb-devel-0.1.3-10.fc17.x86_64 How reproducible: Every time. Steps to Reproduce: 1. Install Fedora 17 from network media, choose minimal installation. 2. Install nut. 3. Run nut-scanner Actual results: # nut-scanner Cannot load USB library (libusb) : file not found. USB search disabled. Cannot load SNMP library (libnetsnmp) : file not found. SNMP search disabled. Cannot load XML library (libneon) : file not found. XML search disabled. Cannot load AVAHI library (libavahi-client) : file not found. AVAHI search disabled. Cannot load IPMI library (libfreeipmi) : file not found. IPMI search disabled. Cannot load NUT library (libupsclient) : file not found. NUT search disabled. # Expected results: # nut-scanner Cannot load SNMP library (libnetsnmp) : file not found. SNMP search disabled. Cannot load XML library (libneon) : file not found. XML search disabled. Cannot load AVAHI library (libavahi-client) : file not found. AVAHI search disabled. Cannot load IPMI library (libfreeipmi) : file not found. IPMI search disabled. Cannot load NUT library (libupsclient) : file not found. NUT search disabled. Scanning USB bus. [nutdev1] driver = "blazer_usb" port = "auto" vendorid = "0665" productid = "5161" product = "USB to Serial" vendor = "Cypress Semiconductor" bus = "004" # Additional info: I'm not sure if it is a bug of nut (depending on a wrong file) or libusb (shipping a file needed at run-time in -devel package).
reproducible Thanks for the bug report
nut-2.6.5-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/nut-2.6.5-2.fc17
nut-2.6.5-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/nut-2.6.5-2.fc16
Package nut-2.6.5-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nut-2.6.5-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-13430/nut-2.6.5-2.fc17 then log in and leave karma (feedback).
nut-2.6.5-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/nut-2.6.5-3.fc17
nut-2.6.5-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/nut-2.6.5-3.fc16
nut-2.6.5-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
nut-2.6.5-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.