← Back to Pull requests

Use offical busybox docker image instead of busybox-static debian #300

Closed
unknown closed this pull request without merging on Oct 28, 2026 16:25 UTC
View on GitHub
unknown unknown commented on Oct 27, 2026 23:43 UTC
Author

The busybox-static binary from Debian is built with
CONFIG_FEATURE_PREFER_APPLETS=y. When a command name matches a built-in
applet, busybox re-execs itself via /proc/self/exe instead of searching
PATH.

As a result, chroot <hostRoot> modprobe <module> (KernelModules.Load
in internal/linuxutils) ran the busybox modprobe applet rather than the
host's modprobe. The applet does not implement softdeps, so
vfio_iommu_type1 (a softdep of vfio) was never loaded and KubeVirt VMs
with GPU passthrough failed to boot.

This commmit uses the busybox binary from the official statically
linked busybox:1.37.0-musl image instead of installing busybox-static
from Debian. Its build does not prefer applets, so chroot execs the
host's modprobe.

Fixes https://github.com/NVIDIA/k8s-driver-manager/issues/299

Testing

This PR adds a step in the Dockerfile that verifies the busybox binary included in the k8s-driver-manager image is built with CONFIG_FEATURE_PREFER_APPLETS=n.

Without the fix, the image build fails with the below error:

 => ERROR [shell 4/4] RUN /tmp/check-busybox-prefer-applets.sh /busybox/busybox                                                                                                                             0.2s
------
 > [shell 4/4] RUN /tmp/check-busybox-prefer-applets.sh /busybox/busybox:
0.099 FAIL: 'chroot' ran the busybox modprobe applet instead of the fake modprobe in PATH
0.099       expected output:    FAKE-MODPROBE
0.099       actual output:      modprobe: can't change directory to '/lib/modules': No such file or directory
0.099 /busybox/busybox is built with CONFIG_FEATURE_PREFER_APPLETS=y

---

<a href="https://nvidia-cloud.devinenterprise.com/review/nvidia/k8s-driver-manager/pull/300" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

Diff: 258 lines (+193 / -65) across 3 files Reviewer: cdesiniotis Review duration: 1001m
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 258 lines diff across 3 files
0.39
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
56%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.332
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #300"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 56.8% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 39.2% (MEDIUM) · Higher = larger blast radius
39.2%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 56.8% · Lower = rushed or shallow review
56.8%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 16.9% · Safe to merge
16.9%