From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#65321: 30.0.50; Tramp sudo fails since commit 5c101b1adac Date: Wed, 16 Aug 2023 15:24:56 +0200 Message-ID: <874jkz5dcn.fsf@gmx.de> References: <87zg2ruxac.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21898"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 65321@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 16 15:26:24 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qWGXX-0005Wc-St for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Aug 2023 15:26:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWGXF-00013i-EK; Wed, 16 Aug 2023 09:26:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWGXD-00013a-PK for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 09:26:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWGXD-0005m7-26 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 09:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWGXC-0001zg-BA for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2023 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Aug 2023 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65321 X-GNU-PR-Package: emacs Original-Received: via spool by 65321-submit@debbugs.gnu.org id=B65321.16921923087583 (code B ref 65321); Wed, 16 Aug 2023 13:26:02 +0000 Original-Received: (at 65321) by debbugs.gnu.org; 16 Aug 2023 13:25:08 +0000 Original-Received: from localhost ([127.0.0.1]:39552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWGWK-0001yE-9I for submit@debbugs.gnu.org; Wed, 16 Aug 2023 09:25:08 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:40757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWGWI-0001xj-31 for 65321@debbugs.gnu.org; Wed, 16 Aug 2023 09:25:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1692192297; x=1692797097; i=michael.albinus@gmx.de; bh=iaQe4WFVd4ZoJ3UOamGKbRaMe2lp3fQmj1PzcHVrMWM=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=bJxnHROwV29jCj+fZJeKf59gZHwpkS1PDcbgJqidzFqEp5WrQ6wQgTQ0TZZfqJY9mnkvOB0 JJ4X7Mz9nnxc1KH1IgTc9kSV5T4q6kHKVVtaN8EwigwwXvoMWgxSBGgcnYAnhUzr95sEj6zfG B7zBt8s2Xo5NO4kg6VTpZWGokjlGihz7KXq63SHj5BK0KE7usW+ucad8ZE5hlyfnWBC3v9qFO jEvFmK205HwXmV0xAOb2s/jleyiDFPT7cltMlfjq8SlipzGC1S+MxAQI1sYu0OkTPsVbpq46Q j1nc4jsjyAzaEW/g0rO+oAmOvm9vS4H3riYpL5n9FB1vnqwg1kyA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.27]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MrQIv-1q16MQ0KYh-00oXQy; Wed, 16 Aug 2023 15:24:57 +0200 In-Reply-To: (Filipp Gunbin's message of "Wed, 16 Aug 2023 15:40:05 +0300") X-Provags-ID: V03:K1:3EGZMu9+H4l6rr/bnmuqrVPaKW+G0xQIEE70s+61dqpKON6QR5T jJ9ztciyfAlo93BeVbkiGxIhN0JUpd1qhOdkAgqgZ4rx5UL1yCGaluC371k+jLIgzWe0XVl C7q6VY5S6m6h6WC3smR/iChZwbZk3OU8AKJIUyZ/pFxcIprpdF2cvopexNzX6bPiNH88qm1 HHm6WxxkhJTcIES0iZ4ww== UI-OutboundReport: notjunk:1;M01:P0:1O0h3v9Dx8o=;E4sOdGr2DRzBNb7MiUipiU9meGU lAta10H8TemHqX/MZNXblf2LUplzK7ZRrgqkYo4uQ/oe86wxuT+VGApEQq2onALoMhShuXpT2 Vf3URE8x98W2oqwi0jlrzwcWF5Amp14ufdf9gqVwI3UMRjtYjbdO5nmgW312VAEx+imWD+szu j+5kP9sNj1WKClq0CknAFOswE+XSZbAP59XPZPEBlO8QOn6o9WiMf+qppG6QXLRxn62leH/in 3fknB5EJu7aG8wpLlxHMqnQ8Iu1N1xH9C5cgy0ZXZcd5bck4Y4vTIROJyhN4kqdF8Rt4gL87c eU+xanCeGsfzmTHDDdbRb3UNXF0YbyTAd1VFkpPyPGW2ymOE53U57wK/vNBhTiSQUAI9Hnugf 7vAbqJgGEGpmDyDTafjnwExh+dCcJpTakla2SneGvsE1e4Me67cqCAX5F10pTEPNzuT+69agn YbgCzjsgVxkg5xHb295XrqL+L25QHXUdndFQ878qnRRldnViZPhlFYThugwfStVk/ro7P00o7 xaIcxxIjG/K8wN18Gvg0bFfT1w3NZifX4AQ3KtiyVQPlSZNlIPvOqtLYJFuYbTQAW6EzMbxGl AXHM++/O86HBDcyYr8ut+V171SDvL6LmpHFDr36zGh70+wYGVQN54+QtH5xtUG1IWiYWDl1y9 nBusEHA2QD7KkOR6tXfLnVLNeX51EqsGTUKBiLnjD06C+H8kAcumG+2S04Wujwkex3lf/UTkL WFamF+9RPgT9abINgklXfPLTUvNVmVV3pv1ABBa9POEfIA39VPHF7rB5rqXLkJpA8nKTm3rI X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267585 Archived-At: Filipp Gunbin 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 >>> - >>> - 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.