* bug#39170: 27.0.60; tramp: async-shell-command asks me for password each time
@ 2020-01-18 15:10 Tino Calancha
2020-01-21 12:54 ` Michael Albinus
0 siblings, 1 reply; 4+ messages in thread
From: Tino Calancha @ 2020-01-18 15:10 UTC (permalink / raw)
To: 39170; +Cc: michael albinus
X-Debbugs-Cc: Michael Albinus <michael.albinus@gmx.de>
emacs -Q
;; I visit /tmp
C-x d /sudo::/tmp RET
;; prompted for pasword as usual; then I got my Dired buffer
M-& ls RET
;; Now I am prompted for password; in fact, I am prompted for password
;; each time I execute `asayc-shell-command' from that tramp buffer.
Git bisect suggests that the issue arose with commit:
'Fix Bug#27315'
(164fcc6f26e4a539f6cb1e4b7196ce5f93d06a53)
In GNU Emacs 27.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
of 2020-01-18 built on calancha-pc.dy.bbexcite.jp
Repository revision: 4217bc229b8d1614b3b5c44fd1dadb775ed1ef4a
Repository branch: emacs-27
Windowing system distributor 'The X.Org Foundation', version 11.0.12004000
System Description: Debian GNU/Linux 10 (buster)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39170: 27.0.60; tramp: async-shell-command asks me for password each time
2020-01-18 15:10 bug#39170: 27.0.60; tramp: async-shell-command asks me for password each time Tino Calancha
@ 2020-01-21 12:54 ` Michael Albinus
2020-01-22 8:30 ` Michael Albinus
0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2020-01-21 12:54 UTC (permalink / raw)
To: Tino Calancha; +Cc: 39170
Tino Calancha <tino.calancha@gmail.com> writes:
Hi Tino,
> emacs -Q
> ;; I visit /tmp
> C-x d /sudo::/tmp RET
> ;; prompted for pasword as usual; then I got my Dired buffer
> M-& ls RET
> ;; Now I am prompted for password; in fact, I am prompted for password
> ;; each time I execute `asayc-shell-command' from that tramp buffer.
>
> Git bisect suggests that the issue arose with commit:
> 'Fix Bug#27315'
> (164fcc6f26e4a539f6cb1e4b7196ce5f93d06a53)
Indeed, it happens since then.
I'm very sorry, but this is a special case. Usually, we appreciate much
to run the tests with "emacs -Q". However, it happens often that I have
to debug Tramp problems which are related to cached properties, or
passwords. That's why Tramp neither loads cached properties, nor uses
auth-sources when Emacs is called with "-Q".
I'm pretty sure this problem doesn't happen when you start simply "emacs".
Best regards, Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#39170: 27.0.60; tramp: async-shell-command asks me for password each time
2020-01-21 12:54 ` Michael Albinus
@ 2020-01-22 8:30 ` Michael Albinus
2020-01-23 10:37 ` Tino Calancha
0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2020-01-22 8:30 UTC (permalink / raw)
To: Tino Calancha; +Cc: 39170
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
Michael Albinus <michael.albinus@gmx.de> writes:
Hi Tino,
> I'm very sorry, but this is a special case. Usually, we appreciate much
> to run the tests with "emacs -Q". However, it happens often that I have
> to debug Tramp problems which are related to cached properties, or
> passwords. That's why Tramp neither loads cached properties, nor uses
> auth-sources when Emacs is called with "-Q".
FTR, I have documented this in the Tramp manual. See appended patch,
pushed to the emacs-27 branch.
Best regards, Michael.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 804 bytes --]
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index f81d996d73..49c32ac3f1 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -3799,7 +3799,11 @@ Bug Reports
detours.
To exclude cache-related problems, flush all caches before running the
-test, @ref{Cleanup remote connections}.
+test, @ref{Cleanup remote connections}. Alternatively, and often
+better for analysis, reproduce the problem in a clean Emacs session
+started with @command{emacs -Q}. Then, @value{tramp} does not load
+the persistency file (@pxref{Connection caching}), and it does not use
+passwords from @file{auth-source.el} (@pxref{Password handling}).
When including @value{tramp}'s messages in the bug report, increase
the verbosity level to 6 (@pxref{Traces and Profiles, Traces}) in the
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#39170: 27.0.60; tramp: async-shell-command asks me for password each time
2020-01-22 8:30 ` Michael Albinus
@ 2020-01-23 10:37 ` Tino Calancha
0 siblings, 0 replies; 4+ messages in thread
From: Tino Calancha @ 2020-01-23 10:37 UTC (permalink / raw)
To: 39170-done; +Cc: Tino Calancha
On Wed, 22 Jan 2020, Michael Albinus wrote:
> Michael Albinus <michael.albinus@gmx.de> writes:
>
> Hi Tino,
>
>> I'm very sorry, but this is a special case. Usually, we appreciate much
>> to run the tests with "emacs -Q". However, it happens often that I have
>> to debug Tramp problems which are related to cached properties, or
>> passwords. That's why Tramp neither loads cached properties, nor uses
>> auth-sources when Emacs is called with "-Q".
>
> FTR, I have documented this in the Tramp manual. See appended patch,
> pushed to the emacs-27 branch.
Thank you Michael, and sorry for the noise.
I am closing this report.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-01-23 10:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-18 15:10 bug#39170: 27.0.60; tramp: async-shell-command asks me for password each time Tino Calancha
2020-01-21 12:54 ` Michael Albinus
2020-01-22 8:30 ` Michael Albinus
2020-01-23 10:37 ` Tino Calancha
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).