Package: vzctl
Architecture: i386
Version: 3.0.24-12

Try the following command lines in bash:

----
$ set -x
$ vzctl enter 222 --exec exit ; read a
+ vzctl enter 222 --exec exit
entered into CT 222
exit
root@durin:/# exit
logout
exited from CT 222
+ read a
-bash: read: read error: 0: Resource temporarily unavailable
$
$ read a
+ read a
here i can type
$
----

The command which follows after the vzctl call does not work if it uses stdin. A command like apt-get will even switch to non-interactive mode.

The strange thing is, that the next command typed at the command line works without problems.

When using the same commands in a script file, stdin is blocked until the end of script execution, which makes it impossible for me to do some batch jobs.


"vzctl enter 222 --exec exit" was only an example. you can also try "vzctl enter 222" and type exit manually


When using the above commands using dash 'read' outputs the following message: "turning off NDELAY mode"



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to