From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#13390: tramp-adb hanging forever Date: Mon, 18 Feb 2013 19:18:59 +0100 Organization: Emacs Helm Message-ID: <874nh9cwoc.fsf@gmail.com> References: <87r4lveebo.fsf@gmail.com> <87lic3cq6c.fsf@gmx.de> <87mwwje3zs.fsf@gmail.com> <87a9sisuhp.fsf@gmx.de> <87y5eo3x6n.fsf@gmx.de> <87bobhnbs5.fsf@gmail.com> <87hal9sx09.fsf@gmx.de> <87d2vxelqj.fsf@gmail.com> <878v6lsn75.fsf@gmx.de> <874nh91xo9.fsf@gmail.com> <874nh9siwg.fsf@gmx.de> <87sj4tk1z4.fsf@gmail.com> <87lialy0c8.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361211618 20263 80.91.229.3 (18 Feb 2013 18:20:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 18:20:18 +0000 (UTC) Cc: 13390@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 19:20:38 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7VKQ-0007hK-6f for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 19:20:38 +0100 Original-Received: from localhost ([::1]:47505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VK5-00020t-6W for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 13:20:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VJs-0001cQ-MJ for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:20:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7VJq-0000UR-8y for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:20:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VJp-0000Sf-RQ for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U7VKo-00015V-Ek for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Feb 2013 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13390-submit@debbugs.gnu.org id=B13390.13612116124122 (code B ref 13390); Mon, 18 Feb 2013 18:21:02 +0000 Original-Received: (at 13390) by debbugs.gnu.org; 18 Feb 2013 18:20:12 +0000 Original-Received: from localhost ([127.0.0.1]:35018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7VK0-00014R-Ah for submit@debbugs.gnu.org; Mon, 18 Feb 2013 13:20:12 -0500 Original-Received: from mail-we0-f170.google.com ([74.125.82.170]:59502) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7VJx-00014H-KV for 13390@debbugs.gnu.org; Mon, 18 Feb 2013 13:20:11 -0500 Original-Received: by mail-we0-f170.google.com with SMTP id z53so5100324wey.29 for <13390@debbugs.gnu.org>; Mon, 18 Feb 2013 10:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=+1BO0R7yybXJD1fl1C/tc/5cn5kOO89FXrlRbj5W1Ow=; b=HrGH1aVV0Swr0AoYZJN4u/6sqAtZff7727WAwg56IBf96xL/m0rVuYn40YKDrlPV63 sq+79a4oGh5qIwGkSU8X3BF4tj6PPDWvTFqjmFgHhdv+zQSJj8TXPGbZtRDOYLBMTkz5 eFco/mqA2I6DNuCfwYkQtYHay1BJJ6bRoaCio4ljKqvvvxI9w/N6l5YIxzRtxPE0VQ0t NTmXHWoju33aJUEyj2UeCXeNZCkk+eLVLqVH6FlVR8bp2uA3NOQ7mspwFYytyho8RvxJ KibKiCYPMZ2OTWO1miN8QhJTJcLyFhe9ptZP229Gu91kk7w5BRwyucC0yIxHhUsQ3Kka 6wOg== X-Received: by 10.194.242.69 with SMTP id wo5mr21160574wjc.10.1361211547826; Mon, 18 Feb 2013 10:19:07 -0800 (PST) Original-Received: from dell-14z (lbe83-2-78-243-104-167.fbx.proxad.net. [78.243.104.167]) by mx.google.com with ESMTPS id s8sm21387309wif.9.2013.02.18.10.19.05 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 18 Feb 2013 10:19:06 -0800 (PST) In-Reply-To: <87lialy0c8.fsf@gmx.de> (Michael Albinus's message of "Mon, 18 Feb 2013 18:54:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71485 Archived-At: Michael Albinus writes: > Thierry Volpiatto writes: > >> Hi Michael, > > Hi Thierry, > >> >> Michael Albinus 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@dell-14z:~/tmp/emacs-savanah-git$ ssh zte >> | Welcome to DropBear SSH Server II! >> | root@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