Show Table of Contents
3.3.4. Symbolic Links in syspaths Subpackages
Other than wrappers for binary files, there are more files that are suitable for installation outside of the
/opt, /etc/opt/, or /var/opt/ directories, and thus can be provided by syspaths subpackages. For example, you can make the path to database files (normally located under /var/opt/provider/%{scl}) easier to discover with a symbolic link located in /var/lib/. However, for some symbolic links, it is better not to install them in /var/lib/ under their original name as they may conflict with the name of the conventional RPM package from the base system installation.
A good idea is to name the symbolic link
/var/lib/software_collection_1-original_name or similar. For log files, a recommended name is /var/log/software_collection_1-original_name or similar. Keep in mind that the name itself is not important, the design goal here is make those files easy to find under the /var/lib/ or /var/log/ directories.
The same applies to configuration files, the goal is to make symbolic links easy to discover under the
/etc directory.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.