Hi Daniel

Thanks a lot for this information. I think this would be useful
information for upstrem when they will solve this.

Thanks again.

// Ola

On Sun, Sep 04, 2011 at 02:12:59PM +0200, Daniel Alder wrote:
> I just found a work-around for it:
>
> # vzctl enter 222 --exec exit; exec </dev/fd/0; read -p "Input: " a
> entered into CT 222
> exit
> root@durin:/# exit
> logout
> exited from CT 222
> Input: test
> #
>
> "exec </dev/fd/0" is opening stdin again after command execution, so it  
> really looks like vzctl is influencing the file handle i a way.
>
> The hack is not nice but it works for me. Anyway, it is not the solution
>
>
>

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [email protected]                     Annebergsslingan 37      \
|  [email protected]                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to