Skip to content

fix: preserve Git initialization after Substrate privilege drop - #56

Merged
b10x-bot[bot] merged 2 commits into
mainfrom
fix/substrate-nonroot-home
Sep 6, 2026
Merged

fix: preserve Git initialization after Substrate privilege drop#56
b10x-bot[bot] merged 2 commits into
mainfrom
fix/substrate-nonroot-home

Conversation

@b10x-bot

@b10x-bot b10x-bot Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

The execution bootstrap starts as root before dropping to UID65532. Container runtimes inject HOME=/root, so libgit2 refuses new workspace initialization when the daemon later tries to stat /root/.gitconfig. Existing workspace reads and empty-workspace terminal checks do not exercise that path.

Set HOME=/nonexistent for execution-enabled Substrate pods, excluding the inaccessible root home without adding a writable home or authority. Both ordinary and quota execution renders assert the setting. Chart0.8.32 is the only publication output; application/runtime images are unchanged.

Validation: the native libgit2 probe reproduces the precise root-home error and passes with the absent home. Chart lint, version consistency and the complete rollout check pass, including8 real volume initializer executions. Hosted acceptance identified the failure and will be repeated after the chart-only release. AEP validation reports valid with existing advisories.

@b10x-bot
b10x-bot Bot merged commit 7b81696 into main Sep 6, 2026
2 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.

0 participants