[Kernel-packages] [Bug 1612492] Re: remounting breaks size reporting and rsync

2017-06-24 Thread Jason Xing
Sure. But maybe we need to take more time since he is recently very busy. If this bug doesn't have much affect on you, we could wait. Otherwise, you can test it and apply it in your kernel. After all, it can solve your problem though it may not be the best way. -- You received this bug

[Kernel-packages] [Bug 1612492] Re: remounting breaks size reporting and rsync

2017-06-22 Thread Jason Xing
Hello Benjamin Gemmill, I'm done with the patch (see the attachment). It can be applied in the latest linus' tree and 4.8.17 kernel.If you have any idea or advice, please tell me. Thanks. ** Patch added: "0001-ecryptfs-Fix-stat-command-displays-wrong-file-size.patch"

[Kernel-packages] [Bug 1612492] Re: remounting breaks size reporting and rsync

2017-06-21 Thread Jason Xing
I tested different kernels and two filesystem (xfs and ext4). It turns out that we cannot read less than value_size (which is 81 in ecryptfs) buffer when doing ecryptfs_read_and_validate_xattr_region(). In ecryptfs_read_and_validate_xattr_region() function, "file_size" array is the buffer we're

[Kernel-packages] [Bug 1612492] Re: remounting breaks size reporting and rsync

2017-06-12 Thread Jason Xing
I'm working on this bug issue, so I reassign to me. The maintainers of eCryptfs are very busy, if they want to write the patch, that would be great! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1612492] Re: remounting breaks size reporting and rsync

2017-06-12 Thread Jason Xing
Tyler, if you are writing the patch, please tell me, I will assign it to you. ** Changed in: ecryptfs Assignee: Tyler Hicks (tyhicks) => Jason Xing (wlxing) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. ht

[Kernel-packages] [Bug 1612492] Re: remounting breaks size reporting and rsync

2017-06-09 Thread Jason Xing
Also verified in 3.3.8 I compile the kernel (3.3.8) on Ubuntu 14.04 and Centos 7-1511. After I mount ecryptfs with ecryptfs_xattr option, it will terminate if I copy some file in it. First time I copy files, it will be killed. Next time I copy files, it will hang and do nothing. Test outputs: $

[Kernel-packages] [Bug 1612492] Re: remounting breaks size reporting and rsync

2017-06-09 Thread Jason Xing
It also affects me. I tested it on 14.04 (64-bit) and 16.04 (64-bit). Verified in 4.2.0-27-generic and 4.8.0-36-generic. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1612492 Title: