eWaterCycle / eWaterCycle/setup-singularity

Failed to create user namespace: user namespace requires to set /proc/sys/kernel/unprivileged_userns_clone to 1

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
18
Forks
2
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.