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



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

Reply via email to