Issue with pct after exiting lxc

carlosmp

Member
Jun 2, 2010
44
1
6
Hi,

I seem to be having an issue when we exit a container (lxc). when returning to the nodes cli, it almost appears as if the echo was turned off, and no output is seen on the screen...
Code:
[root@ns3 network-scripts]# root@pve151201:/usr/share/lxc/templates# root@pve151201:/usr/share/lxc/templates# root@pve151201:/usr/share/lxc/templates# root@pve151201:/usr/share/lxc/templates# root@pve151201:/usr/share/lxc/templates# root@pve151201:/usr/share/lxc/templates# > -bash: dfdsafdcd: command not found
root@pve151201:/usr/share/lxc/templates# root@pve151201:~# root@pve151201:~# total 0
Thanks in advance,
Carlos.
 

Richard

Proxmox Staff Member
Staff member
Mar 6, 2015
798
31
48
Austria
I seem to be having an issue when we exit a container (lxc). when returning to the nodes cli, it almost appears as if the echo was turned off, and no output is seen on the screen...
How did you enter into and exit from the container?

I recommend to use lxc-attach and exit; rather then lxc-start or lxc-console.
 

carlosmp

Member
Jun 2, 2010
44
1
6
I'm using pct enter <vmid>, similar to the way we did previously with vlctl enter. The problem happens when doing a reboot from within the container and wait until we get kicked. If we exit the container and issue shutdown/start commands, we do not see the issue.
 

windinternet

Member
Oct 8, 2015
159
7
18
If you blind type reset<enter> after you get kicked, you will have your tty output reconnected.

stty sane, also works after you get kicked.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!