FS#50126 - [linux-lts] ecryptfs is broken

Attached to Project: Arch Linux
Opened by Thue Janus Kristensen (thuejk) - Friday, 22 July 2016, 10:51 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 25 July 2016, 17:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: ecryptfs is broken in linux-lts 4.4.15-1.

This has been reported upstream and for other distributions, and a patch has been distributed: https://www.spinics.net/lists/ecryptfs/msg00816.html

The bug is due to a patch, which has since been reverted. Reverting commit: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/fs/ecryptfs/kthread.c?id=78c4e172412de5d0456dc00d2b34050aa0b683b5

However, the lts kernel source downloaded by Arch Linux, from kernel.org, doesn't include the fixing revert. It is not quite clear to me why. Read this about the guys at manjaro having problems with malformed patches: https://www.spinics.net/lists/ecryptfs/msg00825.html

Steps to reproduce
1) mount ecryptfs partition
2) Do "ls"

Result:
henry@subnote:~$ ls Private/
ls: cannot open directory 'Private/': Wrong medium type
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 25 July 2016, 17:40 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Friday, 22 July 2016, 16:24 GMT
Please give 4.4.15-2 in testing repo a try.
Comment by Thue Janus Kristensen (thuejk) - Friday, 22 July 2016, 20:09 GMT
Thanks for the quick fix! Will test when I get home on Sunday.
Comment by Thue Janus Kristensen (thuejk) - Monday, 25 July 2016, 17:37 GMT
Have tested, bug is fixed in linux-lts 4.4.15-2. Thanks again!

Loading...