[csw-devel] SF.net SVN: gar:[17667] csw/mgar/pkg/opencsw-manual/trunk/files/ for-administrators

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Apr 14 13:33:30 CEST 2012


Revision: 17667
          http://gar.svn.sourceforge.net/gar/?rev=17667&view=rev
Author:   wahwah
Date:     2012-04-14 11:33:29 +0000 (Sat, 14 Apr 2012)
Log Message:
-----------
manual: Move the /etc/opt/csw info

Moving it to a separate file so we don't confuse a stressed newcomer
with two configuration files.

Modified Paths:
--------------
    csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/configuring-services.rst
    csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst

Modified: csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/configuring-services.rst
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/configuring-services.rst	2012-04-14 11:33:07 UTC (rev 17666)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/configuring-services.rst	2012-04-14 11:33:29 UTC (rev 17667)
@@ -3,26 +3,41 @@
 ====================
 
 /etc/opt/csw vs. /opt/csw/etc
-=============================
+-----------------------------
 
 There are two locations where configuration files are stored. This may look
 confusing at first, the reason is that we try to support both sparse zones and
 full zones as good as possible.  Remember that in a sparse root environment
-`/opt` is shared from the global zone. As a rule of thumb configuration files
-which are specific to a zone are kept in `/etc/opt/csw` which is also generally
-preferred (these are in fact most of the configuration files), whereas
-`/opt/csw/etc` is used for configuration files which are globally set. Some
-packages honour both locations, where the global `/opt/csw/etc` is read first
-and can be customized by `/etc/opt/csw`, but this is specific to the package as
-not all upstream software allows this easily.
+``/opt`` is shared from the global zone. As a rule of thumb configuration files
+which are specific to a zone are kept in ``/etc/opt/csw`` which is also
+generally preferred (these are in fact most of the configuration files),
+whereas ``/opt/csw/etc`` is used for configuration files which are globally
+set. Some packages honour both locations, where the global ``/opt/csw/etc`` is
+read first and can be customized by ``/etc/opt/csw``, but this is specific to
+the package as not all upstream software allows this easily.
 
 There are some exceptions like Apache, where the configuration files are
-historically in `/opt/csw/apache2/etc`, but these are likely to go away some
+historically in ``/opt/csw/apache2/etc``, but these are likely to go away some
 time.
 
+pkgutil
++++++++
 
+``pkgutil`` can use **two** configuration files:
+
+- ``/etc/opt/csw/pkgutil.conf``
+- ``/opt/csw/etc/pkgutil.conf``
+
+This may seem confusing, the reason why there are two is that it is possible to
+run OpenCSW in a sparse root environment where ``/opt`` is not writable. In
+this scenario you use configurations in ``/opt/csw/etc`` for global settings
+and ``/etc/opt/csw`` for zone-specific setting. Both ``pkgutil.conf`` are
+identical on installation with all configuration options commented out, so you
+can just pick one for now. As a rule of thumb it is recommended to prefer the
+more prominent ``/etc/opt/csw``. 
+
 preserveconf
-============
+------------
 
 Configuration files are usually shipped as template with a `.CSW` suffix which
 is copied during installation to the native name without the suffix. This file

Modified: csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst
===================================================================
--- csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst	2012-04-14 11:33:07 UTC (rev 17666)
+++ csw/mgar/pkg/opencsw-manual/trunk/files/for-administrators/getting-started.rst	2012-04-14 11:33:29 UTC (rev 17667)
@@ -52,20 +52,9 @@
 
   http://www.opencsw.org/get-it/mirrors/
 
-It is important to note that ``pkgutil`` can use **two** configuration files:
+Please uncomment the line with ``mirror`` so it looks similar to this with the
+URL replaced by the mirror you picked::
 
-- ``/etc/opt/csw/pkgutil.conf``
-- ``/opt/csw/etc/pkgutil.conf``
-
-This may seem confusing, the reason why there are two is that it is possible to
-run OpenCSW in a `sparse root environment`_ where ``/opt`` is not writable. In
-this scenario you use configurations in ``/opt/csw/etc`` for global settings
-and ``/etc/opt/csw`` for zone-specific setting. Both ``pkgutil.conf`` are
-identical on installation with all configuration options commented out, so you
-can just pick one for now. As a rule of thumb it is recommended to prefer the
-more prominent ``/etc/opt/csw``. Please uncomment the line with ``mirror`` so
-it looks similar to this with the URL replaced by the mirror you picked::
-
   mirror=http://mirror.opencsw.org/opencsw/unstable
 
 You can verify the setting with ``pkgutil -V``::

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list