Use offical busybox docker image instead of busybox-static debian #300
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
cdesiniotis
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.Loadin 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-managerimage is built withCONFIG_FEATURE_PREFER_APPLETS=n.Without the fix, the image build fails with the below error:
---
<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 -->