tramp-devel
[Top][All Lists]
Advanced

[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: Wed, 29 Aug 2012 14:54:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

> 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
>> https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790 ,
>> 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.

I've fixed this in Emacs' trunk. Will be available with Emacs 24.3.

Note, that you have to cleanup Tramp's cache before you test this. The
definition of `tramp-remote-path' has changed.

>> Best regards,

Best regards, Michael.



reply via email to

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