Skip to content

Commit 371c0b4

Browse files
authored
Merge pull request #7167 from DIRACGridBot/cherry-pick-2-f9442427f-integration
[sweep:integration] Stop using PID namespaces with SingularityCE
2 parents 9484c77 + 5ba1a2c commit 371c0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/Resources/Computing/SingularityComputingElement.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def submitJob(self, executableFile, proxy=None, **kwargs):
398398
innerCmd = os.path.join(self.__innerdir, "dirac_container.sh")
399399
cmd = [self.__singularityBin, "exec"]
400400
cmd.extend(["--contain"]) # use minimal /dev and empty other directories (e.g. /tmp and $HOME)
401-
cmd.extend(["--ipc", "--pid"]) # run container in new IPC and PID namespaces
401+
cmd.extend(["--ipc"]) # run container in a new IPC namespace
402402
cmd.extend(["--workdir", baseDir]) # working directory to be used for /tmp, /var/tmp and $HOME
403403
cmd.extend(["--home", "/tmp"]) # Avoid using small tmpfs for default $HOME and use scratch /tmp instead
404404
if self.__hasUserNS():

0 commit comments

Comments
 (0)