Skip to content

Commit

Permalink
Revise instructions surrounding CVMFSEXEC_REPOS
Browse files Browse the repository at this point in the history
Since ospool-ep.cfg looks like shell syntax, someone might assume this
is correct:

	CVMFSEXEC_REPOS="x y"

However, ospool-ep.cfg actually gets passed to the container utility
using --env-file. Thus this is correct:

	CVMFSEXEC_REPOS=x y

Be more clear about this.

Signed-off-by: W. Michael Petullo <[email protected]>
  • Loading branch information
flyn-org committed Feb 13, 2025
1 parent 63bccaa commit 6e7dec7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/resource-sharing/os-backfill-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,12 @@ but the container will need fewer privileges.
[cvmfsexec](https://github.com/CVMFS/cvmfsexec#readme) is a tool that can be used to mount CVMFS inside the container
without requiring CVMFS on the host.
To enable cvmfsexec, specify a space-separated list of repos in the `CVMFSEXEC_REPOS` environment variable.
At a minimum, we recommend enabling the following repos:

- `oasis.opensciencegrid.org`
- `singularity.opensciencegrid.org`
Adding the following line to `/etc/osg/ospool-ep.cfg` will enable the repos we recommend:
```
CVMFSEXEC_REPOS=oasis.opensciencegrid.org singularity.opensciencegrid.org
```
Note the absence of quotes around the definition. The startup scripts pass `/etc/osg/ospool-ep.cfg
into the container utility, and thus its defintions are not subject to shell syntax.

Additionally, you may set the following environment variables to further control the behavior of cvmfsexec:

Expand Down

0 comments on commit 6e7dec7

Please sign in to comment.