all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mats Löfdahl" <mats_lofdahl@yahoo.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp and BusyBox problem?
Date: Tue, 17 Mar 2009 23:30:27 +0100	[thread overview]
Message-ID: <gpp8a5$qh5$1@news.albasani.net> (raw)
In-Reply-To: <mailman.3431.1237322291.31690.help-gnu-emacs@gnu.org>

Michael Albinus wrote:
> Mats Löfdahl <mats_lofdahl@yahoo.se> writes:
> 
> [I fear my answer from yesterday has been lost. Reposted, therefore.]
> 
>> It was different this time. When I connected as mats (bash), I first
>> got the same uname error message as for root (BusyBox). But I knew
>> that it _had_ worked, so I tried again and got the ugly dired buffer.
>>
>> So I did the same experiment with root in a fresh instance of
>> emacs. This generated the uname error but did _not_ work at the second
>> attempt.
>>
>> The debug buffers from the two sessions are here:
>>
>> http://www.solarphysics.kva.se/~mats/debug1.txt - root/BusyBox
>> http://www.solarphysics.kva.se/~mats/debug2.txt - mats/bash
> 
> Looks like there is a race condition. Could you, please, check the
> appended patch?

Sure. And thanks!

I applied the patch and byte-compiled tramp.el. Looks like I did it right:

[root@localhost site-lisp]# diff tramp.el tramp.el.orig
5855,5856c5855,5859
<     (when (not (tramp-get-connection-property proc "check-remote-echo" 
nil))
<       ;; No echo to be handled, now we can look for the regexp.
---
 >     (when (or
 > 	   ;; No echo to be handled, now we can look for the regexp.
 > 	   (not (tramp-get-connection-property proc "check-remote-echo" nil))
 > 	   ;; Sometimes the echo is invisible.
 > 	   (not (re-search-forward tramp-echo-mark-marker nil t)))
[root@localhost site-lisp]# ls -l tramp.el*
-rw-r--r-- 1 root root 303964 2009-03-17 23:19 tramp.el
-rw-r--r-- 1 root root 285934 2009-03-17 23:20 tramp.elc
-rw-r--r-- 1 root root 304070 2009-03-08 17:37 tramp.el.orig

I then started a fresh emacs and did the double attempt to connect as 
root. To me it looked just like last time but I've uploaded the debug 
buffer anyway: http://www.solarphysics.kva.se/~mats/debug3.txt


  parent reply	other threads:[~2009-03-17 22:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-02 23:40 Tramp and BusyBox problem? Mats Löfdahl
2009-03-03  8:12 ` Mats Löfdahl
2009-03-03 16:29   ` Michael Albinus
     [not found]   ` <mailman.2277.1236097624.31690.help-gnu-emacs@gnu.org>
2009-03-04 21:26     ` Mats Löfdahl
2009-03-08 11:05       ` Michael Albinus
     [not found]       ` <mailman.2691.1236510346.31690.help-gnu-emacs@gnu.org>
2009-03-08 16:47         ` Mats Löfdahl
2009-03-15 16:28           ` Michael Albinus
     [not found]           ` <mailman.3243.1237134515.31690.help-gnu-emacs@gnu.org>
2009-03-15 18:01             ` Mats Löfdahl
2009-03-15 19:23               ` Michael Albinus
     [not found]               ` <mailman.3258.1237145041.31690.help-gnu-emacs@gnu.org>
2009-03-15 21:23                 ` Mats Löfdahl
2009-03-17 20:37                   ` Michael Albinus
     [not found]                   ` <mailman.3431.1237322291.31690.help-gnu-emacs@gnu.org>
2009-03-17 22:30                     ` Mats Löfdahl [this message]
2009-03-19 16:39                       ` Michael Albinus
     [not found]                       ` <mailman.3583.1237480793.31690.help-gnu-emacs@gnu.org>
2009-03-19 20:19                         ` Mats Löfdahl
2009-03-19 21:54                           ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gpp8a5$qh5$1@news.albasani.net' \
    --to=mats_lofdahl@yahoo.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.