GNU bug report logs - #65321
30.0.50; Tramp sudo fails since commit 5c101b1adac

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Tue, 15 Aug 2023 20:59:01 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

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: Michael Albinus <michael.albinus <at> gmx.de>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: 65321 <at> debbugs.gnu.org
Subject: bug#65321: 30.0.50; Tramp sudo fails since commit 5c101b1adac
Date: Wed, 16 Aug 2023 15:24:56 +0200
Filipp Gunbin <fgunbin <at> 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 <at> 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 <at> fgunbin.local* instead just the backtrace?

> Filipp

Best regards, Michael.




This bug report was last modified 1 year and 338 days ago.

Previous Next


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