sensord cannot RRD log with multiple chips

Bug #591128 reported by Seth Arnold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lm-sensors (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: lm-sensors

I cannot create an RRD database with my lm-sensors sensord:

Jun 8 00:34:27 haig sensord: Creating round robin database
Jun 8 00:34:27 haig sensord: Error creating RRD file: /var/log/sensord.rrd: Duplicate DS name: temp1

This bug has been identified and fixed in upstream lm-sensors:

http://comments.gmane.org/gmane.linux.drivers.sensors/21515
http://www.lm-sensors.org/changeset/5835
http://www.lm-sensors.org/ticket/2377

The problem comes because my Intel Core i7 chip has multiple coretemp-isa-* sensor chips, one to report the temperature of each HyperThread-fake core. Each chip of course has the same single temperature name, 'temp1', and the patch in changeset 5835 gives each temp1 a unique name.

The upstream developers do mention that they need to find a naming scheme that would be stable for e.g. the next ten years. Since this is an LTS distribution, it'd be worth generating 'stable' RRD DS names, to avoid future problems. (If this weren't an LTS distribution, I think just applying the patch as-is would be Just Fine. But since this one is going to be around for a long time, getting it right on the first shot sure wouldn't hurt. :)

# lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04
# apt-cache policy lm-sensors
lm-sensors:
  Installed: 1:3.1.2-2
  Candidate: 1:3.1.2-2
  Version table:
 *** 1:3.1.2-2 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

description: updated
Mathias Gug (mathiaz)
Changed in lm-sensors (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Phillip Susi (psusi)
Changed in lm-sensors (Ubuntu):
status: Confirmed → 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.