Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/DIRAC/Core/scripts/dirac_apptainer_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def main():

# Now let's construct the apptainer command
cmd = ["apptainer", "exec"]
cmd.extend(["--contain"]) # use minimal /dev and empty other directories (e.g. /tmp and $HOME)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this is breaking half of the security gaurentee we get from SingularityCE. If this isn't the case we at the very least need a clear explanation in the description of why it isn't.

I also don't think it even fixes the error in the description.

cmd.extend(["--ipc"]) # run container in a new IPC namespace
cmd.extend(["--pid"]) # run container in a new PID namespace
cmd.extend(["--bind", f"{os.getcwd()}"]) # bind current directory for dirac_container.sh
Expand Down
Loading