[Bugs] [Bug 1157839] New: link(2) corrupts meta-data of encrypted files
bugzilla at redhat.com
bugzilla at redhat.com
Mon Oct 27 20:13:05 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1157839
Bug ID: 1157839
Summary: link(2) corrupts meta-data of encrypted files
Product: GlusterFS
Version: mainline
Component: encryption-xlator
Severity: high
Assignee: bugs at gluster.org
Reporter: edward at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
step #26 of the tests/encryption/crypt.t failed:
How reproducible:
Run tests on NetBsd
Actual results:
=========================
TEST 26 (line 61): diff -u /mnt/glusterfs/0/testfile-symlink
/tmp/patchy-goodfile
diff: /mnt/glusterfs/0/testfile-symlink: Invalid argument
not ok 26
RESULT 26: 2
Expected results:
TEST 26: OK
Additional info:
1) Complaints in /var/log/glusterfs/mnt-glusterfs-0.log:
[2014-10-23 19:05:40.972909] E [metadata.c:534:open_format_v1] 0-crypt: EMTD
verification failed
2) link(2) corrupts meta-data string:
# getfattr -m . -d -e hex /mnt/glusterfs/0/testfile
trusted.glusterfs.crypt.att.cfmt=0x00e0d007795280a78ac90ea90982a00da2ebad6d352e
#ln /mnt/glusterfs/0/testfile /mnt/glusterfs/0/testfile-link
# getfattr -m . -d -e hex /mnt/glusterfs/0/testfile
trusted.glusterfs.crypt.att.cfmt=0x0000000c000480a78ac90ea9098200da2ebad6d352e62ba9283455afd12
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list