[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34192: 26.1; Bash 5.0 breaks TRAMP sudo
From: |
Michael Albinus |
Subject: |
bug#34192: 26.1; Bash 5.0 breaks TRAMP sudo |
Date: |
Tue, 29 Jan 2019 11:04:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Allen Li <darkfeline@felesatra.moe> writes:
Hi Allen,
> I tried monkey patching tramp-wait-for-regexp to see what the exit status is.
> In my Messages buffer, I found
>
> @@@@@@@@@@@ DEAD 139
>
> A search tells me that this is SIGSEGV.
>
> The corresponding backtrace:
Thanks for the test. Unfortunately, it doesn't show why this happens.
Maybe we could get some more messages from the shell. Could you, pls,
apply the following patch:
diff --git a/lisp/tramp-sh.el b/lisp/tramp-sh.el
index c304fcb..46f467d 100644
--- a/lisp/tramp-sh.el
+++ b/lisp/tramp-sh.el
@@ -658,7 +658,7 @@ foreach $f (@files) {
}
}
print \"ok\\n\"
-' \"$1\" 2>/dev/null"
+' \"$1\""
"Perl script to produce output suitable for use with
`file-name-all-completions' on the remote file system. Escape
sequence %s is replaced with name of Perl binary. This string is
Recompile tramp-sh.el, and rerun the test with tramp-verbose 10. Your
patch isn't needed in this scenario.
Best regards, Michael.