On 3/2/11 8:38 AM, Henk van de Kamer wrote:
> 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.
While strace shows a great deal, a stack traceback from gdb would be
more informative. Attach to the running bash process with gdb, and
run the `where' command.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/