From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Trent W. Buck" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.50; Process has died with multi-hop TRAMP Date: Sat, 26 Jan 2008 19:19:31 +1100 Message-ID: <20080126081923.GA9831@Clio.twb.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0132350663==" X-Trace: ger.gmane.org 1201337441 10836 80.91.229.12 (26 Jan 2008 08:50:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2008 08:50:41 +0000 (UTC) Cc: rfrancoise@debian.org To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 26 09:51:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JIgka-0007d0-T4 for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 09:50:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIgkA-0005Pe-DW for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2008 03:50:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIgk3-0005O1-0p for emacs-devel@gnu.org; Sat, 26 Jan 2008 03:50:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIgk0-0005Mx-Ns for emacs-devel@gnu.org; Sat, 26 Jan 2008 03:50:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIgjz-0005MW-Rm for emacs-devel@gnu.org; Sat, 26 Jan 2008 03:50:19 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIgjz-0000xo-FF for emacs-devel@gnu.org; Sat, 26 Jan 2008 03:50:19 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JIgGP-0003KL-TP for emacs-pretest-bug@gnu.org; Sat, 26 Jan 2008 03:19:46 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JIgGM-0004Bi-En for emacs-pretest-bug@gnu.org; Sat, 26 Jan 2008 03:19:45 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JIgGL-0004BB-GE for emacs-pretest-bug@gnu.org; Sat, 26 Jan 2008 03:19:42 -0500 Original-Received: from ipmail01.adl6.internode.on.net ([203.16.214.146]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIgGH-0007DK-LU for emacs-pretest-bug@gnu.org; Sat, 26 Jan 2008 03:19:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAF17mkd5LOnP/2dsb2JhbACBWJAkm1I X-IronPort-AV: E=Sophos;i="4.25,254,1199626200"; d="asc'?scan'208";a="29428992" Original-Received: from ppp121-44-233-207.lns2.mel4.internode.on.net (HELO Clio.twb.ath.cx) ([121.44.233.207]) by ipmail01.adl6.internode.on.net with ESMTP; 26 Jan 2008 18:49:30 +1030 User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87551 gmane.emacs.pretest.bugs:20757 Archived-At: --===============0132350663== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nq2Wo0NMKNjxTN9z" Content-Disposition: inline --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please CC me, I'm not subscribed to the list.] I find that multihop methods are not working since upgrading to CVS =66rom 22. Below is an example using a one-hop multi-hop procedure which works with Emacs 22. It seems clear that "Tramp: Sending command ` && exit || exit'" is wrong. twb@Clio[Desktop]$ sudo -l User twb may run the following commands on this host: (ALL) NOPASSWD: ALL twb@Clio[Desktop]$ emacs -batch -Q -nw -eval '(load "tramp.el")' -f toggle-= debug-on-error /sudo::/ Loading /usr/share/emacs/23.0.50/lisp/net/tramp.el.gz... uncompressing tramp.el.gz... uncompressing tramp.el.gz...done Debug on Error enabled globally Tramp: Opening connection for root@Clio.twb.ath.cx using sudo... Tramp: Waiting 60s for local shell to come up... Tramp: Sending command `sudo -u root -s -p Password: && exit || exit' Tramp: Waiting for prompts from remote shell Tramp: Found remote shell prompt on `Clio.twb.ath.cx' twb@Clio[Desktop]$ emacs -batch -Q -nw -eval '(load "tramp.el")' -f toggle-= debug-on-error /multi:sudo:root@127.0.0.1:/ Loading /usr/share/emacs/23.0.50/lisp/net/tramp.el.gz... uncompressing tramp.el.gz... uncompressing tramp.el.gz...done Debug on Error enabled globally Tramp: Opening connection for sudo using multi... Tramp: Waiting 60s for local shell to come up... Tramp: Sending command ` && exit || exit' Tramp: Waiting for prompts from remote shell Tramp: Found remote shell prompt on `sudo' File error: Process has died =2E.. (progn (setq value (progn ... ...)) (tramp-set-connection-property v unam= e value)) (if (eq value (quote undef)) (progn (setq value ...) (tramp-set-connectio= n-property v uname value))) (when (eq value (quote undef)) (setq value (progn ... ...)) (tramp-set-co= nnection-property v uname value)) (let ((value ...)) (when (eq value ...) (setq value ...) (tramp-set-conne= ction-property v uname value)) value) (with-connection-property v uname (tramp-send-command v (format "cd %s; p= wd" uname)) (with-current-buffer (tramp-get-buffer v) (goto-char ...) (buff= er-substring ... ...))) (setq uname (with-connection-property v uname (tramp-send-command v ...) = (with-current-buffer ... ... ...))) (let ((uname ...) (fname ...)) (when (and ... ...) (setq uname ...)) (set= q uname (with-connection-property v uname ... ...)) (setq localname (concat= uname fname))) (progn (let (... ...) (when ... ...) (setq uname ...) (setq localname ...= ))) (if (string-match "\\`\\(~[^/]*\\)\\(.*\\)\\'" localname) (progn (let ...= ... ... ...))) (when (string-match "\\`\\(~[^/]*\\)\\(.*\\)\\'" localname) (let (... ...= ) (when ... ...) (setq uname ...) (setq localname ...))) (let* ((v ...) (method ...) (user ...) (host ...) (localname ...)) (unles= s (file-name-absolute-p localname) (setq localname ...)) (when (string-matc= h "\\`\\(~[^/]*\\)\\(.*\\)\\'" localname) (let ... ... ... ...)) (while (st= ring-match "//" localname) (setq localname ...)) (tramp-let-maybe directory= -sep-char 47 (let ... ...))) (with-parsed-tramp-file-name name nil (unless (file-name-absolute-p local= name) (setq localname ...)) (when (string-match "\\`\\(~[^/]*\\)\\(.*\\)\\'= " localname) (let ... ... ... ...)) (while (string-match "//" localname) (s= etq localname ...)) (tramp-let-maybe directory-sep-char 47 (let ... ...))) (if (not (tramp-tramp-file-p name)) (tramp-run-real-handler (quote expand= -file-name) (list name nil)) (with-parsed-tramp-file-name name nil (unless = =2E.. ...) (when ... ...) (while ... ...) (tramp-let-maybe directory-sep-ch= ar 47 ...))) tramp-handle-expand-file-name("/multi:sudo:root@127.0.0.1:/" "~/Desktop/") apply(tramp-handle-expand-file-name ("/multi:sudo:root@127.0.0.1:/" "~/De= sktop/")) (if fn (apply (cdr fn) args) (tramp-run-real-handler operation args)) (let ((fn ...)) (if fn (apply ... args) (tramp-run-real-handler operation= args))) (progn (let (...) (if fn ... ...))) (unwind-protect (progn (let ... ...)) (set-match-data save-match-data-int= ernal (quote evaporate))) (let ((save-match-data-internal ...)) (unwind-protect (progn ...) (set-ma= tch-data save-match-data-internal ...))) (save-match-data (let (...) (if fn ... ...))) (let ((tramp-locker t)) (save-match-data (let ... ...))) (progn (setq tramp-locked t) (let (...) (save-match-data ...))) (unwind-protect (progn (setq tramp-locked t) (let ... ...)) (setq tramp-l= ocked tl)) (let ((tl tramp-locked)) (unwind-protect (progn ... ...) (setq tramp-lock= ed tl))) tramp-sh-file-name-handler(expand-file-name "/multi:sudo:root@127.0.0.1:/= " "~/Desktop/") apply(tramp-sh-file-name-handler expand-file-name ("/multi:sudo:root@127.= 0.0.1:/" "~/Desktop/")) (cond ((and completion ... ...) t) ((and completion ... ...) filename) (f= oreign (apply foreign operation args)) (t (tramp-run-real-handler operation= args))) (let* ((v ...) (method ...) (user ...) (host ...) (localname ...)) (cond = (... t) (... filename) (foreign ...) (t ...))) (with-parsed-tramp-file-name filename nil (cond (... t) (... filename) (f= oreign ...) (t ...))) (let* ((filename ...) (completion ...) (foreign ...)) (with-parsed-tramp-= file-name filename nil (cond ... ... ... ...))) (progn (let* (... ... ...) (with-parsed-tramp-file-name filename nil ...)= )) (unwind-protect (progn (let* ... ...)) (set-match-data save-match-data-in= ternal (quote evaporate))) (let ((save-match-data-internal ...)) (unwind-protect (progn ...) (set-ma= tch-data save-match-data-internal ...))) (save-match-data (let* (... ... ...) (with-parsed-tramp-file-name filenam= e nil ...))) tramp-file-name-handler(expand-file-name "/multi:sudo:root@127.0.0.1:/" "= ~/Desktop/") expand-file-name("/multi:sudo:root@127.0.0.1:/" "~/Desktop/") command-line-1(("-eval" "(load \"tramp.el\")" "-f" "toggle-debug-on-error= " "/multi:sudo:root@127.0.0.1:/")) command-line() normal-top-level() In GNU Emacs 23.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.5) of 2008-01-21 on elegiac, modified by Debian (emacs-snapshot package, version 1:20080120-1) configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linu= x-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D/usr= /lib' '--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--mandir=3D/u= sr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs-snaps= hot:/etc/emacs:/usr/local/share/emacs/23.0.50/site-lisp:/usr/local/share/em= acs/site-lisp:/usr/share/emacs/23.0.50/site-lisp:/usr/share/emacs/site-lisp= :/usr/share/emacs/23.0.50/leim' '--with-x=3Dyes' '--with-x-toolkit=3Dgtk' '= build_alias=3Di486-linux-gnu' 'host_alias=3Di486-linux-gnu' 'CFLAGS=3D-DDEB= IAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g -O2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_AU.utf8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Post Minor modes in effect: xterm-mouse-mode: t savehist-mode: t shell-dirtrack-mode: t icomplete-mode: t partial-completion-mode: t show-paren-mode: t delete-selection-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC < ESC > ESC x r e p o r t SPC e m a c s RET Recent messages: Loading /etc/emacs/site-start.d/51debian-el.el (source)...done Source file `/usr/share/emacs/23.0.50/lisp/ido.el' newer than byte-compiled= file Loading subst-ksc...done Loading subst-gb2312...done Loading subst-big5...done Loading subst-jis...done For information about GNU Emacs and the GNU system, type C-h C-a. Modification-flag cleared When done with a buffer, type C-x # Mark set [2 times] --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHmu0LLpef9iTtxAYRAlXeAKD36N/I2PqRzulgTbQ8i4agzYTCVgCglC2j t1hcSp+I/fiONXq9M4p8Oes= =iY22 -----END PGP SIGNATURE----- --Nq2Wo0NMKNjxTN9z-- --===============0132350663== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============0132350663==--