GNU bug report logs - #34196
27.0.50; tramp hangs on wrong password with global-auto-revert-mode

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Fri, 25 Jan 2019 15:38:01 UTC

Severity: normal

Tags: fixed

Found in version 27.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: 34196 <at> debbugs.gnu.org
Subject: bug#34196: 27.0.50; tramp hangs on wrong password with global-auto-revert-mode
Date: Sun, 27 Jan 2019 06:34:16 -0800
It appears that the hang happens when (expand-file-name
default-directory) is hit within auto-revert-notify-add-watch for the
tramp buffer: /sudo:root <at> myhost.local

I wonder if it's essentially trying to recursively make that tramp
connection or something along those lines?

Here's the *Messages* buffer:

Tramp: Opening connection for root <at> myhost.local using sudo...
Tramp: Sending command ‘exec env SHELL=/bin/sh sudo -u root -s -H -p
P""a""s""s""w""o""r""d"":’
Tramp: Waiting for prompts from remote shell...
Tramp: Sending Password
expand-file-name: #("/sudo:root <at> myhost.local:" 6 10 (tramp-default t)
11 26 (tramp-default t))
Quit
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for root <at> aaron-mbt.local using sudo...failed
Quit [15 times]

You can see where the expand-file-name happens. I believe that's where
it hangs. Spamming C-g gets out of it.

I have no idea what the right fix is for this, hopefully someone with
more tramp or auto-revert familiarity has an idea.

Thanks,

Aaron




This bug report was last modified 6 years and 102 days ago.

Previous Next


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