From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefano Zacchiroli Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4841: 23.1.50; tramp su/sudo makes vc-dir hang (found remote shell ...) Date: Sat, 31 Oct 2009 15:54:32 +0100 Message-ID: <87pr83ehqv.fsf@usha.takhisis.invalid> Reply-To: Stefano Zacchiroli , 4841@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257001657 5611 80.91.229.12 (31 Oct 2009 15:07:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Oct 2009 15:07:37 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 31 16:07:29 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N4FY7-0005bu-Gs for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2009 16:07:27 +0100 Original-Received: from localhost ([127.0.0.1]:51245 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4FY7-0008Rm-0Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Oct 2009 11:07:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4FY2-0008Qx-J8 for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 11:07:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4FXx-0008Pw-Q6 for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 11:07:22 -0400 Original-Received: from [199.232.76.173] (port=55614 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4FXx-0008Pt-H4 for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 11:07:17 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40449) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4FXw-0005YH-Sv for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2009 11:07:17 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9VF7Ed8022309; Sat, 31 Oct 2009 08:07:15 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9VF052E020591; Sat, 31 Oct 2009 08:00:05 -0700 Resent-Date: Sat, 31 Oct 2009 08:00:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefano Zacchiroli Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 31 Oct 2009 15:00:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4841 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125700093420357 (code B ref -1); Sat, 31 Oct 2009 15:00:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 31 Oct 2009 14:55:34 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9VEtWmw020353 for ; Sat, 31 Oct 2009 07:55:33 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:37982) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1N4FMZ-00009N-Nl for emacs-pretest-bug@gnu.org; Sat, 31 Oct 2009 10:55:31 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1N4FMW-0003VQ-04 for emacs-pretest-bug@gnu.org; Sat, 31 Oct 2009 10:55:31 -0400 Original-Received: from fettunta.fettunta.org ([67.207.129.222]:36331) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4FMV-0003V8-KP for emacs-pretest-bug@gnu.org; Sat, 31 Oct 2009 10:55:27 -0400 Original-Received: from usha.takhisis.invalid (unknown [10.17.0.10]) by fettunta.fettunta.org (Postfix) with ESMTPS id 6F139184B6; Sat, 31 Oct 2009 14:55:26 +0000 (UTC) Original-Received: by usha.takhisis.invalid (Postfix, from userid 1000) id 490076097; Sat, 31 Oct 2009 15:54:32 +0100 (CET) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 31 Oct 2009 11:07:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32307 gmane.emacs.pretest.bugs:25152 Archived-At: To edit system configuration files, I'd like to use tramp's su:: or sudo::. What blocks me to do that is that I have versioned /etc (with etckeepr over Git) and I need to commit the performed changes afterwards. When not inside su::/sudo:: I often commit stuff in Git repositories using vc-mode. That unfortunately does not work under tramp's su::/sudo::. Trying to do that results in vc-dir hanging forever just after the "found remote shell on ..." message and the correspondent "waiting" message in the vc buffer if I stop Emacs with C-g. Many thanks in advance, Cheers In GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-10-23 on elegiac, modified by Debian (emacs-snapshot package, version 1:20091023-1) Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-= linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D= /usr/lib' '--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--mandir= =3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs-= snapshot:/etc/emacs:/usr/local/share/emacs/23.1.50/site-lisp:/usr/local/sha= re/emacs/site-lisp:/usr/share/emacs/23.1.50/site-lisp:/usr/share/emacs/site= -lisp' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' 'build_alias=3Dx86_64-linu= x-gnu' 'host_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-DDEBIAN -DSITELOAD_PURESI= ZE_EXTRA=3D5000 -g -O2' 'LDFLAGS=3D-g -Wl,--as-needed' 'CPPFLAGS=3D'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: it_IT.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x k C-x o C-x 4 0 M-x=20 r e p o r t - e m t r a m p SPC=20 + S-SPC s u / s u d o SPC m a k e SPC v s - s t a t=20 u s SPC C-g C-h k C-x v d C-x 1 M-x Recent messages: Tramp: Waiting 60s for local shell to come up... Tramp: Sending command `su - root && exit || exit' Tramp: Waiting for prompts from remote shell Tramp: Sending Password Tramp: Found remote shell prompt on `usha.takhisis.invalid' Quit Making completion list... Quit Type C-x 1 to delete the help window. goto-history-element: Beginning of history; no preceding item Load-path shadows: /usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs= /23.1.50/site-lisp/haskell-mode/haskell-ghci /usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/= 23.1.50/site-lisp/haskell-mode/haskell-doc /usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/sh= are/emacs/23.1.50/site-lisp/haskell-mode/haskell-simple-indent /usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/23= .1.50/site-lisp/haskell-mode/haskell-c /usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs= /23.1.50/site-lisp/haskell-mode/haskell-mode /usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs= /23.1.50/site-lisp/haskell-mode/haskell-hugs /usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emac= s/23.1.50/site-lisp/haskell-mode/haskell-cabal /usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/= emacs/23.1.50/site-lisp/haskell-mode/haskell-decl-scan /usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/= 23.1.50/site-lisp/haskell-mode/inf-haskell /usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/ema= cs/23.1.50/site-lisp/haskell-mode/haskell-indent /usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/= emacs/23.1.50/site-lisp/haskell-mode/haskell-font-lock /usr/share/emacs/23.1.50/site-lisp/debian-startup hides /usr/share/emacs/si= te-lisp/debian-startup /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/23.1.50/lisp/textmode= s/rst Features: (shadow mail-extr emacsbug help-mode view org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb vc-git vc-bzr vc-sccs vc-svn vc-cvs vc-rcs tramp-imap epa epg epg-config imap-hash imap message sendmail ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc shell comint password-cache format-spec tramp-compat trampver vc-dir ewoc vc vc-dispatcher org-protocol remember org-remember org byte-opt bytecomp byte-compile org-footnote org-src org-list org-faces org-compat org-macs time-date noutline outline easy-mmode regexp-opt post easymenu derived cl cl-19 rect-mark server windmove winner ido paren cus-start cus-load viper edmacro kmacro viper-ex viper-macs viper-mous viper-cmd viper-keym ring viper-util viper-init advice help-fns advice-preload debian-el debian-el-loaddefs emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs dpkg-dev-el dpkg-dev-el-loaddefs tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gtk x-toolkit x multi-tty emacs) --=20 Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ Dietro un grande uomo c'=C3=A8 ..| . |. Et ne m'en veux pas si je te tuto= ie sempre uno zaino ...........| ..: |.... Je dis tu =C3=A0 tous ceux que j'ai= me