[Lxc-users] (no subject)
Daniel Lezcano
daniel.lezcano at free.fr
Tue Sep 14 22:32:30 UTC 2010
On 09/14/2010 09:51 PM, lxc at jelmail.com wrote:
> Hello,
>
> I have been using LXC and getting on ok. However, today, I encountered a
> problem after shutting down a container. I currently have 3 containers that
> all start fine on boot.
>
> Starting a container after shutting it down (from inside with "halt") now
> gives this:
>
What is the distro you are running inside the container ?
What is the lxc and kernel version ?
> # lxc-start -n mycontainer
> lxc-start: Permission denied - failed to create pty #0
> lxc-start: failed to create the ttys
> lxc-start: failed to initialize the container
>
> I also noticed that I can't ssh into a running container which worked fine
> until I saw the above happen. I now get this:
>
> # ssh root at 10.0.200.2
> root at 10.0.200.2's password:
> PTY allocation request failed on channel 0
>
> Now I have seen a few things on google about the latter but these have not
> helped. Specifically, I do have /dev/pts/ptmx defined. My configs are below:
>
[ ... ]
> I have also seen this appear on some console windows:
> Cannot chmod /dev/pts/4 to 620 currently 600: Read-only file system
>
Hmm, weird. Is there any message in /var/log/messages ?
Is it possible to show the content of /proc/mounts ?
> If I reboot it will work fine but I can't keep rebooting my host every time
> I want to re-start a container. I would appreciate any help on this. Thanks.
>
What is the better way to reproduce it ?
Thanks
-- Daniel
More information about the lxc-users
mailing list