Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -march=i686 -mtune=generic -O2 -pipe uname output: Linux ve61.armorica.tk 2.6.18-ovz028stab070.14 #1 SMP Mon Nov 22 10:23:00 CET 2010 i686 Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz GenuineIntel GNU/Linux Machine Type: i686-pc-linux-gnu
Bash Version: 4.2 Patch Level: 6 Release Status: release Description: Bash 4.1 patchlevel 9 works but when an OpenVZ container is upgraded to Bash 4.2 patchlevel 6 you can't login through the physical node with the vzctl enter command. Repeat-By: Use the following command on the physical node: # vzctl enter XXX The proces hangs. When combined with strace I get the following: ... clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b65860859d0) = 29577 close(3) = 0 close(7) = 0 close(9) = 0 close(10) = 0 read(8, and then again it hangs.i The vzctl commands executes bash from within the container and it seems taht there are some problems with redirection? If wanted I can answer questions or give more info.