Skip to content

Commit

Permalink
sweep: DIRACGrid#7166 Stop using PID namespaces with SingularityCE
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr authored and web-flow committed Aug 10, 2023
1 parent 9484c77 commit 5ba1a2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def submitJob(self, executableFile, proxy=None, **kwargs):
innerCmd = os.path.join(self.__innerdir, "dirac_container.sh")
cmd = [self.__singularityBin, "exec"]
cmd.extend(["--contain"]) # use minimal /dev and empty other directories (e.g. /tmp and $HOME)
cmd.extend(["--ipc", "--pid"]) # run container in new IPC and PID namespaces
cmd.extend(["--ipc"]) # run container in a new IPC namespace
cmd.extend(["--workdir", baseDir]) # working directory to be used for /tmp, /var/tmp and $HOME
cmd.extend(["--home", "/tmp"]) # Avoid using small tmpfs for default $HOME and use scratch /tmp instead
if self.__hasUserNS():
Expand Down

0 comments on commit 5ba1a2c

Please sign in to comment.