Bug 431884

Summary: lm_sensors init script return values not LSB compliant
Product: [Fedora] Fedora Reporter: Frank Sweetser <fs>
Component: lm_sensorsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: cra, hdegoede, rvokal
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: 2008-02-11 13:51:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 246824    
Attachments:
Description Flags
Make error return codes lsb compliant none

Description Frank Sweetser 2008-02-07 16:45:19 UTC
Currently, the lm_sensors rc script returns 0 in several cases where the service
is actually unconfigured, and cannot be started.  This makes it impossible to
reliably manage the service using management tools such as puppet.

http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html

The attached trivial patch fixes the glitch for me.

Comment 1 Frank Sweetser 2008-02-07 16:45:19 UTC
Created attachment 294228 [details]
Make error return codes lsb compliant

Comment 2 Hans de Goede 2008-02-11 13:51:18 UTC
Thanks, a new build of lm_sensors with your patch applied is on its way to
rawhide / development. I don't believe this issue is worth doing an F-8 update
for. Phil do you agree?





Comment 3 Phil Knirsch 2008-02-11 14:19:30 UTC
Yea, development should be fine i think.

Thanks Hans,

Read ya, Phil