Failed to create user namespace: user namespace requires to set /proc/sys/kernel/unprivileged_userns_clone to 1
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- github-actions, typescript
Research direction
Start with the setup-singularity action and compare the successful singularity run docker://alpine cat /etc/os-release invocation with the Snakemake container invocation. Investigate the reported /proc/sys/kernel/unprivileged_userns_clone setting and execution context; done means reproducing the failure and documenting or implementing a confirmed fix.
Written by the indexing model from the issue text.
Description
Hello! Thank for making this action! I am close to getting it working for my project, but am running into the following error message. The setup-singularity action step completes fine, but when subsequent steps attempt to run singularity containers I get the following error:
Activating singularity image /github/workspace/.singularity/be463e8ff7ab6a778774f91d2bfa1a1d.simg
INFO: Converting SIF file to temporary sandbox...
FATAL: while extracting /github/workspace/.singularity/be463e8ff7ab6a778774f91d2bfa1a1d.simg: root filesystem extraction failed: extract command failed: ERROR : Failed to create user namespace: user namespace requires to set /proc/sys/kernel/unprivileged_userns_clone to 1
Googling has been unproductive so far. I tried adding --fakeroot to the singularity command to no avail. I am trying to have the action run through a snakemake pipeline where each task is executed with a container, so I don't have the exact invovation unfortunately. The test invocation singularity run docker://alpine cat /etc/os-release runs fine without error.
Its a long shot, but have you come across something like this before?
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eWaterCycle/setup-singularity
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
eWaterCycle/setup-singularity#6 · 2 comments · 2 reactions ·
All issues in eWaterCycle/setup-singularity
Similar issues
-
keytrace logo svg?Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
cyclofinance/cyclo.site#448 ·
-
[sanity-plugin-media] Searching for a word with an apostrophe shows an error instead of resultsOpen@sanity-io/studio bug sanity-plugin-media Sieve-Agent
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
pingdotgg/t3code#15221 · 1 comment ·
Maintainers usually reply within 1 day