From: Sebastien Buisson Date: Fri, 3 Jun 2022 10:05:49 +0000 (+0200) Subject: LUDOC-507 sec: clarify doc for enable_filename_encryption X-Git-Url: https://git.whamcloud.com/doc/manual.git/shortlog?p=doc%2Fmanual.git;a=commitdiff_plain;h=4a5492b90ae0e75e928967ff0f08ec3a11284e43 LUDOC-507 sec: clarify doc for enable_filename_encryption Clarify that enable_filename_encryption tuning parameter is only available when Lustre client is built against embedded llcrypt. Signed-off-by: Sebastien Buisson Change-Id: I9100a512e774b2560f01e40fde75d434b1ecf646 Reviewed-on: https://review.whamcloud.com/47521 Tested-by: jenkins Reviewed-by: Andreas Dilger --- diff --git a/ManagingSecurity.xml b/ManagingSecurity.xml index 789b434..89bb2b6 100644 --- a/ManagingSecurity.xml +++ b/ManagingSecurity.xml @@ -721,8 +721,9 @@ mgs# lctl set_param -P nodemap.restricted.sepol=1:mls:31:40afb76d077c441b69af58c content encryption mode will be taken into account, and filename encryption mode will be ignored to leave filenames in clear text. - Ability to encrypt file and directory names - is governed by new llite parameter named + When Lustre client is built against the + embedded kernel library instead of the in-kernel fscrypt, the ability to + encrypt file and directory names is governed by new llite parameter named enable_filename_encryption, introduced in 2.15, and set to 0 by default. When this parameter is 0, new empty directories configured as encrypted @@ -735,7 +736,11 @@ mgs# lctl set_param -P nodemap.restricted.sepol=1:mls:31:40afb76d077c441b69af58c To set the enable_filename_encryption parameter globally for all clients, one can do on the MGS: mgs# lctl set_param -P llite.*.enable_filename_encryption=1 - Note however that new files and directories under a parent encrypted + Be aware that the enable_filename_encryption tuning + parameter is not available when Lustre client is built against in-kernel + fscrypt. Indeed, the in-kernel fscrypt library always encrypts file name + along with file content. + Also note that new files and directories under a parent encrypted directory created with Lustre 2.14 will not have their names encrypted. Also, because files created with Lustre 2.14 did not have their names encrypted, they will remain so after upgrade to 2.15. To benefit from