From owner-freebsd-stable@FreeBSD.ORG Wed Dec 19 08:09:42 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EACD98 for ; Wed, 19 Dec 2012 08:09:42 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by mx1.freebsd.org (Postfix) with ESMTP id D900D8FC17 for ; Wed, 19 Dec 2012 08:09:41 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id a19so1274192qad.19 for ; Wed, 19 Dec 2012 00:09:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7mtbmMYY/v9rsybji7PuCxQrmyYiUEen36RcSAqNE38=; b=ZhAxvr2hFA2i2wyNQNI4n136hOKNwFB+BAa3HI31APnso6HWds9vHVay/Bh/NUV/4t fgkbxhvE+LdrT7tGZqBQK/5zgs46zl0GQmU9kbNnJZvXMOOfXv9WiudpRjOYwN02J82w sWTm80jVnX+MKDrB+JWmJcu7pdvmAcoBfzNhRpqID1l/f/fGbG0cCZKV/DUhYO67eoNo xPJDTWm5Q5vwkhgv/0zlU6Kw9CzBR2rEvkt7gII4lF5d2I7tS6VYjXmu9ubzKQzU+5xx 6PCJKKBGksPCcmpuAXTk6w2zE3pf163R9dDzOBj8dVq8JfMBUj4jdbqqqgoXgd1sVrc1 yR/A== MIME-Version: 1.0 Received: by 10.224.72.197 with SMTP id n5mr2156238qaj.38.1355904192072; Wed, 19 Dec 2012 00:03:12 -0800 (PST) Received: by 10.49.60.167 with HTTP; Wed, 19 Dec 2012 00:03:11 -0800 (PST) In-Reply-To: References: Date: Wed, 19 Dec 2012 10:03:11 +0200 Message-ID: Subject: Re: 9.1-RC3 fusefs-encfs problem ( ls: b: Bad file descriptor ) From: =?ISO-8859-1?Q?=D6zkan_KIRIK?= To: Joseph Mingrone Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 08:09:42 -0000 thank you On Wed, Dec 19, 2012 at 8:18 AM, Joseph Mingrone wrote: > On Thu, Dec 6, 2012 at 3:00 AM, =D6zkan KIRIK wro= te: > > I just installed fusefs-encfs from ports. > > There is something wrong while mounting the fuse. > > The output : > > > > root@host # kldstat > > Id Refs Address Size Name > > 1 3 0xffffffff80200000 13e0d58 kernel > > 2 1 0xffffffff81812000 a9bb fuse.ko > > > > root@host # encfs `pwd`/a `pwd`/b > > The directory "/usr/home/sysadmin/a/" does not exist. Should it be > created? > > (y,n) y > > The directory "/usr/home/sysadmin/b" does not exist. Should it be > created? > > (y,n) y > > Creating new encrypted volume. > > Please choose from one of the following options: > > enter "x" for expert configuration mode, > > enter "p" for pre-configured paranoia mode, > > anything else, or an empty line will select standard mode. > > ?> > > > > Standard configuration selected. > > > > Configuration finished. The filesystem to be created has > > the following properties: > > Filesystem cipher: "ssl/aes", version 3:0:2 > > Filename encoding: "nameio/block", version 3:0:1 > > Key Size: 192 bits > > Block Size: 1024 bytes > > Each file contains 8 byte header with unique IV data. > > Filenames encoded using IV chaining mode. > > File holes passed through to ciphertext. > > > > Now you will need to enter a password for your filesystem. > > You will need to remember this password, as there is absolutely > > no recovery mechanism. However, the password can be changed > > later using encfsctl. > > > > New Encfs Password: > > Verify Encfs Password: > > root@host # > > > > root@host # mount > > /dev/ada0p2 on / (ufs, local, journaled soft-updates) > > devfs on /dev (devfs, local, multilabel) > > /dev/fuse0 on /usr/home/b (fusefs, local, synchronous) > > > > root@host # cd b > > b: Not a directory. > > > > root@host # ls b > > ls: b: Bad file descriptor > > > > root@host # umount b > > umount: b: stat: Bad file descriptor > > umount: b: unknown file system > > > > root@host # umount /usr/home/b > > -> has no errors. > > > > > > I tried this on two different machines with 9.1-RC3 amd64. > > How can we solve this problem? > > > > Sincerely, > > Ozkan KIRIK > > I have the same problem. Downgrading sysutils/fusefs-kmod and > sysutils/fusefs-libs as described in the PR linked to below allowed me > to mount again. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/173240 >