Skip to content
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

bind mount cvmfs directories with singcvmfs ? #101

Open
fwyzard opened this issue Nov 10, 2024 · 1 comment · May be fixed by #103
Open

bind mount cvmfs directories with singcvmfs ? #101

fwyzard opened this issue Nov 10, 2024 · 1 comment · May be fixed by #103

Comments

@fwyzard
Copy link
Contributor

fwyzard commented Nov 10, 2024

Hi @DrDaveD,
I'm trying to set up singcvmfs on LUMI to make it as usable as possible.
Basic CVMFS operations work: I can list CMSSW releases from CVMFS, create a working area, run local workflows, etc.

Now I'm trying to get grid/voms proxies to work :-)

When CVMFS is available, the container images used by CMS bind-mount the grid certificates and voms configuration from /cvmfs/grid.cern.ch:

singularity exec --bind ...,/cvmfs,/cvmfs/grid.cern.ch/etc/grid-security/vomses:/etc/vomses,/cvmfs/grid.cern.ch/etc/grid-security:/etc/grid-security ...

Attempting a similar approach with singcvmfs reasonably fails:

singcvmfs exec --bind ...,/cvmfs/grid.cern.ch/etc/grid-security/vomses:/etc/vomses,/cvmfs/grid.cern.ch/etc/grid-security:/etc/grid-security ...
FATAL:   container creation failed: mount /cvmfs/grid.cern.ch/etc/grid-security/vomses->/etc/vomses error: while mounting /cvmfs/grid.cern.ch/etc/grid-security/vomses: mount source /cvmfs/grid.cern.ch/etc/grid-security/vomses doesn't exist

Trying to bind-mount once the container is running also fails:

mount --bind /cvmfs/grid.cern.ch/etc/grid-security/vomses /etc/vomses
mount: only root can use "--bind" option

So, is there a way to achieve the same effect with singcvmfs ?

@DrDaveD
Copy link
Collaborator

DrDaveD commented Nov 10, 2024

cvmfsexec can't currently do it but I'm planning on making a similar tool called bindexec that allows exactly that and is based on the cvmfsexec implementation. You're the third person to express a desire for that functionality. See also #100 (comment).

@DrDaveD DrDaveD linked a pull request Nov 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants