bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vzctl enter <VEID> hangs


From: Chet Ramey
Subject: Re: vzctl enter <VEID> hangs
Date: Thu, 03 Mar 2011 10:09:56 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]