Bug 40292
Summary: | With latest commit for ecryptfs, it's impossible to compile kernel 3.0.0+ | ||
---|---|---|---|
Product: | File System | Reporter: | David Hill (hilld) |
Component: | ecryptfs | Assignee: | fs_ecryptfs |
Status: | CLOSED CODE_FIX | ||
Severity: | blocking | CC: | code, florian, huajun.li.lee, maraeo, rockorequin |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.0.0+ | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
config file
another config file |
Description
David Hill
2011-07-28 17:27:23 UTC
Hi David - Can you attach your kernel config? Created attachment 67492 [details]
config file
Here's the config I'm using. I get the same error.
Created attachment 67662 [details]
another config file
Reverting 8973c46c7183b46388da0849e09aff80b667d824 fixes this. This is still a problem in the 3.1-rc1 release. I get 'bad object' error if I try to revert or get the log for 8973c46c7183b46388da0849e09aff80b667d824. I cloned a fresh copy just in case it was something corrupted in my git repo. I met the issue too, it may be caused by dependency issue. Please try following patch, it works for me: --- fs/ecryptfs/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ecryptfs/Kconfig b/fs/ecryptfs/Kconfig index 1cd6d9d..585c30d 100644 --- a/fs/ecryptfs/Kconfig +++ b/fs/ecryptfs/Kconfig @@ -1,6 +1,6 @@ config ECRYPT_FS tristate "eCrypt filesystem layer support (EXPERIMENTAL)" - depends on EXPERIMENTAL && KEYS && CRYPTO + depends on EXPERIMENTAL && KEYS && ENCRYPTED_KEYS && CRYPTO select CRYPTO_ECB select CRYPTO_CBC select CRYPTO_MD5 -- 1.7.4.1 I plan on upstreaming this fix (and others) tomorrow: https://lkml.org/lkml/2011/8/1/124 The compile error is only seen when eCryptfs is built in and encrypted key support is built as a module. A patch referencing this bug report has been merged in Linux v3.1-rc2: commit 4b6fee17b1758391281ddf5b00328035573f8be1 Author: Roberto Sassu <roberto.sassu@polito.it> Date: Mon Aug 1 13:33:38 2011 +0200 eCryptfs: fix compile error |