Raid-Status (from /usr/lib/byobu/raid) stays forever near 99.9%

Bug #1251659 reported by Christoph von Stuckrad
10
This bug affects 2 people
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

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

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

Changed in byobu (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in byobu (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.