From owner-freebsd-stable@FreeBSD.ORG Wed Dec 19 06:18:35 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 1F6EFC79 for ; Wed, 19 Dec 2012 06:18:35 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-vb0-f41.google.com (mail-vb0-f41.google.com [209.85.212.41]) by mx1.freebsd.org (Postfix) with ESMTP id B9EF48FC12 for ; Wed, 19 Dec 2012 06:18:34 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id l22so1958730vbn.0 for ; Tue, 18 Dec 2012 22:18:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=45hzptT/r9SFowzDgyRw+Qr2nApz3sw4GPuzQxGFwCo=; b=fEkBhhGr+bk6Ava2OjZWgcdQ67bfmEJCaEl96uV9txaj2e66j1DRFfNwq7A5W5wcuQ 0nIo5OJ+EDvPEkFQlXIPQnWAmvuDnnENQZzK4PTz3HWPtDD0uJamj0fTQxiYQeoxAPTw HOPVTMDcKdvrYhN5j6tGcoF1MgF4zDABb1Zjw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=45hzptT/r9SFowzDgyRw+Qr2nApz3sw4GPuzQxGFwCo=; b=DiFzHJYmzuQWDP2WHvAYU1HGFfXc3CfdX80x3Zi+CBPV7Wt6PUoKzx/CjDzjOHXjqZ P9eq6JOQ5MTM8RyRdZIizzEEOUUaW02CD6voWPZgQxO+oc3GZ6Q0YhjLZZTXNpgK9MGr CSKhT5LF0PJ1fwiWSrwE0AUT940TMH9Dw52M3XlmBt6l5ElBTl2tMsORR+4Byun0WH4o 8w2i/7fwCadXCnyfIdq8I+da0JyhnZ9PgJgIKgBQIC7lnA0H2tQlxOGp0nGILm8RsGJZ 3dqx7mEOGxQL86Srg7KG9d5e2REKemAc7IMQqQcGyrNfR/ukXAHfmT+UxjQUdokXUuZq ODWA== MIME-Version: 1.0 Received: by 10.52.173.207 with SMTP id bm15mr6225947vdc.88.1355897908374; Tue, 18 Dec 2012 22:18:28 -0800 (PST) Received: by 10.59.13.195 with HTTP; Tue, 18 Dec 2012 22:18:28 -0800 (PST) X-Originating-IP: [100.42.242.195] In-Reply-To: References: Date: Wed, 19 Dec 2012 02:18:28 -0400 Message-ID: Subject: Re: 9.1-RC3 fusefs-encfs problem ( ls: b: Bad file descriptor ) From: Joseph Mingrone To: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQk6jyk0xzKUDjZnW2qNiTSy9/V/7uZR2e+6qz90wSlc4VW8BvB15gF0fEo/0on6hEPrccxM 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 06:18:35 -0000 On Thu, Dec 6, 2012 at 3:00 AM, =C3=96zkan KIRIK wr= ote: > 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 create= d? > (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