-
Notifications
You must be signed in to change notification settings - Fork 425
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
Reprozip wrapping singularity executions #1529
Comments
@gkiar I don't know exactly how reprozip works, if it capture content directly from memory process to create files/directory/symlinks, or if it records path and copy all files after/during execution. For the second case you will need to run tracer inside container, otherwise you won't be able to access container files because Singularity use namespaces. As far as I know Reprozip requires a tight integration with Singularity. I see two options :
|
Hi @cclerget, thanks so much for your response! I agree with your first option, and that's something we've considered. I've not thought about the second option, but will investigate to see if I can make something work. Before that, could you please clarify what you mean by "use directory as container image"? How would I configure such a directory/environment? Thanks again! |
@gkiar Singularity use two format for container, sandbox directory and single file image (squashfs, ext3). You can create a sandbox directory image like this :
Sandbox directories don't requires privileges to use them, that's why sandbox directory can work with user namespaces |
Great, that's a terrific tip @cclerget! Is there a way to easily convert between these two formats? I.e., can I |
@gkiar Yes, you can do that with build command like this: |
Fantastic, I'll give this a shot and let you know. Thank you, @cclerget !! |
Hi @cclerget - I have given your suggestion a try, and have run into an issue. Below is my command and log:
Thank you! |
Hey @gkiar, what is the distribution you use ? |
Version of singularity? Otherwise, I'm not exactly sure the distribution of what you're referring to. Thanks! |
I mean linux distribution like Ubuntu, CentOS ... and the version too |
Ah, sorry about that! |
Ok, the message |
Hi @cclerget - this is a shared machine which I don't have sudo access on, is there a way to get around setting the |
@gkiar No solution unfortunately, I think your option is to install reprozip in container |
Thank you @cclerget - this was a very helpful process. I consider this resolved from your perspective. :) Cheers! |
It would be fantastic (for me, anyways), if Reprzip could wrap Singularity executions. Discussed in VIDA-NYU/reprozip#294 is an issue in which singularity requires
suid
to be run, but process tracing does not enablesuid
as it is a security risk.Do you have a proposed solution, or potential modification that may enable this type of integration to work? Apologies if I've missed an issue addressing this directly. Thanks so much for your help!
cc: @remram44
The text was updated successfully, but these errors were encountered: