[Lxc-users] Stumped, lxc-console returns console denied
Schorschi
schorschi at dc.rr.com
Thu Jul 19 00:56:44 UTC 2012
Also, I realized the container configuration file was missing any allocated
console resources, so I addressed that issue...
lxc.tty = 4
Now I get the same issue a number of people have experienced...
[root at test 0]# lxc-console -n 0
Type <Ctrl+a q> to exit the console
I never get a prompt to login, no response at all. Even after I hit return
a few times.
So I am still stumped.
Thanks for any help, appreciated.
From: Schorschi [mailto:schorschi at dc.rr.com]
Sent: Wednesday, July 18, 2012 17:02
To: 'Lxc-users at lists.sourceforge.net'
Subject: Stumped, lxc-console returns console denied
Created a container called 'test', including root file system for container,
created configuration file, setup fstab in container, as well as bridge for
container to use, but something is still not quite right, I can stop and
start the container with no issue, but I can't seem to get a console to the
container? I even can create a container and control it via virsh a-la
libvirt but still can't get a console to the container.
Example...
# lxc-console -n test
lxc-console: console denied by 'test'
I am using lxc 0.8.0-rc2 on Fedora 17.
I suspect I don't have the virtual console resources set up quite right, but
I am not sure exactly how validate the configuration for virtual consoles.
I changed the /etc/sysconfig/init file for the container from
ACTIVE_CONSOLES=/dev/tty[1-6] to ACTIVE_CONSOLES=/dev/tty[1-4], but that
applies to virtual consoles shared between the host and container on the
real console, no? Not a console setup my lxc-console.sh?
I have not enabled SELinux in the container nor iptables/ip6tables in the
container, so doubt that is an issue, the root file system is just the
Fedora 17 core RPM, and OpenSSH. Open SSH was installed via chroot of
container root file system using yum of course.
Any help appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120718/837ddc74/attachment.html>
More information about the lxc-users
mailing list