Skip to content

nvproxy: don't pass privileged driver caps to nvidia-container-cli#13380

Merged
copybara-service[bot] merged 2 commits into
masterfrom
test/cl927404806
Jun 9, 2026
Merged

nvproxy: don't pass privileged driver caps to nvidia-container-cli#13380
copybara-service[bot] merged 2 commits into
masterfrom
test/cl927404806

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jun 5, 2026

Copy link
Copy Markdown

nvproxy: don't pass privileged driver caps to nvidia-container-cli

Setting NVIDIA_DRIVER_CAPABILITIES=all with any of the gvisor "privileged" driver capabilities, for example
--nvproxy-allowed-driver-capabilities=all,profiling crashed runsc on startup (exit status 2):

NVIDIAFlags() panicked on CapProfiling, which has no nvidia-container-cli flag

This changes how those flags are parsed by changing NVIDIAFlags() so that "privileged" capabilities (CapProfiling, CapFabricIMEXManagement) are skipped when parsing instead of panicking. I'm also adding a regression test.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#13377 from luiscape:luis/nvidia-driver-capability-bug 9d6be7c

@copybara-service copybara-service Bot added the exported Issue was exported automatically label Jun 5, 2026
Setting NVIDIA_DRIVER_CAPABILITIES=all with
--nvproxy-allowed-driver-capabilities=all,profiling crashed runsc on
startup (exit status 2): NVIDIAFlags() panicked on CapProfiling, which
has no nvidia-container-cli flag.

Privileged caps (CapProfiling, CapFabricIMEXManagement) are enforced
internally by nvproxy, so NVIDIAFlags() now skips them instead of
panicking. Adds a regression test.
@copybara-service copybara-service Bot force-pushed the test/cl927404806 branch 2 times, most recently from 6312394 to 7d7e7cf Compare June 9, 2026 17:27
@copybara-service copybara-service Bot merged commit acab33b into master Jun 9, 2026
0 of 2 checks passed
@copybara-service copybara-service Bot deleted the test/cl927404806 branch June 9, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants