[Bug 987770] [NEW] lxc-start: wrong terminal size
B Clausius
barcc at gmx.de
Tue Apr 24 11:12:52 UTC 2012
Public bug reported:
1. Create a Precise container with the Ubuntu template:
sudo lxc-create -n precise -t ubuntu -- -r precise
2. Start the container with lxc-start:
sudo lxc-start -n precise
The following effects can be observed:
a) Independent of the actual size:
ubuntu at precise:~$ echo $COLUMNS $LINES
80 24
b) Commands like less behave strange if not 80x24.
c) If you type a command that is longer than 80 chars, the cursor jumps to the first column on the same line overwriting the prompt and the command; the ouput of such commands is correct.
If you connect to the container with
sudo lxc-console -n precise
the effects a-c cannot be observed and work as expected.
Expected: containers started with lxc-create should behave like containers connected to with lxc-console
Workaround:
sudo lxc-start -n precise -d
sudo lxc-console -n precise
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu52
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
Date: Tue Apr 24 12:46:26 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: lxc
UpgradeStatus: Upgraded to precise on 2012-03-31 (24 days ago)
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/987770
Title:
lxc-start: wrong terminal size
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/987770/+subscriptions
More information about the Ubuntu-server-bugs
mailing list