← Back to team overview

ecryptfs-users team mailing list archive

Unable to mount with "-o xattr"

 

Hi,

I'd like to mount an ecryptfs file system with the "-o xattr" option
(assuming that it would improve performance of stat calls).

I've mounted the underlying ext4 file system with "user_xattr" and made
sure that setting xattrs with "setfattr" works as it should. But after
mounting with "mount -t ecryptfs -o xattr", the feature doesn't seem to
work: files are still at least 12K big, "mount" doesn't show "xattr"
among the options of the ecryptfs mount, and "getfattr" on the
underlying files doesn't show anything.

Any ideas where to look for the problem? There isn't anything about
ecryptfs in syslog, except for

mount.ecryptfs: Error initializing key module
[/usr/lib/ecryptfs/libecryptfs_key_mod_gpg.so]; rc = [-22]"

which seems to be unrelated.

# uname -a
Linux neko 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
GNU/Linux

Cheers,
Hagen



Follow ups