Skip to content

MacOS quickstart instructions. #248

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

Open
andresailer opened this issue Feb 25, 2025 · 2 comments · May be fixed by #249
Open

MacOS quickstart instructions. #248

andresailer opened this issue Feb 25, 2025 · 2 comments · May be fixed by #249

Comments

@andresailer
Copy link

andresailer commented Feb 25, 2025

The MacOS quickstart:

1.) references creating directories

sudo mkdir -p /cvmfs/cvmfs-config.cern.ch
sudo mount -t cvmfs cvmfs-config.cern.ch /cvmfs/cvmfs-config.cern.ch

In many cases on recent Mac operating this does not work (unless disabling SIP?).

mkdir /asdasd
mkdir: /asdasd: Read-only file system

But cvmfs_config would create the /etc/synthetic.conf entry

% cat /etc/synthetic.conf
# The line below was autogenerated by CernVM-FS, do not delete nor edit
cvmfs   /Users/Shared/cvmfs

However, the quickstart does not mention running cvmfs_config for macOS, so maybe some steps are missing? Or did I miss that somewhere?

2.) After creating /etc/synthetic.conf it tells one to reboot, but one can trigger that also with
/System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t
right?

PS:
3.) Is the /etc/cvmfs/default.conf needed on macOS, or is this only when using autofs?

@vvolkl vvolkl linked a pull request Feb 25, 2025 that will close this issue
@vvolkl
Copy link
Contributor

vvolkl commented Feb 25, 2025

Thanks for the issue report! 1) and 2) are adressed in the linked PR(s)

  1. /etc/cvmfs/default.conf are CVMFS client configuration parameters. Those apply regardless of how you mount cvmfs - autofs or manually. We usually require the user to set CVMFS_HTTP_PROXY (=DIRECT if it's a single machine) in /etc/cvmfs/default.local . That should apply also on macos, I'll double check and update the instructions if necessary

@andresailer
Copy link
Author

Thanks for the prompt action!

Sorry, I wrote the default.conf from memory.

Would be good to know if or what we need to set for macos.

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