Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2012 02:18:28 -0400
From:      Joseph Mingrone <jrm@ftfl.ca>
To:        =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: 9.1-RC3 fusefs-encfs problem ( ls: b: Bad file descriptor )
Message-ID:  <CANRUcdCEwgL1o-LGCayoOArb0P-giD5_YUe8DPG7UpaskJtkWw@mail.gmail.com>
In-Reply-To: <CAAcX-AHk=CUac6DZd0ijf1VsNh0ji6fpYSzWOWBiA1xPcd7zjg@mail.gmail.com>
References:  <CAAcX-AHk=CUac6DZd0ijf1VsNh0ji6fpYSzWOWBiA1xPcd7zjg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 6, 2012 at 3:00 AM, =C3=96zkan KIRIK <ozkan.kirik@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANRUcdCEwgL1o-LGCayoOArb0P-giD5_YUe8DPG7UpaskJtkWw>