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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21504 in the body.
You can then email your comments to 21504 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21504; Package emacs. (Thu, 17 Sep 2015 04:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to 傅文辉 <ffffwh <at> icloud.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 17 Sep 2015 04:57:03 GMT) Full text and rfc822 format available.

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

From: 傅文辉 <ffffwh <at> icloud.com>
To: bug-gnu-emacs <at> gnu.org
Subject: (require 'tramp) stuck on testing `tramp-ssh-controlmaster-options'
Date: Thu, 17 Sep 2015 10:26:12 +0800
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).



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21504; Package emacs. (Thu, 17 Sep 2015 18:58:02 GMT) Full text and rfc822 format available.

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.




bug Marked as fixed in versions 25.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 18 Sep 2015 21:28:02 GMT) Full text and rfc822 format available.

Forcibly Merged 20015 21504. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 18 Sep 2015 21:28:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 17 Oct 2015 11:24:04 GMT) Full text and rfc822 format available.

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.