bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destina


From: Ken Manheimer
Subject: bug#22452: 24.4; Tramp remote shell fails on remote+sudo+homedir destination
Date: Sat, 23 Jan 2016 21:00:10 -0500

Tramp fails to start a remote shell when the remote path is exactly of
the form '/ssh:host|sudo:root@host:'. It fails with a message in the
minibuffer, "Selecting deleted buffer".

To reproduce the error:

* Start emacs with -Q
* In any buffer (*scratch* is fine):
  M-Esc (setq default-directory "/ssh:example.com|sudo:root@example.com:")
* In that same buffer, Esc-x shell

This fails (with "Selecting deleted buffer") for me in the version of
emacs listed in the bug report and more recent versions, which I
compiled, eg: GNU Emacs 24.5.50.1 (x86_64-apple-darwin14.5.0, NS
apple-appkit-1348.17) of 2015-12-16 on twist.myriadicity.net.

I can't get a backtrace for it, even if I set debug-on-error and
signal-on-error.





In GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2014-10-20 on builder10-9.porkrind.org
Windowing system distributor `Apple', version 10.3.1348
Configured using:
 `configure --with-ns'

Important settings:
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-: C-y <return> M-x s h e l l <return> M-x e m a c 
s - r C-a C-k r e p o r t - e m <tab> <return>

Recent messages:
Tramp: Opening connection for root@myr using sudo...
Tramp: Sending command `exec ssh   -o ControlPath=/var/folders/5s/5565scz120l9bsp9y97gn3hr0000gn/T/tramp.75422Jhp.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none myr'
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on `myr'
Tramp: Sending command `exec env SHELL=/bin/sh sudo -u root -s -H -p Password:'
Tramp: Waiting for prompts from remote shell...done
Tramp: Found remote shell prompt on `myr'
Tramp: Opening connection for root@myr using sudo...done
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for root@myr using sudo...failed
byte-code: Selecting deleted buffer

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rfc822 mml easymenu mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils tramp-cmds
tramp-cache tramp-sh tramp tramp-compat auth-source eieio byte-opt
bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr
password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color
ring format-spec advice help-fns time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode
register page menu-bar rfn-eshadow timer select scroll-bar mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
cocoa ns multi-tty emacs)

Memory information:
((conses 16 93141 15547)
 (symbols 48 19906 0)
 (miscs 40 41 132)
 (strings 32 19106 30804)
 (string-bytes 1 574404)
 (vectors 16 12830)
 (vector-slots 8 421987 6836)
 (floats 8 115 514)
 (intervals 56 180 0)
 (buffers 960 13))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]