From 2e0c8b3c9cb0c18b5ea42adc0db7c581593079a8 Mon Sep 17 00:00:00 2001 From: "R. P. Taylor" <1686627+rptaylor@users.noreply.github.com> Date: Fri, 24 May 2024 12:09:54 -0700 Subject: [PATCH 1/2] Some clarifications for end users --- cpt-quickstart.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cpt-quickstart.rst b/cpt-quickstart.rst index 4465dc7..bdc40bc 100644 --- a/cpt-quickstart.rst +++ b/cpt-quickstart.rst @@ -140,10 +140,10 @@ Other Platforms Setting up the Software ----------------------- -Configure AutoFS -~~~~~~~~~~~~~~~~ +Configure AutoFS on Linux +~~~~~~~~~~~~~~~~~~~~~~~~~ -For the basic setup, run ``cvmfs_config setup``. +For the basic setup, run ``sudo cvmfs_config setup``. This ensures that the file ``/etc/auto.master.d/cvmfs.autofs`` exists containing ``/cvmfs /etc/auto.cvmfs`` and that the ``autofs`` service is running. Reload the ``autofs`` service in order to apply an updated configuration. NB: For OpenSUSE uncomment the line ``#+dir:/etc/auto.master.d/`` in the file ``/etc/auto.master`` and restart the ``autofs`` service. @@ -154,8 +154,8 @@ NB: For OpenSUSE uncomment the line ``#+dir:/etc/auto.master.d/`` in the file `` systemctl restart autofs -Mac OS X -~~~~~~~~ +Configure AutoFS on Mac OS X +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Due to the lack of ``autofs`` on macOS, mount the individual repositories manually like @@ -171,13 +171,13 @@ Create default.local ~~~~~~~~~~~~~~~~~~~~ Create ``/etc/cvmfs/default.local`` and open the file for editing. -Select the desired repositories by setting ``CVMFS_REPOSITORIES=repo1,repo2,...``. For ATLAS, for instance, set +For the purposes of convenience when running CVMFS commands, you may wish to optionally list repositories you are interested in by setting ``CVMFS_REPOSITORIES=repo1,repo2,...``. For ATLAS, for instance, set :: CVMFS_REPOSITORIES=atlas.cern.ch,atlas-condb.cern.ch,grid.cern.ch -For an individual workstation or laptop, set +For the simplest configuration for an individual workstation or laptop, it is sufficient to just set :: From 75579a8b101f2cc2f2a21100f2fd2e24b1e30899 Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Tue, 28 May 2024 16:08:34 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: HereThereBeDragons --- cpt-quickstart.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpt-quickstart.rst b/cpt-quickstart.rst index bdc40bc..ae9c3d0 100644 --- a/cpt-quickstart.rst +++ b/cpt-quickstart.rst @@ -143,7 +143,7 @@ Setting up the Software Configure AutoFS on Linux ~~~~~~~~~~~~~~~~~~~~~~~~~ -For the basic setup, run ``sudo cvmfs_config setup``. +For the basic setup, run ``sudo cvmfs_config setup`` (can be verified with ``sudo cvmfs_config chksetup``) This ensures that the file ``/etc/auto.master.d/cvmfs.autofs`` exists containing ``/cvmfs /etc/auto.cvmfs`` and that the ``autofs`` service is running. Reload the ``autofs`` service in order to apply an updated configuration. NB: For OpenSUSE uncomment the line ``#+dir:/etc/auto.master.d/`` in the file ``/etc/auto.master`` and restart the ``autofs`` service. @@ -171,7 +171,8 @@ Create default.local ~~~~~~~~~~~~~~~~~~~~ Create ``/etc/cvmfs/default.local`` and open the file for editing. -For the purposes of convenience when running CVMFS commands, you may wish to optionally list repositories you are interested in by setting ``CVMFS_REPOSITORIES=repo1,repo2,...``. For ATLAS, for instance, set +For the purposes of convenience when running CVMFS client utility commands (e.g. ``cvmfs_talk``, ``cvmfs_config``), you may wish to optionally list repositories you are interested in by setting ``CVMFS_REPOSITORIES=repo1,repo2,...``. This will then run those commands on all listed repositories. +For ATLAS, for instance, set ::