byobu MONITORED_NETWORK wrong with card alias
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
Binary package hint: byobu
Hello,
I have ubuntu working on openvz container.
my ifconfig
=======
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
Packets reçus:5 erreurs:0 :0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
Octets reçus:2880 (2.8 KB) Octets transmis:2880 (2.8 KB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-
inet adr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Masque:
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
Packets reçus:7144 erreurs:0 :0 overruns:0 frame:0
TX packets:3504 errors:0 dropped:0 overruns:0 carrier:0
Octets reçus:586743 (586.7 KB) Octets transmis:1351738 (1.3 MB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-
inet adr:XXXXXXXX P-t-P:XXXXXXXX Bcast:0.0.0.0 Masque:
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
=======
I have installed byobu and put in ~/.byobu/statusrc
MONITORED_
byobu only show 127.0.0.1 venet0 addr but not venet0:0
I have to modify /usr/lib/
ipaddr=$(LC_ALL=C /sbin/ip -4 addr list dev "$interface")
>by
ipaddr=$(LC_ALL=C /sbin/ip -4 addr list dev "$interface" | grep $interface )
And it works.
Thank
description: | updated |
description: | updated |
Changed in byobu (Ubuntu): | |
status: | In Progress → Fix Committed |
Hi there!
Thanks for the bug and the suggested fix.
Can you please paste the output of:
LC_ALL=C /sbin/ip -4 addr list dev venet0:0
That should help verify a few things. Thanks!