OpenVZ Forum


Home » Mailing lists » Users » funtoo openvz images fails to work with "vzctl enter"
funtoo openvz images fails to work with "vzctl enter" [message #46853] Mon, 18 June 2012 13:49 Go to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
From: *parallels.com
Hi,

Just filed this bug at Funtoo about their openvz images:

http://bugs.funtoo.org/browse/FL-33


http://ftp.heanet.ie/mirrors/funtoo/funtoo-stable/openvz/x86 -64bit/funtoo-stable-generic_64-2012-01-22.tar.xz
http://ftp.heanet.ie/mirrors/funtoo/funtoo-current/openvz/x8 6-64bit/funtoo-current-generic_64-2012-05-22.tar.xz

Those images suffer from the fact that I cannot do "vzctl enter 100".

Can anyone try to reproduce that?

On my debian HN, I made a symlink to gentoo.conf.

Best,

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: funtoo openvz images fails to work with &quot;vzctl enter&quot; [message #47002 is a reply to message #46853] Tue, 26 June 2012 19:22 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

From: *parallels.com
On 06/18/2012 05:49 PM, Benjamin Henrion wrote:
> Hi,
>
> Just filed this bug at Funtoo about their openvz images:
>
> http://bugs.funtoo.org/browse/FL-33
>
>
> http://ftp.heanet.ie/mirrors/funtoo/funtoo-stable/openvz/x86 -64bit/funtoo-stable-generic_64-2012-01-22.tar.xz
> http://ftp.heanet.ie/mirrors/funtoo/funtoo-current/openvz/x8 6-64bit/funtoo-current-generic_64-2012-05-22.tar.xz
>
> Those images suffer from the fact that I cannot do "vzctl enter 100".
>
> Can anyone try to reproduce that?

Well,

(1) Despite the comments in the above bug report, networking scripts
have nothing to do with vzctl enter
(2) vzctl enter uses either /dev/ptmx and mounted /dev/pts, or older
/dev/ttyp* + /dev/ptyp*. Check those devices exist in CT, check that
/dev/pts is mounted.
(3) You can easily fix both from the host system.

For new devices:
# cp -a /dev/ptmx /vz/root/123/dev/
# vzctl exec 123 grep pts /proc/mounts # Check if the mount is there
# vzctl exec 123 mount -t devpts devpts /dev/pts # Mount if necessary

For old devices:
# cp -a /dev/ttyp* /dev/ptyp* /vz/root/123/dev/

(4) There's an extensive wiki page devoted to the issue:
http://wiki.openvz.org/Container_enter_failed

Hope that helps


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: vswap question - physpages/oomguarpages
Next Topic: Filter container traffic
Goto Forum:
  


Current Time: Thu Nov 15 13:24:28 GMT 2018