Bug#714526: still an issue - makes callers hang
Control: severity -1 normal
Hi,
this is still a problem on jessie with for instance buildd. Consider this
simple perl script:
#!/usr/bin/perl
use strict;
use warnings;
my $pipe;
my $pid = open($pipe, "-|");
die "$pipe failed: $!" unless defined $pipe;
if ($pid == 0) {
open(STDERR, '>&', \*STDOUT);
exec qw{ssh wb-buildd@buildd.debian.org moo};
exit
};
print while (<$pipe>);
close $pipe;
print "done.\n";
If ssh wb-buildd@buildd.debian.org launches a control master, this script will
never terminate.
Cheers,
weasel
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
Reply to: