Hello,
I am having a hard time figuring out how to get lxc-console working for an LXC container that was converted from an older openvz proxmox host.
When I try to console into the container using lxc-console it just hangs at
Connected to tty 2
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
There are other newly created LXC containers on the host that are working just fine but any container that was converted doesn't work.
I don't see anything in the /var/log/secure, but I tested on the container that does work and the login from lxc-console says "LOGIN ON lxc/tty2 BY"
so I found that the following was missing from the /etc/securetty file.
# LXC (Linux Containers)
lxc/console
lxc/tty1
lxc/tty2
lxc/tty3
lxc/tty4
# For libvirt/Virtual Machine Monitor
pts/0
I added that but it is still not working. I'm not sure what else to look at. If anyone has run into this problem or might know what is causing this, I'd appreciate the help
Thanks
I am having a hard time figuring out how to get lxc-console working for an LXC container that was converted from an older openvz proxmox host.
When I try to console into the container using lxc-console it just hangs at
Connected to tty 2
Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself
There are other newly created LXC containers on the host that are working just fine but any container that was converted doesn't work.
I don't see anything in the /var/log/secure, but I tested on the container that does work and the login from lxc-console says "LOGIN ON lxc/tty2 BY"
so I found that the following was missing from the /etc/securetty file.
# LXC (Linux Containers)
lxc/console
lxc/tty1
lxc/tty2
lxc/tty3
lxc/tty4
# For libvirt/Virtual Machine Monitor
pts/0
I added that but it is still not working. I'm not sure what else to look at. If anyone has run into this problem or might know what is causing this, I'd appreciate the help
Thanks