Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-09-05 Thread Ola Lundqvist
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 entered i

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-09-04 Thread Daniel Alder
I just found a work-around for it: # vzctl enter 222 --exec exit; exec "exec 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 debian-bugs-dist-requ...@lists.debian.org with a s

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-08-21 Thread Ola Lundqvist
Hi Daniel Quoting "Daniel Alder" : 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 th

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-08-21 Thread Ola Lundqvist
Hi again Now I have found what the NDELAY mode is. What happens is that when it tries to read from stdin it get the error code EWOULDBLOCK. Then it looks like it turns off non-blocking mode. This probably explains the situation and it also explains the error message. The resource is _temporarily_

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-08-21 Thread Ola Lundqvist
Thanks. Let us see what upstream tells about this. I can see in the source code that the stdin, stdout (and such) sockets are duplicated and the old closed. I have not looked into the details about this though. On Sun, Aug 21, 2011 at 09:56:51PM +0200, Daniel Alder wrote: > Hi Ola > > >> Yes, ple

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-08-21 Thread Ola Lundqvist
Hi Daniel On Sun, Aug 21, 2011 at 08:03:33PM +0200, Daniel Alder wrote: > Yes, please. Forward it upstream I'll do that. > And, just for clarifying: > I am always aware which host is running. What I want is just calling one > command in a VE and another one later in the host system. Both using

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-08-21 Thread Ola Lundqvist
Hi Daniel I'm commenting below. On Sat, Aug 20, 2011 at 12:16:11AM +0200, Daniel Alder wrote: > Sorry ola > > Even if you try it without the --exec you have to add the "; read a" > like this: > > --- > ~# vzctl enter 222; read a > entered into CT 222 > ct222:~# exit > logout > exited from CT 22

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-08-18 Thread Ola Lundqvist
Hi Daniel What I can reproduce is that you get a "Resource temporarily unavailable" message for this line quartz:/home/ola/svn/t# vzctl enter 201 --exec exit ; read a entered into CT 201 exit root@test1:/# exit logout exited from CT 201 bash: read: read error: 0: Resource temporarily unavailab

Bug#638072: "Resource temporarily unavailable" after using 'vzctl enter'

2011-08-16 Thread Daniel Alder
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 tem