Bug 2325505 - nut-scanner missing libraries
Summary: nut-scanner missing libraries
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: nut
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL: https://forums.fedoraforum.org/showth...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-12 14:56 UTC by Tim Blundell
Modified: 2025-05-20 20:11 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 2367646 (view as bug list)
Environment:
Last Closed: 2025-05-20 20:11:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Blundell 2024-11-12 14:56:23 UTC
Missing libraries for nut-scanner in nut-2.8.2-1.fc40.x86_64:
Cannot load USB library (libusb-1.0.so) : file not found. USB search disabled.
Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search disabled.
Cannot load XML library (libneon.so) : file not found. XML search disabled.
Cannot load AVAHI library (libavahi-client.so) : file not found. AVAHI search disabled.
Cannot load IPMI library (libfreeipmi.so) : file not found. IPMI search disabled.
Cannot load NUT library (libupsclient.so) : file not found. NUT search disabled.

Reproducible: Always

Steps to Reproduce:
1.Run nut-scanner as root

Actual Results:  
Cannot load USB library (libusb-1.0.so) : file not found. USB search disabled.
Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search disabled.
Cannot load XML library (libneon.so) : file not found. XML search disabled.
Cannot load AVAHI library (libavahi-client.so) : file not found. AVAHI search disabled.
Cannot load IPMI library (libfreeipmi.so) : file not found. IPMI search disabled.
Cannot load NUT library (libupsclient.so) : file not found. NUT search disabled.
No start IP, skipping NUT bus (old connect method)
Scanning NUT simulation devices.

Expected Results:  
Unknown

https://forums.fedoraforum.org/showthread.php?332980-If-you-re-trying-to-configure-NUT-(Network-UPS-Tool)
Link above shows how to resolve. Can this be corrected by whomever is preparing the package?

Comment 1 Jorge Martínez López 2025-03-10 18:07:43 UTC
Upstream issue, including workaround: https://github.com/networkupstools/nut/issues/2431

Unfortunately the workaround doesn't work on Fedora IOT, /usr being read-only.

Comment 2 Aoife Moloney 2025-04-28 15:22:31 UTC
This message is a reminder that Fedora Linux 40 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '40'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 40 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Jorge Martínez López 2025-04-28 18:09:41 UTC
Still present in F42:

# nut-scanner 
Cannot load USB library (libusb-1.0.so) : file not found. USB search disabled.
Cannot load SNMP library (libnetsnmp.so) : file not found. SNMP search disabled.
Cannot load XML library (libneon.so) : file not found. XML search disabled.
Cannot load AVAHI library (libavahi-client.so) : file not found. AVAHI search disabled.
Cannot load IPMI library (libfreeipmi.so) : file not found. IPMI search disabled.
Cannot load NUT library (libupsclient.so) : file not found. NUT search disabled.
Scanning NUT simulation devices.

nut-2.8.2.1-4.fc42.1.git20240703pr2505.aarch64

As I'm not the original reporter it seems I can't change the release in the bug report.

Comment 4 Aoife Moloney 2025-05-20 20:11:13 UTC
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13.

Fedora Linux 40 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.