Raid-Status (from /usr/lib/byobu/raid) stays forever near 99.9%
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
(UBUNTU) Ubuntu 12.04.3 LTS [updatetd just now]
(byobu) Version: 5.17-0ubuntu1
*** (different source in byobu trunk!)
Using 'screen' (tmux NOT TESTED) seemingly holds the last
status string from function __raid in file /usr/lib/byobu/raid forever,
while the RAID rebuild ended.
This last state always is 'nearly done', then constant until restart.
I assume, that the 'return' at the end of function '__raid' should
'printf ' at least one blank instead of 'returning really nothing'.
I tried replacing line 39:
[ -n "$msg" ] || return
with
[ -n "$msg" ] || { printf ""; return }
and the useless status goes away.
(I'll see/test the next RAID-rebuild one of the
days 'soon', having to replace two more disks)
Stucki
This was actually fixed in a later revision. The fix is in Byobu 5.20, which is in quantal, but it didn't land in precise. You can easily upgrade to the latest version in the Byobu ppa with:
sudo apt-add-repository ppa:byobu/ppa
sudo apt-get update
sudo apt-get install byobu -y