GNU bug report logs - #21504
(require 'tramp) stuck on testing `tramp-ssh-controlmaster-options'

Previous Next

Package: emacs;

Reported by: 傅文辉 <ffffwh <at> icloud.com>

Date: Thu, 17 Sep 2015 04:57:03 UTC

Severity: normal

Merged with 20015

Found in version 25.0.50

Fixed in version 25.1

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21504 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: 傅文辉 <ffffwh <at> icloud.com>
Cc: 21504 <at> debbugs.gnu.org
Subject: Re: bug#21504: (require 'tramp) stuck on testing
 `tramp-ssh-controlmaster-options'
Date: Thu, 17 Sep 2015 20:56:54 +0200
傅文辉 <ffffwh <at> icloud.com> writes:

> Emacs 24.5.1, tramp 2.2.11-24.5
>
> The following code stuck with some DNS settings
>
>>>> file: tramp-loaddefs.el
> (defvar tramp-ssh-controlmaster-options
>   ...
>   (call-process "ssh" nil t nil "-o" "ControlPath=%C" "host.does.not.exist")
>   ...)
> <<<
>
> `ssh -o ControlPath=%C host.does.not.exist` stuck instead of going
> error quickly with DNS from my ISP (both home and workplace).

It is a similar bug report like bug#20015. Solved in Emacs 25 (the git
version), using 0.0.0.1 as not existing host. This avoids problems with
improper DNS settings.

Best regards, Michael.




This bug report was last modified 9 years and 249 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.