From owner-freebsd-stable@FreeBSD.ORG Sun Jun 15 10:28:52 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BE159B7 for ; Sun, 15 Jun 2014 10:28:52 +0000 (UTC) Received: from st11p09mm-asmtp002.mac.com (st11p09mm-asmtp002.mac.com [17.164.24.97]) by mx1.freebsd.org (Postfix) with ESMTP id E663227E0 for ; Sun, 15 Jun 2014 10:28:51 +0000 (UTC) MIME-version: 1.0 Received: from [10.71.14.16] (dsl-hkibrasgw1-58c380-33.dhcp.inet.fi [88.195.128.33]) by st11p09mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0N7700900H3OBMB0@st11p09mm-asmtp002.mac.com> for freebsd-stable@freebsd.org; Sun, 15 Jun 2014 10:28:38 +0000 (GMT) From: Kimmo Paasiala Content-type: multipart/signed; boundary="Apple-Mail=_BFD3469A-8413-4AC8-92C5-59392EC6729A"; protocol="application/pgp-signature"; micalg=pgp-sha512 Message-id: <696F97DE-5581-460E-B2B3-FFC43BCCBC00@icloud.com> Subject: Re: Odd problem with find(1) on FUSE sshfs mounted filesystems Date: Sun, 15 Jun 2014 13:28:32 +0300 References: <996494CC-21F5-4476-8E5E-22F5E5E673DD@icloud.com> To: "freebsd-stable@freebsd.org" In-reply-to: <996494CC-21F5-4476-8E5E-22F5E5E673DD@icloud.com> X-Mailer: Apple Mail (2.1878.2) X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaHREKTEMXGx0EGx0YBBIZBBsdEBseGh8 aEQpYTRdLEQptfhcaEQpMWRcbGhsbEQpZSRcRClleF2hjeREKQ04XSxsYGmJCH2lhGEd+GXhzB x9sGxoYEkkbEQpYXBcZBBoEGxsHTU4fGBgYGUsFGx0EGx0YBBIZBBsdEBseGh8bEQpeWRdhGlJ EUhEKTEYXbGtrEQpDWhcSEgQbEx8EGxgSBBkZEQpEXhcYEQpCRRdmfX8TTW9cYGUaEhEKQk4Xa 0UaUlAeQ1xZXGgRCkJMF25NHXlZY2RofhhGEQpCbBdhQHxTbEsfGGR7fhEKQkAXYGdeYHMbH2x yZB8RCkJYF2lQGV9ZGWZbc2lbEQpwaBdtTEhsTkhTZm1ofhEKcGgXZHBhfGFJG18bTEQRCnBoF 2ISHnxOYh9QSxxYEQpwaBdlTxxDYmhdHURDcBEKcGgXbmZSZ0FNZBx4XkwRCnBrF2lec1NeHl9 MHUZaEQpwSxdiaXITWF1cZ21TcxEKcGsXZmxlSUEaUnwbZ1IRCnBsF21nbgUfYU5hHFsbEQ== X-CLX-Spam: false X-CLX-Score: 1011 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.14,0.0.0000 definitions=2014-06-15_01:2014-06-13,2014-06-15,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=43 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1406150143 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jun 2014 10:28:52 -0000 --Apple-Mail=_BFD3469A-8413-4AC8-92C5-59392EC6729A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 13.6.2014, at 9.49, Kimmo Paasiala wrote: > I=92m on FreeBSD stable/10 r267390 on one of my systems and on FreeBSD = 10.0-RELEASE-p5 i386 on another one. Both exhibit a strange behaviour = when find(1) is used on a FUSE sshfs mounted filesystems. This an = excerpt of a log from such run (I mounted FreeBSD sources on /mnt using = sshfs): >=20 > ... > mnt/contrib/ofed/libmlx4/autogen.sh^M > /mnt/contrib/ofed/libmlx4/mlx4.driver^M > /mnt/contrib/ofed/libmlx4/config^M > /mnt/contrib/ofed/libmlx4/Makefile.am^M > /mnt/contrib/openresolv^M > find: /mnt/contrib/openresolv/pdnsd.in: No such file or directory^M > find: /mnt/contrib/openresolv/resolvconf.8.in: No such file or = directory^M > find: /mnt/contrib/openresolv/resolvconf.conf.5.in: No such file or = directory^M > find: /mnt/contrib/openresolv/configure: No such file or directory^M > find: /mnt/contrib/openresolv/unbound.in: No such file or directory^M > find: /mnt/contrib/openresolv/named.in: No such file or directory^M > find: /mnt/contrib/openresolv/resolvconf.conf: No such file or = directory^M > find: /mnt/contrib/openresolv/dnsmasq.in: No such file or directory^M > find: /mnt/contrib/openresolv/Makefile: No such file or directory^M > find: /mnt/contrib/openresolv/libc.in: No such file or directory^M > find: /mnt/contrib/openresolv/README: No such file or directory^M > find: /mnt/contrib/openresolv/resolvconf.in: No such file or = directory^M > find: /mnt/contrib/openresolv: No such file or directory^M > /mnt/contrib/ntp^M > =85 >=20 >=20 > I can rsync(1) the files from the mounted filesystem just fine without = any errors/corruption so clearly all the files and directories are there = and accessible.=20 >=20 > Is this a problem in FUSE/sshfs or find(1) and how to start debugging = this? >=20 > I have tested with both FreeBSD and OS X as SSH servers and the same = problem is present using both systems. >=20 > In all of the tests I=92ve done there are no mountpoints crossed, each = mounted directory tree is on a single filesystem on the server. >=20 > -Kimmo No one else has seen this behaviour? I=92d like to use sshfs as a secure = and less complicated replacement for NFS but if I can=92t trust it to = work with standard utilities like find(1) I=92ll have to pass for now. -Kimmo --Apple-Mail=_BFD3469A-8413-4AC8-92C5-59392EC6729A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJTnXVVAAoJEFvLZC0FWRVpkVUIAL2OSe0sXi63rKRJ9jq/vSnC /Ud815Y2CQPHIvspOtrqddo/R4MxgiyjYm5uB6CnpWOSshsYS38qkTavHjQh4YGI B6zUXP3V4023Ze6zjEZnYqlFSfIgONAkQFv8EyWztivlC8CK7VddgJKjLh8olD5+ 9J0iERxiKUkHvbBcDfIOligozv9Z0FViOa+Z1BQf8b5TksT7+BJ45E3lYornZGzH uGV21X/lzd5yAI46+0hkwiM2HclansKHmOvPuEpoJUQ2bpLTwTZoO2Hj6lzXyaJ4 HXUtxEDabpGG7Mexjnr0jZegy5YiB1KJGO+vCSAMIaRQXCINvlgGouwjS1YrDfc= =i4Kh -----END PGP SIGNATURE----- --Apple-Mail=_BFD3469A-8413-4AC8-92C5-59392EC6729A--