Skip to content

Commit

Permalink
feat: allow /sbin/ldconfig in extensions
Browse files Browse the repository at this point in the history
This is specifically for the glibc extension to support nvidia container
toolkit.

Signed-off-by: Jean-Francois Roy <[email protected]>
Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
jfroy authored and frezbo committed Sep 20, 2024
1 parent 9fa08e8 commit 6484581
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/machinery/extensions/extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ var AllowedPaths = []string{
"/etc/cri/conf.d",
"/lib/firmware",
"/lib/modules",
// The glibc loader is required by glibc dynamic binaries.
"/lib64/ld-linux-x86-64.so.2",
// /sbin/ldconfig is required by the nvidia container toolkit.
"/sbin/ldconfig",
"/usr/etc/udev/rules.d",
"/usr/local",
// glvnd, egl and vulkan are needed for OpenGL/Vulkan.
Expand Down

0 comments on commit 6484581

Please sign in to comment.