Bug 762976 (GLUSTER-1244) - ecryptfs does not work when the directory to be encrypted is on gluster mount
Summary: ecryptfs does not work when the directory to be encrypted is on gluster mount
Keywords:
Status: CLOSED WORKSFORME
Alias: GLUSTER-1244
Product: GlusterFS
Classification: Community
Component: core
Version: 3.0.5
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Junaid
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-29 05:37 UTC by Sachidananda Urs
Modified: 2013-08-06 22:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-17 06:20:00 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sachidananda Urs 2010-07-29 05:37:22 UTC
Here are the simple steps to reproduce ecryptfs problem:

Select a folder on gluster volume - say /export/crtest, mount it on a different directory /mnt/test as

mount.ecryptfs /export/crtest /mnt/test -o key=passphrase,passphrase_passwd=TestPassword,ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptfs_passthrough=n

Once mounted, simply try file operations. If a file is created on the ecrypt mount, the file does not get encrypted. For the same operation on the ext3 or any other disk filesystem, it just works fine.

And sometimes, when a file is copied to the ecrypt mount point, a 0 byte file gets created.

Regards,
Sachidananda.

Comment 1 Amar Tumballi 2011-01-21 08:03:18 UTC
Sac,

Is this happening still ? I don't think we have hit this issue. Can you please try with newer version (3.1.2+) and let us know if its working?

Regards,
Amar

Comment 2 Amar Tumballi 2011-04-25 09:33:16 UTC
Please update the status of this bug as its been more than 6months since its filed (bug id < 2000)

Please resolve it with proper resolution if its not valid anymore. If its still valid and not critical, move it to 'enhancement' severity.

Comment 3 Amar Tumballi 2011-06-22 04:17:49 UTC
Junaid,

Can you check with Sac if it is still the case? if works, close this bug, otherwise, when you have time, look at what would be causing the failures.

Comment 4 Junaid 2011-06-23 08:18:19 UTC
This seems to be a O_DIRECT issue..

Comment 5 Amar Tumballi 2012-10-17 06:20:00 UTC
after the O_DIRECT fix went into fuse module, we didn't notice this issue.


Note You need to log in before you can comment on or make changes to this bug.