-
Notifications
You must be signed in to change notification settings - Fork 48
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
Procedure for reinstalling software with the bot (and preventing chown
/chmod
issues in the container)
#312
Comments
I have seen it before, mostly in cases where we were updating the existing compatibility layer. That was often because the original installation was done with for instance a different user id. I don't think the latter is the case here, as we're doing all installation with the bot. Instead, I think this is due to the
Seems like I'm not allowed to change it in any way, even with a writable overlay. Comparing it to the older
|
Using Apptainer's
But it probably also defeats the purpose of using |
I'm not sure what the right move here is. I think the use of In #295, there is a discussion about what the workflow should be in that scenario. Perhaps the use of |
|
It's always possible to do this, but you have then changed the path, so the old location is still available
Not in the correct location. Trying to "move" an installation can very easily be problematic (because of |
Looking into this again now, since it's also an issue for #404 where we need to replace the OpenMPI installation. This looks similar to containers/fuse-overlayfs#377 and containers/fuse-overlayfs#374. I'm not sure how we can easily work around this, but the |
chown/chmod
some /cvmfs/...
paths. Most likely this is only while the bot is rebuilding something otherwise this error would have been seen while we build anything.chown
/chmod
issues in the container)
After discussing this a bit with @akesandgren on Slack, I now have another workaround/solution to hide an existing software installation from the container: you can make a character special file using
Looks like it has to be done before launching the container, though. Letting the bot's build script do that is still not that easy, though, as it would need to figure out which things to delete/hide before even entering the container, i.e. before calling EasyBuild. So the bot will have to provide this info to the build scripts in some way, which brings me to another point: how do we even want to specify that we need to rebuild something? We've done that before with ReFrame, and then we (temporarily) added While thinking about possible ways to do it and wondering if you could make an empty PR where you just tell the bot to |
I've tried to use a Debian 12 container with newer FUSE libraries and various versions of fuse-overlayfs. In all cases, I still got the |
I like this idea... One thing to keep in mind is that we should somehow try to retain the possibility to "replay" a series of installations for a new CPU target (like |
functionality for rebuilding software
Easybuild crashed because it could not
chown/chmod
some/cvmfs/...
paths. Most likely this is only while the bot is rebuilding something otherwise this error would have been seen while we build anything.easybuild-9ukb1c3n.log
Originally posted by @satishskamath in #311 (comment)
The text was updated successfully, but these errors were encountered: