Skip to content

Fix namespace wrapper mount ordering#106

Merged
powderluv merged 1 commit intomainfrom
users/powderluv/fix-namespace-wrapper
Apr 18, 2026
Merged

Fix namespace wrapper mount ordering#106
powderluv merged 1 commit intomainfrom
users/powderluv/fix-namespace-wrapper

Conversation

@powderluv
Copy link
Copy Markdown
Collaborator

The namespace wrapper script failed on GPU workers because:

  1. set -e caused exit on any mount failure
  2. Bind-mount /dev/dri to /host_dev failed inside the mount namespace

Fix: remove set -e, use cp -a to copy device nodes to /tmp/.host_dri staging area (always writable), then selectively copy allocated GPU devices back after replacing /dev/dri with tmpfs.

🤖 Generated with Claude Code

The mount namespace wrapper failed on GPU workers because:
1. set -e caused exit on any mount failure
2. Bind-mount /dev/dri to /host_dev failed in the mount namespace

Fix: remove set -e, copy device nodes instead of bind-mount, use
/tmp/.host_dri as staging area (always writable in mount namespace).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@powderluv powderluv force-pushed the users/powderluv/fix-namespace-wrapper branch from 8c639b6 to 9f20234 Compare April 18, 2026 22:09
@powderluv powderluv merged commit 253423c into main Apr 18, 2026
6 checks passed
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