Sync vnstat 1.10-0.1 (universe) from Debian unstable (main)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vnstat (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vnstat
Rational for request:
The current version in Lucid is over 2 years old and contains many bugs and limitations that affect usability:
- The /proc parser doesn't always track the correct interface, for example eth10 will be used instead of eth1 if visible.
- The package is missing the configuration file
- The cron entry is getting executed too infrequently to track reliably 100 Mbit and faster interfaces.
- Interfaces that aren't always in use (such as 3G modems, wlan interfaces, ppp interfaces) are likely to show bogus data from time to time.
- Database corruption possible in case of multiple updates at the same time.
- The cron entry is likely to keep the hdd of laptop users spinning even when there's no network interface active.
The new version uses the same database structure and --dumpdb output as version 1.6 so user made scripts using vnstat should not be affected by the upgrade.
The new version from Debian unstable was tested to compile, install and upgrade without errors in Lucid.
Package changelog entries since current Lucid version 1.6-1:
vnstat (1.10-0.1) unstable; urgency=low
* Non-maintainer upload.
* New upstream release. (Closes: #561297)
+ Fix manpages - present options and elements in alphabetical order.
(Closes: #561304)
* debian/patches:
+ refreshed fix_manpages.diff
* debian/
+ add it because policy requires it.
* debian/control:
+ Add ${misc:Depends} to Depends to remove lintian warning.
* Update copyright information.
-- Ilya Pravdivtsev <email address hidden> Tue, 19 Jan 2010 00:06:14 +0300
vnstat (1.9-0.2) unstable; urgency=low
* Non-maintainer upload.
* New upstream release.
+ Fix vnstat collects data from the wrong interface. (Closes: #512566)
+ Cron entry is no longer used. (Closes: #338818)
* debian/patches:
+ updated to new version.
+ added fix_manpages.diff to remove lintian warnings
"
* debian/control:
+ remove Vcs-* fields.
+ added libgd2-xpm-dev to build-depends.
* Standards-Version was bumped to 3.8.3
* Upgrading package to debhelper 7.
* Add package for vnstati.
* Cron script replaced by init script.
* Remove /etc/network/
These scripts aren't needed when the daemon is used.
-- Ilya Pravdivtsev <email address hidden> Mon, 28 Sep 2009 07:24:51 +0400
Upstream changelog entries since current Lucid version 1.6-1:
1.10 / 2-Jan-10
- Fix: Buffer overflow was possible in hourly image output when RateUnit=1
and HourlyRate=1
- Fix: Minor memory leak was possible in the handling of HUP signal in daemon
- Fix: Graphical elements weren't correctly aligned in summary image
when header wasn't visible (-nh)
- Fix: --delete didn't work
- Possibility to merge statistics from several databases and save
the end result to a new database (--mergesaved)
- Added validation of database cache in daemon in order to be more robust
in case of system memory corruption
- Support for --style to -l (live mode)
- Alternative print mode to -l (live mode) with optional parameter
- Present options and elements in man pages in alphabetical order
- Code cleanup
1.9 / 12-Sep-09
- Fix: TrafficlessDays configuration option was enabled when set to zero
when it should have been disabled
- Fix: MonthRotate setting was getting ignored for the first month if
the database is created when day of month < MonthRotate value
- Configurable summary layout in image output (1.7 <> 1.8 layouts)
- --oneline, a simple parseable one line output
- --transparent for setting image background transparency from the
command line
- --delete for deleting databases and stopping monitoring, doesn't require
restarting the daemon
- A database write can be configure to occur after interface status changes
- Different database write interval can be configure to be used when
all monitored interfaces are offline
- Better configurability for the content of outputs, including a narrow
output for space limited terminals (OutputStyle and --style)
- Code cleanup
- New configuration file settings:
OutputStyle, SummaryLayout, SummaryRate, SaveOnStatusChange,
OfflineSaveI
1.8 / 1-Aug-09
- Fix: OpenBSD print issues (was: ' used for formatting in sprintf)
- Fix: Monthly estimate for February during a leap year was wrong
- Fix: 'make install' didn't install the config file is $(DESTDIR) was used
- Traffic of current and previous months added to summary
- Increased accuracy of monthly estimate calculation
- Traffic rates can be made visible and the shown unit is configurable
as bits or bytes
- New summary layout in image output
- Image output can have the background color set as transparent
- Possibility to merge data from several interfaces to one output with
interface1+
- -s / --sync parameter added to daemon
- --dbdir and --locale parameters added
- Outputs now use system locale by default and formatting of dates follow
the locale setting unless configured otherwise
- New configuration file settings:
ShowRate, RateUnit, TrafficlessDays, HourlyRate, TransparentBg
1.7 / 12-Apr-09
- Fix: Timezone changes shouldn't cause a flood of errors anymore
- Fix: Statvfs used instead of statfs for BSD compatibility
(Thanks to Mark Mitchell for pointing this out)
- Fix: Makefile didn't properly support LDFLAGS and -lm was misplaced
- Fix: MonthRotate value in config wasn't used
- Fix: Unreadable configuration file doesn't cause a segmentation fault
- Fix: /proc/net/dev parser didn't see the difference between eth10 and eth1
- Fix: Updating a database from two of more processes at the same time
was able to sometimes cause data loss
- Fix: Estimates are calculated based on last database update
- Fix: Each interface update had a possibility of losing 1023 bytes of
traffic at most due to improper rounding
(Thanks to Michael Berlin for suggesting a suitable correction)
- Daemon support as alternative for cron based updates
- PNG image output (hourly rate based on patch by Sergio Ammirata)
- XML output
- BSD support
- Diskspace check can be disabled from configuration file
- IEC standard prefixes (KiB/MiB/GiB/TiB)
- List of available interfaces if wrong of unavailable interface is selected
summary: |
- Sync vnstat 1.10-0.1 (universe) from Debian unstable / new (main) + Sync vnstat 1.10-0.1 (universe) from Debian unstable (main) |
You need a Feature Freeze exception [1] for the sync. Either delay your request to lucid+1 or provide the required information for the freeze exception.
[1] https:/ /wiki.ubuntu. com/FreezeExcep tionProcess