Lm-sensors's init script sets an unused variable

Bug #798934 reported by MatatTHC
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lm-sensors (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The latest (natty) init script of lm-sensors sets a variable

PROGRAM=/usr/bin/sensors

at the beginning. but it does not use it.

Tags: natty
Revision history for this message
papukaija (papukaija) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in lm-sensors.

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://help.ubuntu.com/community/ReportingBugs.

tags: added: natty
affects: ubuntu → lm-sensors (Ubuntu)
summary: - lm-sensors init script variable
+ Lm-sensors's init script sets an unused variable
Revision history for this message
Dave Walker (davewalker) wrote :

Thanks for reporting this bug, i couldn't find this reference in the natty init scripts - but did find it in the current development version (and debian unstable).

A slightly larger extract shows:

...
PROGRAM=/usr/bin/sensors

test -x $PROGRAM || exit 0
...

This means that the init script is testing that the programme is executable before continuing. I'm not sure i see the issue with this bug. I am going to mark it Incomplete, please provide rational why this is a concern.

Thanks!

Changed in lm-sensors (Ubuntu):
status: New → Incomplete
Revision history for this message
MatatTHC (matatthc) wrote :

I stumbled over this because I compiled lmsensors by myself but wanted to use the provided init script. I changed the PROGRAM variable to the alternative location and expected that it works.

If I set an variable then I expect that it is used. So its not a bug in the sense that it does not work - changing it will not change this situation - but improve the init script source code.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lm-sensors (Ubuntu) because there has been no activity for 60 days.]

Changed in lm-sensors (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.