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

Bug 555950

Summary: net-analyzer/bwbar-1.2.3: does not work properly with new interface naming scheme
Product: Gentoo Linux Reporter: Tomasz Wasiak <tjwasiak>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-analyzer/bwbar-1.2.3 patch allowing use of current interface name scheme

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