chroot: fix device nodes in overlay base image
Metadata
Current evaluation
Merged PR #295 in commit 8e600540, switching overlay chroot /dev mounts to recursive binds so device nodes appear correctly in containers.
Resolution: closed resolved
Reason: PR #295 was merged into the main branch as commit 8e600540, replacing the regular bind mount with an rbind so nested container device nodes are preserved.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Device nodes won't appear correctly in a regular bind mount inside a container, so use rbind instead.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
CRAFT-1416
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #295 in commit 8e600540, switching overlay chroot /dev mounts to recursive binds so device nodes appear correctly in containers. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #295 in commit 8e600540, switching overlay chroot bind mounts to rbind so device nodes appear correctly inside containers. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in PR #295 as commit 8e600540, replacing regular bind mounts with recursive bind mounts so device nodes appear correctly in chroot overlay base images. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Replaced standard bind mounts with rbind to fix device nodes failing to appear in containers. Approved by a reviewer and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix resolving device nodes not appearing in container bind mounts by switching to rbind mounts. Addresses CRAFT-1416. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #400 chroot: mark /dev mount as private | craft-parts | merged | Merged PR #400 as commit 21bbb6dd, making chroot /dev bind mounts recursively private to prevent shared-mount unmount propagation. |