From: Dai Xiang Subject: Re: How to enable CONFIG_EXT4_ENCRYPTION Date: Tue, 8 Aug 2017 14:03:20 +0800 Message-ID: <20170808060320.sh4pe4abekxhkonh@linux> References: <20170807032502.2tiyjybtqrn6odab@linux> <20170807095126.hyhrrnr4vrj3ne4k@linux> <20170807134942.u3ep5ivfq4ublueb@thunk.org> <20170807193138.GA46084@gmail.com> <20170808012738.6rlknzovmyhjn4rg@linux> <20170808055013.GA593@zzz.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Theodore Ts'o , linux-ext4@vger.kernel.org To: Eric Biggers Return-path: Received: from mga14.intel.com ([192.55.52.115]:49292 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750776AbdHHGEW (ORCPT ); Tue, 8 Aug 2017 02:04:22 -0400 Content-Disposition: inline In-Reply-To: <20170808055013.GA593@zzz.localdomain> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Mon, Aug 07, 2017 at 10:50:13PM -0700, Eric Biggers wrote: > On Tue, Aug 08, 2017 at 09:27:38AM +0800, Dai Xiang wrote: > > > > > > Actually, this is one of the tests in the "encrypt" group, which format the > > > scratch device with "-O encrypt". So I believe the printed message is correct. > > > Are you 100% sure that CONFIG_EXT4_ENCRYPTION is enabled in your kernel config > > > and that you are running the correct kernel? > > > > I use v4.13-rc3 kernerl, and i find this info refer to https://wiki.archlinux.org/index.php/ext4#Using_file-based_encryption: > > > > Ext4 forbids encrypting the root (/) directory and will produce an error on kernel 4.13 and later > > > > Does it impact? > > > > No, the tests do not try to encrypt the root directory. Can you please double > check that the kernel you're testing actually has CONFIG_EXT4_ENCRYPTION > enabled? oh, I see, i miss them, but i have a new question: I have set CONFIG_FS_ENCRYPTION and CONFIG_EXT4_ENCRYPTION both y, but after build the config do not include them, and what make me confused is that there is no failure log about them. Did i miss some dependence kconfigs or conflict kconfigs? > > Eric