GNU bug report logs - #13390
tramp-adb hanging forever

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Tue, 8 Jan 2013 18:11:01 UTC

Severity: normal

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 13390 <at> debbugs.gnu.org
Subject: bug#13390: tramp-adb hanging forever
Date: Mon, 18 Feb 2013 19:18:59 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
>
>> Hi Michael,
>
> Hi Thierry,
>
>>
>> Michael Albinus <michael.albinus <at> gmx.de> writes:
>>
>>> Tramp expects, that "id -g" returns just a number. Your /system/bin/id
>>> behaves differently.
>>>
>>> During my tests I've found that several commands in /system/bin behave
>>> not exactly as expected. Thats why I have recommended to use as shell
>>> just "sh". In the case of SSHDroid this results in a shell which comes
>>> with SSHDroid, and which behaves more regular.
>>>
>>> Maybe you give it a try?
>> Same without specifying the path of "sh":
>
> I was speaking about SSHDroid ...
Ok I will try with sshDroid.

>> But indeed it seem there is different implementation of command "id":
>>
>> ,----
>> | thierry <at> dell-14z:~/tmp/emacs-savanah-git$ ssh zte
>> | Welcome to DropBear SSH Server II!
>> | root <at> 192.168.0.24's password: 
>> | -sh-3.2# /system/xbin/id -g
>> | 0
>> | -sh-3.2# /system/bin/id -g 
>> | uid=0(root) gid=0(root) groups=0(root)
>> `----
>
> The rearrange `tramp-remote-path' that /system/xbin comes before
> /system/bin.
I saw that in log yes, how can I make tramp using
PATH=/sbin:/system/xbin:/system/bin
instead of:
18:40:29.282486 tramp-send-command (6) # PATH=/sbin:/system/bin:/system/xbin; export PATH


-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




This bug report was last modified 12 years and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.