Description of problem: When detecting sensors with standard input redirected from /dev/null there is an error message displayed at the end of detection. This does not have any impact on function but is a bit confusing. As autodetecting (with common defaults) available sensors can be expected in scripts, I think this should be fixed. Version-Release number of selected component (if applicable): lm_sensors-2.10.7-4.el5.i386 Steps to Reproduce: sensors-detect </dev/null Actual results: ... Use of uninitialized value in pattern match (m//) at /usr/sbin/sensors-detect line 5645. Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): Expected results: No errors displayed.
Looked into it, should be easily fixable, so proposing for RHEL-5.4. Thanks & regards, Phil
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0186.html