GNU bug report logs -
#34192
26.1; Bash 5.0 breaks TRAMP sudo
Previous Next
Reported by: Allen Li <darkfeline <at> felesatra.moe>
Date: Thu, 24 Jan 2019 22:16:02 UTC
Severity: normal
Found in version 26.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
[Message part 1 (text/plain, inline)]
Allen Li <darkfeline <at> 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:
[Message part 2 (text/plain, inline)]
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
[Message part 3 (text/plain, inline)]
Recompile tramp-sh.el, and rerun the test with tramp-verbose 10. Your
patch isn't needed in this scenario.
Best regards, Michael.
This bug report was last modified 6 years and 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.