all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#66109: 30.0.50; Tramp+Eshell - No such file or directory
@ 2023-09-19 17:49 jules
  2023-09-19 18:09 ` Jim Porter
  0 siblings, 1 reply; 5+ messages in thread
From: jules @ 2023-09-19 17:49 UTC (permalink / raw)
  To: 66109

[-- Attachment #1: Type: text/plain, Size: 5270 bytes --]

There seems to be an issue when using tramp and eshell at the same time
such that eshell is unable to find the binaries on the remote host and
execute them. I can reproduce this on multiple hosts as well as with
`emacs -Q`.

---
Lets `cd` to the host using tramp and run a few commands
```
~ $ cd /ssh:ubuntu@artifactory-stage.delphix.com:/

/ssh:ubuntu@artifactory-stage.delphix.com: $ pwd
/ssh:ubuntu@artifactory-stage.delphix.com:

/ssh:ubuntu@artifactory-stage.delphix.com: $ ls
/ssh:ubuntu@artifactory-stage.delphix.com:/bin
...
dd                  ls             ntfswipe       systemd-inhibit
```

So far so good. Using the eshell version of these commands seem to
work. Now what if we call the non-eshell version?

```
/ssh:ubuntu@artifactory-stage.delphix.com: $ *ls
env: ‘/bin/ls’: No such file or directory
```

It seems like `ls` cannot be found but we just saw that it existed when
we ran `eshell/ls`. This problem continues with _any_ executable:

```
/ssh:ubuntu@artifactory-stage.delphix.com: $ *pwd
env: ‘/bin/pwd’: No such file or directory

/ssh:ubuntu@artifactory-stage.delphix.com: $ docker ps
env: ‘/usr/bin/docker’: No such file or directory
```

My version of tramp is: "2.7.0-pre"



In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.16.0, Xaw3d scroll bars)
Repository revision: 30decd1d9777f44e614622ebfe5f35e719a265ca
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: NixOS 23.11 (Tapir)

Configured using:
 'configure
 --prefix=/nix/store/cw3gc9d70lc9p4v2cyvdgsyx8hsf0bgi-emacs-git-20230901.0
 --disable-build-details --with-modules --with-x-toolkit=lucid
 --with-xft --with-cairo --with-native-compilation --with-tree-sitter'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $LC_ALL: C.UTF-8
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Eshell

Minor modes in effect:
  eshell-prompt-mode: t
  eshell-pred-mode: t
  eshell-hist-mode: t
  eshell-cmpl-mode: t
  eshell-proc-mode: t
  eshell-arg-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-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
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils tramp-cmds tramp-cache time-stamp tramp-sh tramp
trampver tramp-integration tramp-message tramp-compat xdg parse-time
iso8601 time-date format-spec auth-source eieio eieio-core
password-cache json map tramp-loaddefs compile comp comp-cstr warnings
icons rx cl-seq cl-macs cl-extra help-mode em-unix em-term term
disp-table shell subr-x ehelp em-script em-prompt text-property-search
em-pred em-ls em-hist em-glob em-extpipe em-cmpl em-dirs em-basic
em-banner em-alias esh-mode esh-var eshell esh-cmd generator cl-loaddefs
cl-lib esh-ext esh-opt esh-proc esh-io byte-opt gv bytecomp byte-compile
esh-arg pcomplete comint ansi-osc ansi-color ring esh-module esh-groups
esh-util files-x rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
x multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 145657 16416) (symbols 48 11336 0) (strings 32 37134 2019)
 (string-bytes 1 1243451) (vectors 16 25495)
 (vector-slots 8 519471 16215) (floats 8 41 134) (intervals 56 589 0)
 (buffers 992 15))

[-- Attachment #2: Type: text/html, Size: 6029 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66109: 30.0.50; Tramp+Eshell - No such file or directory
  2023-09-19 17:49 bug#66109: 30.0.50; Tramp+Eshell - No such file or directory jules
@ 2023-09-19 18:09 ` Jim Porter
  2023-09-19 18:51   ` Jules Tamagnan
  0 siblings, 1 reply; 5+ messages in thread
From: Jim Porter @ 2023-09-19 18:09 UTC (permalink / raw)
  To: jules, 66109

On 9/19/2023 10:49 AM, jules wrote:
> There seems to be an issue when using tramp and eshell at the same time
> such that eshell is unable to find the binaries on the remote host and
> execute them. I can reproduce this on multiple hosts as well as with
> `emacs -Q`.
[snip]
> In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
> version 1.16.0, Xaw3d scroll bars)
> Repository revision: 30decd1d9777f44e614622ebfe5f35e719a265ca

Thanks for the report. This is already fixed on master (and the release 
branch) in 2af092741e54af6bf3bde62cff370853aab46745. Can you try 
updating to a more-recent revision?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66109: 30.0.50; Tramp+Eshell - No such file or directory
  2023-09-19 18:09 ` Jim Porter
@ 2023-09-19 18:51   ` Jules Tamagnan
  2023-09-19 19:55     ` Jim Porter
  0 siblings, 1 reply; 5+ messages in thread
From: Jules Tamagnan @ 2023-09-19 18:51 UTC (permalink / raw)
  To: Jim Porter; +Cc: 66109

[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

Thank you for the incredibly quick response! Using the latest version of
Emacs resolved this for me

On Tue, Sep 19, 2023 at 11:09 AM Jim Porter <jporterbugs@gmail.com> wrote:

> On 9/19/2023 10:49 AM, jules wrote:
> > There seems to be an issue when using tramp and eshell at the same time
> > such that eshell is unable to find the binaries on the remote host and
> > execute them. I can reproduce this on multiple hosts as well as with
> > `emacs -Q`.
> [snip]
> > In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
> > version 1.16.0, Xaw3d scroll bars)
> > Repository revision: 30decd1d9777f44e614622ebfe5f35e719a265ca
>
> Thanks for the report. This is already fixed on master (and the release
> branch) in 2af092741e54af6bf3bde62cff370853aab46745. Can you try
> updating to a more-recent revision?
>

[-- Attachment #2: Type: text/html, Size: 1173 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66109: 30.0.50; Tramp+Eshell - No such file or directory
  2023-09-19 18:51   ` Jules Tamagnan
@ 2023-09-19 19:55     ` Jim Porter
  2023-09-30 23:30       ` Stefan Kangas
  0 siblings, 1 reply; 5+ messages in thread
From: Jim Porter @ 2023-09-19 19:55 UTC (permalink / raw)
  To: Jules Tamagnan; +Cc: 66109

forcemerge 65551 66109
thanks

On 9/19/2023 11:51 AM, Jules Tamagnan wrote:
> Thank you for the incredibly quick response! Using the latest version of 
> Emacs resolved this for me

Cool, thanks for checking. Closing this now.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#66109: 30.0.50; Tramp+Eshell - No such file or directory
  2023-09-19 19:55     ` Jim Porter
@ 2023-09-30 23:30       ` Stefan Kangas
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Kangas @ 2023-09-30 23:30 UTC (permalink / raw)
  To: Jim Porter; +Cc: 66109-done, Jules Tamagnan

Jim Porter <jporterbugs@gmail.com> writes:

> Cool, thanks for checking. Closing this now.

This seems to have been left open by accident, so I'm closing it now.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-30 23:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 17:49 bug#66109: 30.0.50; Tramp+Eshell - No such file or directory jules
2023-09-19 18:09 ` Jim Porter
2023-09-19 18:51   ` Jules Tamagnan
2023-09-19 19:55     ` Jim Porter
2023-09-30 23:30       ` Stefan Kangas

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.