Bug 715573

Summary: sensors-detect fails with Linux 3.0
Product: [Fedora] Fedora Reporter: Vedran Miletić <vedran>
Component: lm_sensorsAssignee: Nikola Pajkovsky <npajkovs>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: dhoward, hdegoede, npajkovs, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-23 12:31:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vedran Miletić 2011-06-23 11:51:08 UTC
# sensors-detect 
Use of uninitialized value $kernel_version[0] in numeric gt (>) at /usr/sbin/sensors-detect line 2442.
Use of uninitialized value $kernel_version[0] in numeric eq (==) at /usr/sbin/sensors-detect line 2442.
Kernel version is unsupported (too old, >= 2.6.5 needed)

Comment 1 Hans de Goede 2011-06-23 12:31:24 UTC
Thanks for the report. About half of userspace has been broken by the kernel going from a x.y.z version scheme to a x.y scheme. AFAIK Linux has decided to go back to x.y.z for now and call the new version 3.0.0, so this should be fixed when the kernel package picks up this change.

There were some patches for sensors-detect to work with the x.y scheme, but the upstream lm_sensors maintainer did not want to take this until the x.y versus x.y.z scheme decision has been finalized.