eWaterCycle / eWaterCycle/setup-singularity

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

Offen
#7 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
18
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.