From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#34192: 26.1; Bash 5.0 breaks TRAMP sudo Date: Fri, 08 Feb 2019 11:44:21 +0100 Message-ID: <87o97m7e62.fsf@gmx.de> References: <87y375gpnk.fsf@gmx.de> <87pnshgn7v.fsf@gmx.de> <87fttbn5ju.fsf@gmx.de> <875ztzzs5e.fsf@gmx.de> <87bm3oar6t.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="31310"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34192@debbugs.gnu.org To: Allen Li Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 11:45:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gs3ef-0007yq-41 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 11:45:09 +0100 Original-Received: from localhost ([127.0.0.1]:54421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs3ee-0006QZ-4l for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 05:45:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs3eY-0006QP-NV for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 05:45:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs3eX-0005h5-Sx for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 05:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs3eX-0005gx-PB for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 05:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gs3eX-0007vh-Mk for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 05:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Feb 2019 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34192 X-GNU-PR-Package: emacs Original-Received: via spool by 34192-submit@debbugs.gnu.org id=B34192.154962267430427 (code B ref 34192); Fri, 08 Feb 2019 10:45:01 +0000 Original-Received: (at 34192) by debbugs.gnu.org; 8 Feb 2019 10:44:34 +0000 Original-Received: from localhost ([127.0.0.1]:38950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3e6-0007uh-6o for submit@debbugs.gnu.org; Fri, 08 Feb 2019 05:44:34 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:33481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs3e4-0007uS-E9 for 34192@debbugs.gnu.org; Fri, 08 Feb 2019 05:44:33 -0500 Original-Received: from detlef.gmx.de ([213.220.158.98]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M8leW-1gxZxc0cRA-00C6TG; Fri, 08 Feb 2019 11:44:24 +0100 In-Reply-To: (Allen Li's message of "Fri, 8 Feb 2019 08:45:25 +0000") X-Provags-ID: V03:K1:PqC0ibEoezmzn2co7HnY0BQyV0ZIvMs6Rumol1ByvDbvvadxM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.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155258 Archived-At: Allen Li writes: >> Hi Allen, Hi Allen, >> > Reproduce: >> > >> > 1. emacs -Q >> > 2. (setq tramp-histfile-override t) >> > 3. C-x C-f /sudo::/ TAB RET >> >> Do you have some special settings in your remote .profile, >> .bash_profile, .bash_login, or .bashrc? Could you test with moving >> these files away? > > I don't think so, as TRAMP starts /bin/sh without anything that should > load any of those files. I may try at some point, but again since > there's a simple workaround I'm hitting the limit of how much effort I > want to put into this. I believe bash loads (some of) them automatically. Therefore, bash knows the parameters --noprofile and --norc. It would be very helpful for investigation, if you could move these remote files away temporarily, and check whether the error persists. > Perhaps more people will run into this bug once Bash 5 pushes out to > the larger distros, or the bug will get fixed inadvertently. I don't > have any opinions on whether to keep this bug open or close in the > meantime. If it is reproducible with bash 5.0, I would like to add a not to the Tramp manuals. At least. Thanks for your support in testing. Best regards, Michael.