unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Benjamin Slade <slade@lambda-y.net>
Cc: 39489@debbugs.gnu.org
Subject: bug#39489: 28.0.50; On Emacs 27, 28, tramp hangs indefinitely
Date: Sun, 09 Feb 2020 14:14:34 +0100	[thread overview]
Message-ID: <87a75r6gxx.fsf@gmx.de> (raw)
In-Reply-To: <87zhds4wpv.fsf@lambda-y.net> (Benjamin Slade's message of "Sat,  08 Feb 2020 14:04:28 -0700")

Benjamin Slade <slade@lambda-y.net> writes:

> Hi Michael,

Hi Benjamin,

> I have a =~/.authinfo.gpg= file (with contents). There is no 
> =~/.authinfo= file. There *is* a =~/.netrc= file, but it's empty.
>
> For my regular configuration, the value of =auth-sources= is:
>
> ("~/.authinfo.gpg")

That's OK.

> For =emacs -q -l tramp-sh=, the value of =auth-sources= is:
>
> ("~/.authinfo" "~/.authinfo.gpg" "~/.netrc")

This is also OK.

>  > Could you please run the following test:
>
>  > --8<---------------cut 
>  > here---------------start------------->8---
>  > # emacs -q -l tramp-sh
>  > --8<---------------cut 
>  > here---------------end--------------->8---
>
> Since you specify `#`, I ran as root first, and then also as my 
> regular user.

Sorry, I wasn't precise. I need only the traces when Emacs is run as
regular user.

Well, here is the part which looks suspicious (shortened heavily).

--8<---------------cut here---------------start------------->8---
> | | | | | | | | | | | | | 14 -> (auth-source-search :max 1 :user #("root" 0 4 (tramp-default t)) :host #("sushoma" 0 7 (tramp-default t)) :port "sudo" :require (:secret :user) :create t)
> | | | | | | | | | | | | | | 15 -> (tramp-file-name-handler expand-file-name "." #("/sudo:root@sushoma:" 6 10 (tramp-default t) 11 18 (tramp-default t)))
> | | | | | | | | | | | | | | 15 <- tramp-file-name-handler: !non-local\ exit!
> | | | | | | | | | | | | | 14 <- auth-source-search: !non-local\ exit!
--8<---------------cut here---------------end--------------->8---

I don't know why `auth-source-search' needs to expand ".". Could it be,
that it is part of your `exec-path'?

> with many thanks,
>    —Ben

Best regards, Michael.





  parent reply	other threads:[~2020-02-09 13:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 18:40 bug#39489: 28.0.50; On Emacs 27, 28, tramp hangs indefinitely Benjamin Slade
2020-02-07 21:34 ` Michael Albinus
2020-02-07 21:48   ` Benjamin Slade
2020-02-08  9:31     ` Michael Albinus
     [not found]       ` <87zhds4wpv.fsf@lambda-y.net>
2020-02-09 13:14         ` Michael Albinus [this message]
2020-02-10  2:24           ` Benjamin Slade
2020-02-10  9:11             ` Michael Albinus
2020-02-16 19:00               ` Benjamin Slade
2020-02-16 19:27                 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a75r6gxx.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=39489@debbugs.gnu.org \
    --cc=slade@lambda-y.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).