Bug 431884 - lm_sensors init script return values not LSB compliant
Summary: lm_sensors init script return values not LSB compliant
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lm_sensors
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: InitscriptStatus
TreeView+ depends on / blocked
 
Reported: 2008-02-07 16:45 UTC by Frank Sweetser
Modified: 2015-03-05 01:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-11 13:51:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Make error return codes lsb compliant (827 bytes, patch)
2008-02-07 16:45 UTC, Frank Sweetser
no flags Details | Diff

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


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