-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Milestone
Description
The chmod createContainer
hook was added as a workaround to a specific crun
issue for device nodes that are found in subdirectories of /dev
. Since this has since been addressed in crun
, we should disable this hook by default to reduce the number of supported hooks.
This means that by default the:
- runtime will not add the
chmod
hook to the incomming OCI runtime spec. - CDI spec generation will not generate a
chmod
hook in the CDI spec.
We should:
- Provide a
feature
flag that allows users to opt-in to hook injection. - Provide a mechanism of enabling this hook in the
nvcdi
API - Provide a command line option to the
nvidia-ctk cdi generate
command that enables the hook.
Metadata
Metadata
Assignees
Labels
No labels