Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92946 - /etc/init.d/lm_sensors tries modprobe on systems that do not suport modules
Summary: /etc/init.d/lm_sensors tries modprobe on systems that do not suport modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-17 09:52 UTC by david somers
Modified: 2005-06-11 04:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david somers 2005-05-17 09:52:22 UTC
When running /etc/init.d/lm_sensors on a system where the kernel does NOT 
support loadable modules, this script attempts modprobe

Reproducible: Always
Steps to Reproduce:
do
/etc/init.d/lm_sensors start
on a system where the kernel has been build without loadable module support.


Expected Results:  
Insert a guard, (if [ -f /proc/modules ] ... fi), in start() around the 
appropriate code.

if [ -f /proc/modules ]
  if [ -z "${NOLOADMODULES}" ] ; then
  ....
  fi
fi
Comment 1 Henrik Brix Andersen 2005-06-05 05:21:46 UTC
This will be fixed in 2.9.1.
Comment 2 Henrik Brix Andersen 2005-06-11 04:30:22 UTC
Fixed in sys-apps/lm_sensors-2.9.1. Thank you for reporting this.