On Mon, Mar 05, 2007 at 08:37:24PM +0100, Eric Y. Kow wrote:
> On Sun, Mar 04, 2007 at 08:01:16 -0800, David Roundy wrote:
> > I've found that the ssh control master stuff causes ssh to hang even on
> > linux.
> 
> Argh! (then again, that is an interesting data point.  Also, it really
> seems to be related to the size of the repository, wrt # of patches)

Hmmm.  That's an unsettling idea.

> > I'm leaning towards the idea of making it default to off.
> 
> Sigh.  I don't have time to fix ssh, so I guess I will submit a patch to
> add an --enable-ssh-cm flag to sit alongside the --disable-ssh-cm.

Thanks!

> > Incidentally, while darcs doesn't hang if I execute it with
> > --disable-ssh-cm, it still seems to start the control-master process.
> > 
> > $ ps ax -u droundy  | grep 'ssh roundyd'
> >  5803 ?        Ss     0:00 ssh [EMAIL PROTECTED] -S /tmp//darcs-ssh/[EMAIL 
> > PROTECTED] -N -f -M
> > 
> > Why is that?
> 
> It shouldn't do that.  Is there any chance it's left over from a
> previous darcs run?
> 
> This bit of code should prevent it from launching:
>     when (not hasLaunchedCm && not sshControlMasterDisabled) $
>           launchSSHControlMaster remoteAddr
> 
> But maybe sshControlMasterDisabled is somehow unset?

I'm pretty sure I cleared it out before launching darcs with
--disable-ssh-cm.  I haven't time to look into this now, but wonder if
somehow ssh is getting launched before sshControlMasterDisabled is set?
-- 
David Roundy
Department of Physics
Oregon State University

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to