Skip to content

[DO-NOT-MERGE] Debug bind mount environment info - #140

Closed
KrzysztofMolon wants to merge 2 commits into
mainfrom
debug-bind-mount-info
Closed

[DO-NOT-MERGE] Debug bind mount environment info#140
KrzysztofMolon wants to merge 2 commits into
mainfrom
debug-bind-mount-info

Conversation

@KrzysztofMolon

Copy link
Copy Markdown
Contributor

DO NOT MERGE — diagnostic only

Diagnostic test to understand why the mountinfo-based bind mount test
(from #139) fails in barney CI where /dev/shm is not mounted by default.

Dumps:

  • /proc/self/mountinfo and /proc/mounts on host and inside bst
  • /dev/shm stat, findmnt, ls -la
  • Namespace links and capabilities
  • Baseline bst (no extra mounts) vs bst with --mount /dev/shm,/mnt,none,bind

The test is intentionally expected to fail — we want the output diff.

Context: #139, #137, #138

@KrzysztofMolon
KrzysztofMolon force-pushed the debug-bind-mount-info branch from 76b483e to ff4eb98 Compare July 16, 2026 08:22
Diagnostic test to dump host and bst mount state when bind-mounting
/dev/shm onto /mnt. This is to investigate why the mountinfo-based
bind mount test fails in some CI environments (barney) where /dev/shm
may not be a separate tmpfs mount.

Dumps: /proc/self/mountinfo, /proc/mounts, /dev/shm stat, findmnt,
namespace links, and capabilities — both on host and inside bst.
@KrzysztofMolon
KrzysztofMolon force-pushed the debug-bind-mount-info branch from ff4eb98 to 5894850 Compare July 16, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant