There is some error with newer gvfs and ssh/sftp handling as it _immediatly_ errors out speaking of a timeout. gvfs-1.6.3 works correctly. googling I found this ( https://launchpad.net/ubuntu/+source/gvfs/1.6.4-0ubuntu1 ) with the link to debian patches. Applying git_backout...patch seems to solve the issue. Reproducible: Always Steps to Reproduce:
Created attachment 249528 [details, diff] debian patch
Created attachment 249530 [details] modified ebuild
and then it breaks with latest openssh, this is not acceptable. Please add emerge --info and emerge -pv gvfs openssh The original upstream bug report should be commented on/reopen if there is a problem interacting with older openssh revisions.
# emerge --info && emerge -pv gnome-base/gvfs net-misc/openssh Portage 2.1.9.13 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-tuxonice-r6 i686) ================================================================= System uname: Linux-2.6.34-tuxonice-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.13 Timestamp of tree: Sun, 03 Oct 2010 18:45:03 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y --rebuilt-binaries --keep-going" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://mirrors.ludost.net/gentoo/ http://gentoo.mneisen.org/" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--hash-style=gnu" LINGUAS="it" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/science /var/lib/layman/java-overlay /usr/local/portage /var/lib/layman/gechi" SYNC="rsync://192.168.1.7/gentoo-portage" USE="X a52 aac aalib acpi alsa apache2 audiofile avahi berkdb branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus dga dri dts dvb dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib java jikes jpeg jpeg2k lame laptop lcms ldap libnotify mad mikmod mmx mng modules mono mp3 mp4 mpeg mudflap musepack musicbrainz nautilus ncurses networkmanager nls nptl nptlonly offensive ogg openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd python quicktime readline reflection rtmp ruby samba schroedinger sdl session smp sndfile spell sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vaapi vcd vdpau vorbis vpx win32codecs wmf x264 x86 xinerama xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-misc/openssh-5.5_p1-r2 USE="X ldap pam tcpd -X509 -hpn -kerberos -libedit (-selinux) -skey -static" 1,090 kB [0] [ebuild R ] gnome-base/gvfs-1.6.4-r1 USE="archive avahi cdda fuse gdu gnome gnome-keyring gphoto2 hal http samba udev -bash-completion -bluetooth -doc -iphone" 0 kB [1] Total: 2 packages (2 reinstalls), Size of downloads: 1,090 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage
is rising openssh requirements an option then?
(In reply to comment #5) > is rising openssh requirements an option then? > I think we simply need to apply the following upstream patch: http://git.gnome.org/browse/gvfs/commit/?id=4033907045abcf498686c1b34be7b0160260088d
recompiled with new patch instead of the one I linked. Seems to work correctly.
Please apply. I wonder why upstream didn't put up a note on the original bug report though...
+*gvfs-1.6.4-r1 (05 Oct 2010) + + 05 Oct 2010; Pacho Ramos <pacho@gentoo.org> -gvfs-1.6.4.ebuild, + +gvfs-1.6.4-r1.ebuild, +files/gvfs-1.6.4-sftp-timeout.patch: + Revision bump to fix timeouts with sftp due bug #339695 (reported by onip) + using upstream patch. Remove broken version. +