From owner-freebsd-ports@FreeBSD.ORG Fri Nov 25 13:57:47 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EEDC16A41F for ; Fri, 25 Nov 2005 13:57:47 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 214AE43D58 for ; Fri, 25 Nov 2005 13:57:45 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 25 Nov 2005 13:57:44 -0000 Received: from unknown (EHLO zi025.glh.mhn.de) [129.187.43.241] by mail.gmx.net (mp029) with SMTP; 25 Nov 2005 14:57:44 +0100 X-Authenticated: #147403 Received: by zi025.glh.mhn.de (Postfix, from userid 1000) id BD858C187; Fri, 25 Nov 2005 14:57:42 +0100 (CET) Date: Fri, 25 Nov 2005 14:57:42 +0100 From: Simon Barner To: Thiago Damas Message-ID: <20051125135742.GA1104@zi025.glh.mhn.de> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Cc: Csaba Henk , freebsd-ports@freebsd.org Subject: Re: kernel panic with sshfs (FUSE) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 13:57:47 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thiago Damas wrote: > I experimented a kernel panic, when trying to create a md device > using a file located in a sshfs (FUSE) filesystem; > # pkg_info | grep fuse > fusefs-kmod-0.2.19.6 Kernel module for fuse > fusefs-libs-2.4.1 FUSE allows filesystem implementation in userspace > fusefs-sshfs-1.3_1 Mount remote directories over ssh >=20 > # uname -a > FreeBSD noc2.interno 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Thu Nov 10 > 21:07:03 BRST 2005 =20 > root@noc2.interno:/usr/src/sys/i386/compile/NOC2 i386 >=20 > Unfortunately, I havent DEBUG flags turned ON in this kernel, but > its easy to reproduce: > # mount > ... > /dev/fuse0 on /mnt/sshfs (fusefs, local, synchronous) >=20 > # cd /mnt/sshfs > # mdconfig -a -f somefile.img > >=20 > Maybe will be necessary to introduce some code in the fusefs module > to deny this operation, IMHO. Maybe the author of the FUSE kernel module wants to have a look at this (Cc'ed). --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDhxhWCkn+/eutqCoRAqxqAKCm7U3oqa3P/SAbx5M0cWyQp5ftogCfVSMU xY593+JQGGfIvMvNTEFdmlM= =mxCa -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--