bandwidthd package fails to reimport data on restart

Bug #1264319 reported by Sancho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bandwidthd (Ubuntu)
New
Undecided
Unassigned

Bug Description

When restarting the daemon logging into plain text files instead of PGsql, the source expects 7 columns, but there are eight of them within the files.
Modifying the source and rebuilding fixes the whole thing and the logs are successfully reimported.
Here is the description for debian and patch to fix it.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660810
The main application seems to be no longer maintained.

Revision history for this message
Sancho (sancho-sancho) wrote :

My attempt to fix the bug:
apt-get source bandwidthd
cd bandwidthd-2.0.1+cvs20090917
edit the bandwidthd.c (replace number 7 for number 8 on rows 1195 and 1198)
debuild -us -uc -b
sudo dpkg -i ../bandwidthd_2.0.1+cvs20090917-4.1ubuntu1_i386.deb

Revision history for this message
lid (lid) wrote :

This bug was fixed in 2.0.1+cvs20090917-5
https://launchpad.net/ubuntu/+source/bandwidthd/2.0.1+cvs20090917-5

Unfortunately, only available for 12.10+ but can be easily backported.

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.