[Bug 986956] [NEW] lxc-execute does not work with commands that require input from terminal

B Clausius barcc at gmx.de
Sun Apr 22 18:23:27 UTC 2012


Public bug reported:

1. $ sudo lxc-execute -n container /bin/bash
2. -> The prompt is shown
3. Type echo hello
4. -> The characters you type are not displayed, but the command output is displayed
5. -> The message "lxc-execute: Input/output error - failed to read" is displayed
6. Type exit
7. -> [1]+  Stopped       sudo lxc-execute -n precise /bin/bash
8. Type fg and the container ends.

For other commands like nano or less it's the same. The output is
correct but the input is not handled right, the effects in 4.,5. and 7.
can vary.

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: Sun Apr 22 19:35:33 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: lxc
UpgradeStatus: Upgraded to precise on 2012-03-31 (22 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/986956

Title:
  lxc-execute does not work with commands that require input from
  terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986956/+subscriptions



More information about the Ubuntu-server-bugs mailing list