GNU bug report logs - #39170
27.0.60; tramp: async-shell-command asks me for password each time

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Sat, 18 Jan 2020 15:11:02 UTC

Severity: normal

Tags: notabug

Found in version 27.0.60

Done: Tino Calancha <tino.calancha <at> gmail.com>

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 39170 in the body.
You can then email your comments to 39170 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 michael.albinus <at> gmx.de, bug-gnu-emacs <at> gnu.org:
bug#39170; Package emacs. (Sat, 18 Jan 2020 15:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tino Calancha <tino.calancha <at> gmail.com>:
New bug report received and forwarded. Copy sent to michael.albinus <at> gmx.de, bug-gnu-emacs <at> gnu.org. (Sat, 18 Jan 2020 15:11:02 GMT) Full text and rfc822 format available.

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

From: Tino Calancha <tino.calancha <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.60; tramp: async-shell-command asks me for password each time
Date: Sat, 18 Jan 2020 16:10:40 +0100
X-Debbugs-Cc: Michael Albinus <michael.albinus <at> 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)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39170; Package emacs. (Tue, 21 Jan 2020 12:55:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 39170 <at> debbugs.gnu.org
Subject: Re: bug#39170: 27.0.60; tramp: async-shell-command asks me for
 password each time
Date: Tue, 21 Jan 2020 13:54:04 +0100
Tino Calancha <tino.calancha <at> 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.




Added tag(s) notabug. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Tue, 21 Jan 2020 12:56:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39170; Package emacs. (Wed, 22 Jan 2020 08:31:02 GMT) Full text and rfc822 format available.

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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Tino Calancha <tino.calancha <at> gmail.com>
Cc: 39170 <at> debbugs.gnu.org
Subject: Re: bug#39170: 27.0.60; tramp: async-shell-command asks me for
 password each time
Date: Wed, 22 Jan 2020 09:30:35 +0100
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> 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.

[Message part 2 (text/x-patch, attachment)]

Reply sent to Tino Calancha <tino.calancha <at> gmail.com>:
You have taken responsibility. (Thu, 23 Jan 2020 10:39:01 GMT) Full text and rfc822 format available.

Notification sent to Tino Calancha <tino.calancha <at> gmail.com>:
bug acknowledged by developer. (Thu, 23 Jan 2020 10:39:02 GMT) Full text and rfc822 format available.

Message #18 received at 39170-done <at> debbugs.gnu.org (full text, mbox):

From: Tino Calancha <tino.calancha <at> gmail.com>
To: 39170-done <at> debbugs.gnu.org
Cc: Tino Calancha <tino.calancha <at> gmail.com>
Subject: Re: bug#39170: 27.0.60; tramp: async-shell-command asks me for
 password each time
Date: Thu, 23 Jan 2020 11:37:59 +0100 (CET)

On Wed, 22 Jan 2020, Michael Albinus wrote:

> Michael Albinus <michael.albinus <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 20 Feb 2020 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 67 days ago.

Previous Next


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