[SRU] Net-SNMP tries to read the obsolete /etc/sensors.conf
Bug #192745 reported by
Christian Svensson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Chuck Short | ||
Intrepid |
Won't Fix
|
Undecided
|
Chuck Short | ||
Jaunty |
Fix Released
|
Undecided
|
Chuck Short |
Bug Description
Using snmpd_5.
The command
snmpwalk localhost lmSensors
displays this output:
LM-SENSORS-
strace'ing snmpd -f -Le -Ducd-snmp/
...
time(NULL) = 1203281780
open("/
write(2, "=> sensor_init\n", 15=> sensor_init
...
Creating a symlink /etc/sensors3.conf -> /etc/sensors.conf fixes this problem.
Changed in net-snmp: | |
assignee: | nobody → ubuntu-server |
Changed in net-snmp: | |
assignee: | ubuntu-server → nobody |
status: | Incomplete → Confirmed |
Changed in net-snmp (Ubuntu Hardy): | |
assignee: | nobody → Chuck Short (zulcss) |
Changed in net-snmp (Ubuntu Intrepid): | |
assignee: | nobody → Chuck Short (zulcss) |
Changed in net-snmp (Ubuntu Jaunty): | |
assignee: | nobody → Chuck Short (zulcss) |
summary: |
- Net-SNMP tries to read the obsolete /etc/sensors.conf + [SRU] Net-SNMP tries to read the obsolete /etc/sensors.conf |
To post a comment you must log in.
Hi,
I see the same problem on a Ubuntu 8.04, with snmpd_5. 4.1~dfsg- 4ubuntu4.
This has a big consequence that when lm-sensors has been configured, snmpd doesn't see the sensors and doesn't export them through SNMP.
It seems that the problem is that snmpd is linked to /usr/lib/ libsensors. so.3 while sensors from lm-sensors is linked to /usr/lib/ libsensors. so.4.
Is it possible to fix this problem by relinking snmpd to the new lm-sensors ?
Thanks