From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mathieu Roy Newsgroups: gmane.emacs.devel,gmane.comp.version-control.arch.user Subject: Re: possible fix for sftp on Savannah; please try Date: 14 Oct 2003 12:06:53 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20031006112435.GA11164@reactor-core.org> <20031006193845.GA20395@reactor-core.org> <20031013224138.GA21254@reactor-core.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066127845 24636 80.91.224.253 (14 Oct 2003 10:37:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 10:37:25 +0000 (UTC) Cc: gnu-arch-users@gnu.org, savannah-hackers@gnu.org, xouvert-general@nongnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 14 12:37:23 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9MYM-0007aH-00 for ; Tue, 14 Oct 2003 12:37:22 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9MYM-00029k-00 for ; Tue, 14 Oct 2003 12:37:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9MWl-0003gx-Hv for emacs-devel@quimby.gnus.org; Tue, 14 Oct 2003 06:35:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9MOC-0000HM-3O for emacs-devel@gnu.org; Tue, 14 Oct 2003 06:26:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9MNa-00009v-EA for emacs-devel@gnu.org; Tue, 14 Oct 2003 06:26:45 -0400 Original-Received: from [195.132.235.25] (helo=hephaistos.nibelungen.rez) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9MM3-0008G0-Eu; Tue, 14 Oct 2003 06:24:39 -0400 Original-Received: from dionysos ([192.168.1.7]) by hephaistos.nibelungen.rez with esmtp (Exim 4.10) id 1A9MKR-0001Dz-00; Tue, 14 Oct 2003 12:22:59 +0200 Original-Received: from moa by dionysos with local (Exim 3.36 #1 (Debian)) id 1A9M4s-0000y5-00; Tue, 14 Oct 2003 12:06:54 +0200 Original-To: Jonathan Walther X-PGP-Fingerprint: 6B60 6F7C 39D6 B03C 9024 CD52 365F 7FF7 2DA1 99B9 In-Reply-To: <20031013224138.GA21254@reactor-core.org> Original-Lines: 87 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17087 gmane.comp.version-control.arch.user:17596 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17087 Jonathan Walther said: > On Mon, Oct 06, 2003 at 10:38:37PM +0200, Mathieu Roy wrote: > >> The errors always mention premature EOF on file descriptor 4. > >> If you could install chroot-sftp.c, that would be a tremendous help > >> in > >> tracking down the problem. > > > >Firstly, I would to know why the current thing does not work for you > >while it works for me and while I was told by several others persons, > >including arch users, that it works ok. > > When did you last test it? The last time its configuration was changed. > I finally got a regular Savannah user account, and talked to other > regular Savannah users, and unless they use ssh protocol 1, which > you CANNOT chroot, We chroot it and it works chrooted. Since you apparently do not believe me when I say that, please look at the following: moa@dionysos:~$ sftp -1 svtest@sv.gnu.org:/ Connecting to sv.gnu.org... Enter passphrase for RSA key '/home/moa/.ssh/id_rsa1': Changing to: / sftp> ls . .. 123tkshop 7pages 9box Andrew-Toolkit.README Flush FreelyAvailableTexts Only README README.obst Socket [...] sftp> ls /usr/bin /usr/bin/. /usr/bin/.. /usr/bin/sftp It definitely works. > The shell closes all file descriptors except 0, 1, and 2 before passing > them on to programs. The sftp server expects to by invoked by sshd, not > by a shell script, and so it is waiting for incoming data on file > descriptor 4. This account is an usual account. You requested a special account in order to help us but apparently you always refers to specific issues related to this non-usual account. The last time I was on IRC for almost one hour with people from your project and I left only when it was said it was working. The configuration did not changed. So please, can we have the error messages you get, with an usual account? (didn't asked for that information before?) We are not about to fix something unless we have some clue about reproducibility of the problem, unless we are able to confirm that there is really a problem on the server side. -- Mathieu Roy Homepage: http://yeupou.coleumes.org Not a native english speaker: http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english