Skip to content

fix: replace apptainer --fakeroot call with sudo to fix privilege issue - #10

Merged
m-jahn merged 2 commits into
mainfrom
dev
Nov 23, 2026
Merged

m-jahn merged 2 commits into
mainfrom
dev

Conversation

@m-jahn

@m-jahn m-jahn commented Nov 20, 2026

Copy link
Copy Markdown
Member

Copilot AI lite review requested due to automatic review settings November 20, 2026 15:41
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Super-linter summary

Language Validation result
YAML_PRETTIER Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A workflow-file issue remains: the change conflicts with the PR’s stated --fakeroot intent and can fail unclearly if apptainer isn’t on PATH due to the unchecked $(command -v apptainer) substitution.

1 open issue
What changed in this PR

Updates the Apptainer deployment workflow to address the mount-namespace privilege failure reported in issue #9 by changing how the container image build is executed in GitHub Actions.

Changes:

  • Replace the rootless apptainer build --fakeroot invocation with a sudo-executed apptainer build.
  • Remove the uidmap installation step that was previously required for --fakeroot.
File Description
.github/​workflows/​deploy-apptainer.yml Adjusts the Apptainer build step in the deploy workflow to run under sudo to work around privilege/mount-namespace errors.

Review effort: Lite
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

Comment thread .github/workflows/deploy-apptainer.yml Resolved
@m-jahn m-jahn changed the title fix: attempt to circumvent privilege issues with --fakeroot fix: replace apptainer --fakeroot call with sudo to fix privilege issue Nov 22, 2026
@m-jahn
m-jahn merged commit 5136337 into main Nov 23, 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.

Deploy Apptainer action fails with mount permission error

2 participants