byobu broken on natty

Bug #676605 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
High
Dustin Kirkland 

Bug Description

Binary package hint: byobu

byobu seems broken on natty in 2 scenarios for me:

a.) upgraded system
b.) fresh install on ec2 where byobu-launcher-install' has run

running 'byobu' fails with no output.

$ strace -o out -ff byobu

of the four out.* files, the one that showed most info ended with:
open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, ": No such file or directory", 27) = 27
write(2, "\n", 1) = 1
lstat("/home/smoser/.byobu/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/home/smoser/.local/share/byobu/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
rename("/home/smoser/.byobu/.", "/home/smoser/.local/share/byobu/.") = -1 EBUSY (Device or resource busy)
write(2, "mv: ", 4) = 4
write(2, "cannot move `/home/smoser/.byobu"..., 74) = 74
write(2, ": Device or resource busy", 25) = 25
write(2, "\n", 1) = 1
lstat("/home/smoser/.byobu/..", {st_mode=S_IFDIR|0700, st_size=36864, ...}) = 0
lstat("/home/smoser/.local/share/byobu/..", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
rename("/home/smoser/.byobu/..", "/home/smoser/.local/share/byobu/..") = -1 EBUSY (Device or resource busy)
write(2, "mv: ", 4) = 4
write(2, "cannot move `/home/smoser/.byobu"..., 76) = 76
write(2, ": Device or resource busy", 25) = 25
write(2, "\n", 1) = 1
close(0) = 0
close(1) = 0
close(2) = 0
exit_group(1) = ?

Screen works fine.
moving .byobu to .byobu.tmp resolves the issue.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: byobu 3.9-0ubuntu1
ProcVersionSignature: User Name 2.6.35-22.35-virtual 2.6.35.4
Uname: Linux 2.6.35-22-virtual i686
Architecture: i386
Date: Wed Nov 17 16:45:34 2010
Ec2AMI: ami-2c28df45
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1b
Ec2InstanceType: m1.small
Ec2Kernel: aki-407d9529
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: byobu

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Changed in byobu (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Scott Moser (smoser) wrote :

I suspect that you can reproduce this by:
a.) upgrading your system from maverick to natty (after having previously used byobu)
b.) Running the following after install of your natty:
   mkdir .byobu; byobu
   Or:
   byobu-launcher-install
   byobu
c.) launching an ec2 instance and trying 'b' above.

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

Aha. Reproduced.

I have a fix...

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

byobu-janitor wasn't running to completion. Committing a fix now.

Changed in byobu (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 3.10-0ubuntu1

---------------
byobu (3.10-0ubuntu1) natty; urgency=low

  * usr/lib/byobu/custom: fix typo in for loop, LP: #673728, thanks for
    the triage Jorge E. Gómez
  * usr/bin/byobu-janitor: make sure this runs to completion, LP: #676605
  * usr/lib/byobu/cpu_freq: scale bogomips by number of processors, if
    using bogomips to estimate frequency, LP: #675442
  * etc/byobu/statusrc, usr/bin/byobu-config, usr/lib/byobu/Makefile.am,
    usr/lib/byobu/swap, usr/share/byobu/profiles/common,
    usr/share/man/man1/byobu.1: add a swap memory usage notification,
    LP: #677259
  * usr/lib/byobu/release: fix the ubuntu devel release printing
 -- Dustin Kirkland <email address hidden> Fri, 12 Nov 2010 22:45:25 -0600

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
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.