-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel: Add CONFIG_TMPFS_XATTR to tdx.conf #10790
base: main
Are you sure you want to change the base?
kernel: Add CONFIG_TMPFS_XATTR to tdx.conf #10790
Conversation
I will need support in defining the proper place for this setting as I've just naively set it for |
|
@@ -10,3 +10,4 @@ CONFIG_VIRT_DRIVERS=y | |||
CONFIG_X86_5LEVEL=y | |||
CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS=y | |||
CONFIG_X86_PLATFORM_DEVICES=y | |||
CONFIG_TMPFS_XATTR=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JakubLedworowski, please, create a new file under https://github.com/kata-containers/kata-containers/tree/main/tools/packaging/kernel/configs/fragments/common/confidential_containers and add this there.
During pull inside the guest, overlayfs expects xattrs. Fixes: [guest-components#876](confidential-containers/guest-components#876) Signed-off-by: Jakub Ledworowski <[email protected]>
252bc4f
to
203785f
Compare
@@ -293,6 +293,9 @@ get_kernel_frag_path() { | |||
info "Enabling config for '${conf_guest}' confidential guest protection" | |||
local conf_configs="$(ls ${arch_path}/${conf_guest}/*.conf)" | |||
all_configs="${all_configs} ${conf_configs}" | |||
|
|||
local tmpfs_configs="$(ls ${common_path}/confidential_containers/tmpfs.conf)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identation is off here.
@@ -0,0 +1 @@ | |||
CONFIG_TMPFS_XATTR=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No EOL here,
During pull inside the guest, overlayfs expects xattrs.
Fixes: guest-components#876
Kudos for @mythi and @Xynnn007 for suggesting the fix.