Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create mount namespace: mount namespace requires privileges, check Singularity installation : exit status 1 #6496

Closed
xdgene opened this issue Apr 23, 2023 · 1 comment

Comments

@xdgene
Copy link

xdgene commented Apr 23, 2023

Singularity can not use with run/exec/shell,HERE ‘s my condition,some advice? thanks!

###run conmand

singularity run --fakeroot lolcow_latest.sif

ERROR

INFO: Converting SIF file to temporary sandbox...
FATAL: while extracting lolcow_latest.sif: root filesystem extraction failed: extract command failed: ERROR : Failed to create mount namespace: mount namespace requires privileges, check Singularity installation
: exit status 1

Version of Singularity:

singularity-3.8.7

What OS/distro are you running

$ cat /etc/os-release

NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"



### How did you install Singularity

wget https://github.com/apptainer/singularity/releases/download/v3.8.7/singularity-3.8.7.tar.gz
tar -zxvf singularity-3.8.7.tar.gz && cd singularity-3.8.7
./mconfig --without-suid --prefix=$HOME/singularity && \
    make -C ./builddir && \
    make -C ./builddir install


@github-actions
Copy link

New issues are no longer accepted in this repository. If singularity --version says singularity-ce, submit instead to https://github.com/sylabs/singularity, otherwise submit to https://github.com/apptainer/apptainer.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant