I created a singularity image on a Linux box where I have root and upon transferring it to my University's Linux cluster to run in a Singularity container I get this error message:
$ singularity exec ubuntu.img ls
ERROR : Failed invoking the NEWUSER namespace runtime: Invalid argument
ABORT : Retval = 255
On the cluster I'm using Singularity 2.3.1 and the Admin installed it as root. The cluster OS info is
$ uname --all
Linux [hostname] 3.10.0-514.26.2.el7.x86_64 #1 SMP Fri Jun 30 05:26:04 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
I saw this earlier post--
https://groups.google.com/a/lbl.gov/forum/#!searchin/singularity/NFS$20filesystem$20was$20mounted$20nosuid/singularity/EC4XKL7S-6k/Udyk5wvoAAAJHowever my Admin said that "the programs require the root SUID bit set, which means they run with root privilege (not good). This is not allowed on the NFS mounts because it's a security exposure."
I thought the whole point of Singularity is that it allows users to run containers without root and thus not create a security risk. Is there any workaround?
Thanks!