[Bug 981955] Re: lxc-execute without config does not seem to work in precise
Works well here, thanks! -- 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/981955 Title: lxc-execute without config does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 986956] Re: document that lxc-execute with separate rootfs does not work with commands
The last comments make me think that lxc-execute works with application containers. Does it work? The simplest usage would be (without a created container test): $ sudo lxc-execute -n test /bin/bash But due to bug 981955 this does not work. With the workaround there: $ sudo lxc-execute -n test /bin/bash -s lxc.rootfs=/ -s lxc.aa_profile=unconfined Now Daniel suggests not to specify lxc.rootfs? What config makes the bash work with lxc-execute? Or are interactive commands not intended to work with lxc-execute? The man-page says it should. -- 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: document that lxc-execute with separate rootfs does not work with commands To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/986956/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 987770] [NEW] lxc-start: wrong terminal size
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@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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 987770] Re: lxc-start: wrong terminal size
-- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 986956] [NEW] lxc-execute does not work with commands that require input from terminal
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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 986956] Re: lxc-execute does not work with commands that require input from terminal
-- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 981955] Re: lxc-execute does not seem to work in precise
Sorry for the incomplete info I am using a container without rootfs. Just type for a not existing container test: $ sudo lxc-execute -n test /bin/echo hi lxc-execute: Invalid argument - failed to get real path for '(null)' lxc-execute: failed to pin the container's rootfs lxc-execute: failed to spawn 'test' lxc-execute: No such file or directory - failed to remove cgroup '/sys/fs/cgroup//lxc/test' or use a container ceated with: $ sudo lxc-create -n test No config file specified, using the default config 'test' created I used different configs and it seams it is caused by the missing rootfs. Such simple things worked in the past at least under Natty, but not in 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/981955 Title: lxc-execute does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 981955] Re: lxc-execute does not seem to work in precise
** Attachment added: debug.out https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+attachment/3092780/+files/debug.out -- 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/981955 Title: lxc-execute does not seem to work in precise To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/981955/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs