[distcc] distcc-over-ssh fails with some sshd
Felix Lee
felix.1 at canids.net
Sun Aug 10 00:39:23 GMT 2003
Yes, distcc works fine now with the old sshd.
Martin Pool <mbp at sourcefrog.net>:
> On 27 Jun 2003, Felix Lee <felix.1 at canids.net> wrote:
> > summary
> >
> > distccd 2.7.1 i386-unknown-netbsdelf1.5.3 (protocol 1)
> > sshd version OpenSSH_3.0.2 NetBSD_Secure_Shell-20020626
> >
> > When sshd execs distccd, it gives distccd stdin and stdout
> > that are different, and stdin is not writable. distccd
> > expects to read and write on the same file descriptor. It
> > reads the request from stdin fine, then tries to write the
> > result to stdin and fails.
> >
> [..]
> >
> > It looks pretty trivial. Change dcc_run_job() in src/serve.c
> > to take two file descriptors instead of one, and propagate
> > the change back up to its callers.
>
> Thanks, fixed in CVS. I would be grateful if you could test with the
> version of sshd that originally failed.
More information about the distcc
mailing list