[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65321: 30.0.50; Tramp sudo fails since commit 5c101b1adac
From: |
Michael Albinus |
Subject: |
bug#65321: 30.0.50; Tramp sudo fails since commit 5c101b1adac |
Date: |
Wed, 16 Aug 2023 15:24:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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.