sensors-detect (lm-sensors) is suggesting /etc/init.d/module-init-tools instead of using upstart

Bug #741338 reported by Michael Basse
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lm-sensors-3 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

after running "sudo sensors-detect" the script is suggesting

Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/module-init-tools start'
to load them.

on Ubuntu 11.04 i get this after running it

sudo /etc/init.d/module-init-tools start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service module-init-tools start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start module-init-tools
module-init-tools stop/waiting

so the message from "sensors-detect" should be changed. so that upstart is suggested instead of the init-script.

It should be checked if other ubuntu-versions are also affected, like 10.04 and 10.10 (which are using upstart also if i am correct)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: lm-sensors 1:3.2.0-1
ProcVersionSignature: Ubuntu 2.6.38-7.38-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Mar 23 23:33:12 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANGUAGE=de_DE:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: lm-sensors-3
UpgradeStatus: Upgraded to natty on 2011-03-16 (7 days ago)

Related branches

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :
summary: - sensors-detect (lm-sensors) us suggesting
- /etc/init.d//etc/init.d/module-init-tools instead of using upstart
+ sensors-detect (lm-sensors) is suggesting /etc/init.d/module-init-tools
+ instead of using upstart
Revision history for this message
Michael Basse (michael-alpha-unix) wrote :
Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

sorry i am new to this, here is a patch created with "diff -u" instead of "diff"

Revision history for this message
Michael Basse (michael-alpha-unix) wrote :

sorry i am new to this, here is a patch created with "diff -u" instead of "diff"

tags: added: patch
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Michael, thanks for the patch, looks good.

I've packaged it into lm-sensors-3 and uploaded it to natty. Please keep up the good work!

Btw, if you'd like to take care of packaging your own patches in the future, here is a useful reference for you: https://wiki.ubuntu.com/SponsorshipProcess

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

This bug was fixed in the package lm-sensors-3 - 1:3.2.0-1ubuntu1

---------------
lm-sensors-3 (1:3.2.0-1ubuntu1) natty; urgency=low

  * Add 100_recommend_using_upstart.patch: Recommend use of upstart rather
    than init-script. (Thanks Michael Basse)
    (LP: #741338)
 -- Bryce Harrington <email address hidden> Mon, 04 Apr 2011 11:39:13 -0700

Changed in lm-sensors-3 (Ubuntu):
status: New → Fix Released
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.