[Top][All Lists]

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

Re: tramp (2.1.20); in eshell (and TRAMP), "sudo service" doesn't work

From: Michael Albinus
Subject: Re: tramp (2.1.20); in eshell (and TRAMP), "sudo service" doesn't work
Date: Tue, 28 Aug 2012 16:52:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Ivan Zakharyaschev <address@hidden> writes:

> Hello once again!

Hi Ivan,

> Here's another problem (this one looks much more dumb) I've
> encountered: although some commands do work when put after "
> sudo" in eshell (thanks to TRAMP) (e.g., "cat" seems to work), but
> "service" and some other commands do not work.
> I report all the details in
> ,
> including the debugging output of TRAMP at level 6 (in an attachment
> there).

I could reproduce it here, thanks. The problem is, that for shell
scripts eshell tries to identify the interpreter from the script, which
fails in the remote case. That's why "cat" (a binary) works, and
"service" (a shell script) doesn't.

I've fixed this problem in eshell. However, now I see another problem
when calling "sudo service networking status", which I would like to fix
as well before I commit it to the repository.

> Best regards,

Best regards, Michael.

reply via email to

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