sensord fail to create correct RRD file when loadavg requested

Bug #1032181 reported by David Girault
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lm-sensors (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

When sensord is launched with --loadavg option AND RRD file is missing, it create the RRD file WITHOUT the required 'loadavg' field.
Latter on, sensord fail to write records in RRD file since loadavg is missing.

Tags: patch
Revision history for this message
David Girault (dfgweb) wrote :

This patch fix the bug.

Revision history for this message
David Girault (dfgweb) wrote :

Please note that upstream don't have this bug since it was introduced by patch debian/patches/03-sensord-loadavg.patch.

Revision history for this message
David Girault (dfgweb) wrote :

After adding this patch, the following error in syslog disappears:

Aug 2 14:54:00 serveur sensord: Error updating RRD file: /var/log/sensord.rrd: /var/log/sensord.rrd: found extra data on update arg
ument: 0.070000
Aug 2 14:54:00 serveur sensord: rrd update error (-1)

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix_loadavg_missing_in_rrd" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Changed in lm-sensors (Ubuntu):
status: New → Fix Committed
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.