Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Nov 26, 2024

This change only allows host-relative LDConfig paths (i.e. the nvidia-container-cli.ldconfig setting starts with an @)

An allow-ldconfig-from-container feature flag is added to allow for this
the default behaviour to be changed.

This feature can be toggled by running:

sudo nvidia-ctk config --in-place --set features.allow-ldconfig-from-container=true

or by including allow-config-from-container in the NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES envvar.

This backports #690

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change removes indirect calls to get the default config
from the nvidia-container-runtime-hook.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This change only allows host-relative LDConfig paths.

An allow-ldconfig-from-container feature flag is added to allow for this
the default behaviour to be changed.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar self-assigned this Nov 26, 2024
@elezar elezar merged commit 4f09568 into NVIDIA:release-1.17 Nov 26, 2024
10 checks passed
@elezar elezar deleted the ignore-ldconfig-option branch November 26, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant