Skip to content

Make CVMFS config file world-readable during setup - #984

Open
Flamefire wants to merge 1 commit into
EESSI:mainfrom
Flamefire:patch-1
Open

Flamefire wants to merge 1 commit into
EESSI:mainfrom
Flamefire:patch-1

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

The file is read by the cvmfs user/group but by default the file may only be owner-readable (i.e. root) This causes the file to be silently skipped when loading the CVMFS config

I spent ages until I stumbled upon this cause by chance.
Eventually I found that cvmfs_config showconfig software.eessi.io didn't include CVMFS_CLIENT_PROFILE=single which I noticed that /etc/cvmfs/domain.d/eessi.io.conf checks for that.

Related: cvmfs_config showconfig is seemingly supposed to print out info for all repositories but doesn't for EESSI (only one configured here.
cvmfs_config chksetup would catch the permission issue if the automatic repo listing worked
For that they must be in CVMFS_REPOSITORIES.
Mounting works only due to CVMFS_STRICT_MOUNT=no

Not sure here though, just what I observed

The file is read by the `cvmfs` user/group but by default the file may only be owner-readable (i.e. `root`)
This causes the file to be silently skipped when loading the CVMFS config

This branch has not been deployed

No deployments
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 this pull request may close these issues.

1 participant