From: Michael Albinus <michael.albinus@gmx.de>
To: Filipp Gunbin <fgunbin@fastmail.fm>
Cc: 65321@debbugs.gnu.org
Subject: bug#65321: 30.0.50; Tramp sudo fails since commit 5c101b1adac
Date: Wed, 16 Aug 2023 15:24:56 +0200 [thread overview]
Message-ID: <874jkz5dcn.fsf@gmx.de> (raw)
In-Reply-To: <m27cpvnot6.fsf@fastmail.fm> (Filipp Gunbin's message of "Wed, 16 Aug 2023 15:40:05 +0300")
Filipp Gunbin <fgunbin@fastmail.fm> writes:
> Hi Michael,
Hi Filipp,
> Noted.
>
>>> - emacs -Q
>>> - M-x load-library tramp RET
>>> - M-x set-variable tramp-verbose RET 10 RET
>>> - C-x C-f /sudo::/tmp RET
>>> - <enter password at the prompt>
>>> - Observe hang with message like "Tramp: Opening connection nil for root@fgunbin.local using sudo...failed"
>>> - C-g
>>>
>>> *debug tramp* buffer contents attached.
>>
>> Thanks for the report. You are hit by an infloop, due to some code
>> reorganization in Tramp. Fixed in master.
>
> Thanks, but now another error, debug output attached.
Hmm. According to the backtrace, Tramp has sent "/usr/bin/test -e / 2>/dev/null"
to the sudo process. It didn't return; you seem to have interrupted this
(it signals `quit').
What happens if you apply "/usr/bin/test -e /" in a sudo shell? And
could you, pls, send next time the debug buffer
*debug tramp/sudo root@fgunbin.local* instead just the backtrace?
> Filipp
Best regards, Michael.
next prev parent reply other threads:[~2023-08-16 13:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 20:58 bug#65321: 30.0.50; Tramp sudo fails since commit 5c101b1adac Filipp Gunbin
2023-08-16 9:55 ` Michael Albinus
2023-08-16 12:40 ` Filipp Gunbin
2023-08-16 13:24 ` Michael Albinus [this message]
2023-08-16 14:58 ` Filipp Gunbin
2023-08-16 17:35 ` Michael Albinus
2023-08-16 20:43 ` Filipp Gunbin
2023-08-17 6:44 ` 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=874jkz5dcn.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=65321@debbugs.gnu.org \
--cc=fgunbin@fastmail.fm \
/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).