fixed 698560 3.0.29.3-1
merge 698560 683454
thanks

Hi

Thanks for this. Now I realize that this is exactly the same solution
as for #683454. The problem description is the same too.

I guess that qualifies it to be a duplicate. :-)

So merging those bugs first.

The solution is to upgrade the host software first. I guess that is
what you can expect. It is hard to be future compatible.

// Ola

On Fri, May 10, 2013 at 03:19:18PM -0400, Nicholas Kisseberth wrote:
>    Slightly slower followup....
>    Just copying src/enter.c from the wheezy version to squeeze and
>    rebuilding fixes the issue as well (you also need to add a ARRAY_SIZE
>    macro to util.h).Â
>    I'd take all the changes in that file (at least all the close() calls),
>    but the absolute minimum was to get it to work was the diff below. Note
>    I don't really know what it's doing, I just isolated it. I know its not
>    really a security issue in squeeze so you'all probably won't be able to
>    update it. Maybe the whole new version could make it to backports? I
>    don't really know how debian works packages like this.
>    --- src/enter.c.orig 2013-05-10 15:07:59.000000000 -0400
>    +++ src/enter.c 2013-05-10 15:08:07.000000000 -0400
>    @@ -308,6 +308,7 @@
>    Â  dup2(slave, 2);
>    Â  /* Close the extra descriptor for the pseudo tty. */
>    Â  close(slave);
>    + close(st[1]);
>    Â  if ((term = getenv("TERM")) != NULL) {
>    Â  snprintf(buf, sizeof(buf), "TERM=%s", term);
>    Â  env[sizeof(env)/sizeof(env[0]) - 2] = buf;
> 
>    On Fri, May 10, 2013 at 2:48 PM, Nicholas Kisseberth
>    <[1][email protected]> wrote:
> 
>    Quick followup... on the squeeze host compiling vzctl from wheezy's
>    sources (3.0.30.2) and running it also fixes the problem.
> 
>    On Fri, May 10, 2013 at 2:43 PM, Nicholas Kisseberth
>    <[2][email protected]> wrote:
> 
>    Sorry for the direct email.
>    But I thought I'd give you a little hint on this problem. I ran into
>    the same issue on my development sandbox and asked my production system
>    admin and he said he had to work around the issue by replacing
>    /bin/bash in the wheezy container with the one from squeeze.
>    I'm going to try a few things to see if I can isolate the problem
>    further. Maybe this isn't a configuration debian can support, but I
>    hope it is. I'll follow up if I learn anything else that could be
>    helpful to you.
> 
> Referenser
> 
>    1. mailto:[email protected]
>    2. mailto:[email protected]

-- 
 --- 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]

Reply via email to