public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* sftp upload to cygwin-staging does not work correctly anymore
@ 2015-02-26 11:35 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2015-02-26 11:35 UTC (permalink / raw)
  To: overseers

[-- Attachment #1: Type: text/plain, Size: 1772 bytes --]

Hi,


a Cygwin maintainer reported that he gets immediate "connection closed"
messages from sftp when trying to upload a file into his directory
in the cygwin-staging area at /sourceware/cygwin-staging/home dir.

I tried it myself today and I can reproduce this behaviour.  I can
upload files up to about 12K, but trying to upload any bigger files
results in a "connection closed".  In the staging area a temporary file
of size 0 has been created and not removed nor renamed to the desired
filename.

SFTP connections to sourceware are handled by the script
/usr/src/sftp-server.pl/sftp-server.pl

For non-Cygwin maintainer connections this script simply defers to
/usr/libexec/openssh/sftp-server.  Using such a "normal" sftp server,
there's no problem to upload files of any size.

For Cygwin maintainer connections the aforementioned script uses the
Net::SFTP::SftpServer module.

This module worked fine up to at least two days ago, when another
maintainer uploaded clisp packages (certainly larger than 12K...)

It seems that, suddenly, the Net::SFTP::SftpServer module simply dies
when trying to upload bigger files, for no apparent reason.

Did anything change in the last two days in terms of perl or ssh (new
packages, changing settings, etc.) which might explain this behaviour?

The script itself looks insuspicious, and supposedly hasn't been
modified since 2013-12-13.  The Net::SFTP::SftpServer module
/root2/usr/share/perl5/vendor_perl/Net/SFTP/SftpServer.pm file
hasn't been changed since 2013-10-10.

This is really weird.  Could some kind soul have a look into this
issue?  Is there anyhting in the logs pointing to the problem?


Thanks in advance,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-26 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 11:35 sftp upload to cygwin-staging does not work correctly anymore Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).