-
Notifications
You must be signed in to change notification settings - Fork 373
guest OCI hooks are not working with Kata #2763
Comments
cc @bergwolf |
The following call is failing - https://github.com/kata-containers/agent/blob/master/grpc.go#L679 One option is to write the config.json to a rw path - eg |
To clarify, AFAICT this is specifically about hooks set with the |
Updated title to make that point clearer. |
I think the fix has been merged. |
OCI hooks fails to run since the code was writing the config.json to the read-only path. This patch fixes it Fixes: kata-containers#2763 Signed-off-by: Pradipta Kr. Banerjee <[email protected]>
Description of problem
OCI hooks are not working with Kata. Created a rootfs with hook scripts and enabled
guest_hook_path = "/usr/share/oci/hooks"
in the configuration.toml.Running the container results in the following error:
The problem got introduced since the following commit a3dec26
Expected result
Container should start and hooks should run
Actual result
Container fails to start.
The text was updated successfully, but these errors were encountered: