Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 325083

Summary: sys-apps/lm_sensors-3.1.2: sensord cannot RRD log with multiple chips
Product: Gentoo Linux Reporter: Horst Prote <prote>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.mail-archive.com/ubuntu-server-bugs@lists.ubuntu.com/msg36403.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Horst Prote 2010-06-22 16:36:12 UTC
I cannot create an RRD database with my lm-sensors sensord:
sensord --load-average --rrd-file /var/log/sensord.rrd \
        --rrd-cgi /var/www/.../sensord \
        >| /var/www/.../cgi-bin/sensord.cgi
Error creating RRD file: /var/log/sensord.rrd: Duplicate DS name: in0

Found an Ubuntu bug about this at
http://www.mail-archive.com/ubuntu-server-bugs@lists.ubuntu.com/msg36403.html
and tried the upstream patch they mention there: It works.

Reproducible: Always

Steps to Reproduce:
1. Install sys-apps/lm_sensors-3.1.2 on a machine with multiple sensorchips.
2. Try to create the RRD Database through running sensord with --rrd-cgi arg.


Actual Results:  
Error creating RRD file: /var/log/sensord.rrd: Duplicate DS name: in0


Expected Results:  
Creating round robin database
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-27 18:48:50 UTC
+*lm_sensors-3.1.2-r1 (27 Jun 2010)
+
+  27 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +lm_sensors-3.1.2-r1.ebuild,
+  +files/lm_sensors-3.1.2-changeset_r5835.patch:
+  Fix support of multiple chips wrt #325083 by Horst Prote.