Skip to content

Commit

Permalink
feat(extensions): 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]>
  • Loading branch information
jfroy committed Sep 18, 2024
1 parent f37efac commit 5415a6a
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 5415a6a

Please sign in to comment.