Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2012 09:00:37 +0200
From:      =?ISO-8859-1?Q?=D6zkan_KIRIK?= <ozkan.kirik@gmail.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   9.1-RC3 fusefs-encfs problem ( ls: b: Bad file descriptor )
Message-ID:  <CAAcX-AHk=CUac6DZd0ijf1VsNh0ji6fpYSzWOWBiA1xPcd7zjg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AHk=CUac6DZd0ijf1VsNh0ji6fpYSzWOWBiA1xPcd7zjg>