Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555950 - net-analyzer/bwbar-1.2.3: does not work properly with new interface naming scheme
Summary: net-analyzer/bwbar-1.2.3: does not work properly with new interface naming sc...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Netmon Herd
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-07-26 13:23 UTC by Tomasz Wasiak
Modified: 2015-07-27 04:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-analyzer/bwbar-1.2.3 patch allowing use of current interface name scheme (bwbar-1.2.3-interface_name_length.patch,1.00 KB, patch)
2015-07-26 13:24 UTC, Tomasz Wasiak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Wasiak 2015-07-26 13:23:23 UTC
net-analyzer/bwbar-1.2.3 assumes interface name length would be at most 6 characters long while currently used names could be up to 15 characters long. Unfortunately even if only one interface name is longer than 6 characters it will silently fail with exit code 200. Attached patch corrects this situation allowing use of currently used interface naming scheme.

Reproducible: Always

Steps to Reproduce:
1. Compile & install Gentoo net-analyzer/bwbar-1.2.3 package 
2. Try to run it on a machine which have at least one interface with name longer than 6 characters.

Actual Results:  
No error message, no files generated. Exit status 200.

Expected Results:  
ubar.{png,txt} generated, bwbar working in foreground/background regenerating those 2 files at interval set by user or each 15 seconds.
Comment 1 Tomasz Wasiak 2015-07-26 13:24:10 UTC
Created attachment 407654 [details, diff]
net-analyzer/bwbar-1.2.3 patch allowing use of current interface name scheme