all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Allen Li <darkfeline@felesatra.moe>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 34192@debbugs.gnu.org
Subject: bug#34192: 26.1; Bash 5.0 breaks TRAMP sudo
Date: Mon, 28 Jan 2019 08:58:29 +0000	[thread overview]
Message-ID: <CADbSrJxZxtWmF-eDvPe8JenmXbG3vgGHWPgB06EiiDCfdje9KQ@mail.gmail.com> (raw)
In-Reply-To: <87y375gpnk.fsf@gmx.de>

On Mon, Jan 28, 2019 at 8:19 AM Michael Albinus <michael.albinus@gmx.de> wrote:
>
> Allen Li <darkfeline@felesatra.moe> writes:
>
> Hi Allen,
>
> > I believe Bash 5.0 breaks TRAMP sudo in
> > tramp-sh-handle-file-name-all-completions.
> >
> > Using Bash 5.0 and (find-file "/sudo::/") results in an error "Process
> > has died".  Setting tramp-verbose to 9 shows that it dies around here:
>
> Unfortunately, I have no bash 5.0 available. Could you pls eval the
> following lines in a bash 5.0 terminal:
>
> --8<---------------cut here---------------start------------->8---
> tramp_perl_file_name_all_completions () {
> \perl -e '
> opendir(d, $ARGV[0]) || die("$ARGV[0]: $!\nfail\n");
> @files = readdir(d); closedir(d);
> foreach $f (@files) {
>  if (-d "$ARGV[0]/$f") {
>   print "$f/\n";
>  }
>  else {
>   print "$f\n";
>  }
> }
> print "ok\n"
> ' "$1" 2>/dev/null
> }; echo tramp_exit_status $?
> --8<---------------cut here---------------end--------------->8---

I get tramp_exit_status 0 as expected, but I think
tramp_perl_file_name_all_completions may be a red herring, since when
I tried using Edebug on tramp-sh-handle-file-name-all-completions, I
get the "Process has died" error after some time irrespective of my
code stepping.

>
> Best regards, Michael.





  reply	other threads:[~2019-01-28  8:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24 22:14 bug#34192: 26.1; Bash 5.0 breaks TRAMP sudo Allen Li
2019-01-28  8:19 ` Michael Albinus
2019-01-28  8:58   ` Allen Li [this message]
2019-01-28  9:12     ` Michael Albinus
2019-01-29  5:48       ` Allen Li
2019-01-29 10:04         ` Michael Albinus
2019-02-03  0:21           ` Allen Li
2019-02-04 11:53             ` Michael Albinus
2019-02-07  7:04               ` Allen Li
2019-02-07  9:22                 ` Michael Albinus
2019-02-08  8:45                   ` Allen Li
2019-02-08 10:44                     ` Michael Albinus
2019-02-17  3:11                       ` Allen Li
2019-02-20 14:43                         ` Michael Albinus
2019-02-21 10:38                           ` Michael Albinus
2019-02-21 11:20                             ` Michael Albinus
2019-02-21 10:39 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADbSrJxZxtWmF-eDvPe8JenmXbG3vgGHWPgB06EiiDCfdje9KQ@mail.gmail.com \
    --to=darkfeline@felesatra.moe \
    --cc=34192@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.