From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: over-engineered (and under-standardized) inferior interfaces Date: Mon, 8 Sep 2014 09:17:39 -0400 Message-ID: References: <87egw25siy.fsf@gmx.de> <87siki188k.fsf@gmx.de> <87mwaq14ez.fsf@gmx.de> <87egw2139g.fsf@gmx.de> <87bnr5u79x.fsf@gmx.de> <87tx4x6lut.fsf@gmx.de> <87vbpcsbqo.fsf@gmx.de> <87fvggs8ks.fsf@gmx.de> <878um8s7n9.fsf@gmx.de> <87zjee6tga.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1410182290 6104 80.91.229.3 (8 Sep 2014 13:18:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2014 13:18:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 08 15:18:03 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XQypT-00026o-1U for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2014 15:17:59 +0200 Original-Received: from localhost ([::1]:43293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQypS-0001gW-1W for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2014 09:17:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQypN-0001gG-Mz for emacs-devel@gnu.org; Mon, 08 Sep 2014 09:17:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQypF-0005iA-JR for emacs-devel@gnu.org; Mon, 08 Sep 2014 09:17:53 -0400 Original-Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:32924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQypF-0005hc-B0 for emacs-devel@gnu.org; Mon, 08 Sep 2014 09:17:45 -0400 Original-Received: by mail-la0-f51.google.com with SMTP id gi9so5223711lab.38 for ; Mon, 08 Sep 2014 06:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=uj1QOyph+kjHb8P9RT/KYXy0/upXrNwiyz8bvNa+H6g=; b=HqXIEt2jlX1G5P5RnBf4jUcC6bVFoS1mQt5iqpnghp894UiX8Xu6itQyj9hTVV99p4 Ph3xuXIiBSGAbYZBNsfqVmCtusqDTml40zQm9XLMKyYeYpxedSjcQqbtGFPX3l92Whon NzS9yL24GpnLmK37+mJiSjFpOnCWYvz0a8Lii50nPAB7D71Xg9aWIRHmQ2E27rq31qiz UGv6DKgDPAcaO+NRU9X1Dn0DTvGY09GMFel07FqSgV7I7nwcr7y+Fym5eQdAhC1kXHVO vgqdRK3lRdPjBxcbvkFNu99WPvSW5Hre+42s0igpCXY56OvnoLyVe9cxjAeithdFuC5E bilg== X-Received: by 10.112.202.106 with SMTP id kh10mr27767246lbc.66.1410182259819; Mon, 08 Sep 2014 06:17:39 -0700 (PDT) Original-Received: by 10.112.140.197 with HTTP; Mon, 8 Sep 2014 06:17:39 -0700 (PDT) In-Reply-To: <87zjee6tga.fsf@gmx.de> X-Google-Sender-Auth: PMZ-MUJ6nyMzsVU8g-6XYIbXhw0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174082 Archived-At: On Fri, Sep 5, 2014 at 10:19 AM, Michael Albinus wrote: > Sam Steingold writes: > >>>> no, default-directory in *SQL* is still >>>> "/ssh:vertica|sudo:dbadmin@vertica:" >>> >>> So run it with tramp-verbose 10. This gives us a backtrace in case of >>> errors; maybe we see more. >> >> attached. > > Well, that gave me a clue. In your default directory shown above, there > is no local path (what is allowed). Tramp tried to cd to that empty > path, which resulted in "cd ''". it appears that appending "/" to the directory indeed solves the problem for me. > I've committed a patch to Emacs' trunk, could you pls check? *Messages*: Tramp: Opening connection for dbadmin@vertica using sudo... Tramp: Sending command `exec ssh -o ControlPath=/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/tramp.44620HZt.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none vertica' Tramp: Opening connection for dbadmin@vertica using sudo... Tramp: Sending command `exec ssh -o ControlPath=/var/folders/5k/3w_vc1qs6pv4k3wvnrwr_5100000gn/T/tramp.44620Ujz.%r@%h:%p -o ControlMaster=auto -o ControlPersist=no -e none vertica' Tramp: Waiting for prompts from remote shell...done Tramp: Found remote shell prompt on `vertica' Tramp: Sending command `exec env SHELL=/bin/sh sudo -u dbadmin -s -H -p Password:' Tramp: Waiting for prompts from remote shell...done Tramp: Found remote shell prompt on `vertica' Tramp: Opening connection for dbadmin@vertica using sudo...done Tramp: Waiting for prompts from remote shell...failed Tramp: Opening connection for dbadmin@vertica using sudo...failed byte-code: Selecting deleted buffer Undo! Mark set tramp/sudo dbadmin@vertica: command-line: line 0: Bad configuration option: ControlPersist Connection to analytics001.smq.mgnt.cc closed. Killed by signal 1. debug tramp/ssh vertica ;; GNU Emacs: 24.4.50.3 Tramp: 2.2.11-pre -*- mode: outline; -*- 09:15:33.263232 tramp-get-file-property (8) # gateway nil -- Sam Steingold