after updating openssh from 5.5_p1-r2 to 5.6_p1, sftp:// in nautilus stops to work Reproducible: Always Steps to Reproduce: 1.have gvfs 1.6.3 installed (I haven't tryed older gvfs) 2.have openssh 5.6_p1 installed 3.gvfs-mount sftp://user@host Actual Results: Error mounting location: Erreur lors de la lecture depuis unix : Erreur d'entrée/sortie BTW, unseting LANG and LANGUAGE envvars failed to avoid translation. "Erreur lors de la lecture depuis unix : Erreur d'entrée/sortie" means Error while reading from unix : I/O error Expected Results: $ ls .gvfs/ sftp on host I have tried to recompile gvfsd in order to avoid link inconsistency (like revdep rebuild) : same error rollback to openssh 5.5_p1-r2 worked instantly (whitout recompile gvfs)
Also ran into this issue on two seperate gentoo machines (~amd64) after updating world recently. The precise error in english/default locale is "Error reading from unix: Input/output error". Issue remains after updating to openssh-5.6_p1-r1, downgrading tot 5.5_p1-r2 like Guillaume did also makes it work again for me.
Please try if you are able to reproduce on a new created user account and, in that case, attach ~/.xsession-errors file just after reproducing
I can reproduce it on a new account, unfortunately the .xsession-errors file doesn't seem to contain anything useful (I'll attach it anyway, just in case)
Created attachment 245926 [details] log for reproducing on new user account
Looks like this could be an upstream problem since also affects people in other distributions: http://bugs.archlinux.org/task/20737
As far as I can tell, this is some kind of a timing issue, since when stepping through the handle_login in gvfsd-sftp with gdb everything works fine. Running strace against it doesn't show a significant difference between the two ssh processes, and indeed they both end up waiting for a password-prompt/attempting publickey auth. However, it appears that 5.6 opens /proc/<pid>/fd and then closes an additional file descriptor and it's not clear if that's causing the problem. I'm happy to dig a little deeper, but I'm not sure where I should be looking, how I should be testing, so I'm open to suggestions? Also does anyone have an upstream bug number for this yet?
I have been searching in upstream bugzilla without success, could any of the affected people open it and post link here? Thanks
Ok, it's gnome bug 629184. I haven't reported it to openssh yet, since it's not clear they're doing anything wrong. http://bugzilla.gnome.org/show_bug.cgi?id=629184
Thanks
just commited 1.6.4 to the tree which ships with the fix. Thanks for reporting.