Hi Daniel
Quoting "Daniel Alder" <[email protected]>:
Bash should really retry as that is what the error code tells.
Retrying does not seem to be a solution; i also tried something like
this in the hope some waiting will help:
What I ment was that bash itself should try again if it gets a wouldblock.
What I think is the case is that bash is not prepared for being in
non-blocking mode. I think a problem is that vzctl set stdin in
non-blocking mode. I do not know this for sure yet though.
vzctl enter 222 --exec exit ; sleep 5 ; read a ; sleep 5 ; read a
Looks like it is not a time problem. A sleep 15 works as bad as sleep 1.
And also 'turning off NDELAY mode' (as dash does) does not really
help in this case...
Looks like that.
Daniel
--
--- Inguza Technology AB --- MSc in Information Technology ----
/ [email protected] Annebergsslingan 37 \
| [email protected] 654 65 KARLSTAD |
| http://inguza.com/ Mobile: +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]