An RPM target represents the group of RPMs that must exist on the server for a specific service to function properly.
The rpm.versions system uses the target setting to determine whether to install or uninstall that target's specific RPMs. The
target_settings section of the
/usr/local/cpanel/etc/rpm.versions file contains the cPanel-provided default status for each target.
For example, the cPanel-provided distribution of ClamAV consists of three RPMs:
/usr/local/cpanel/etc/rpm.versions file, the setting for the
clamav RPM target controls how the rpm.versions system manages all three of these components.
For more information about the
/usr/local/cpanel/etc/rpm.versions file, read our The rpm.versions File documentation.
The RPM targets on your server may be in any of the following states:
installed— The rpm.versions system ensures that the RPMs that are associated with that target are installed and functional.
uninstalled— The rpm.versions system ensures that the RPMs that are associated with that target are uninstalled.
unmanaged — The rpm.versions system ignores the RPMs that are associated with that target, regardless of whether they are installed on the server.
For more information, read our How to Set or Unset RPM Management documentation.
The RPMs that cPanel provided prior to the implementation of the rpm.versions system are now called "legacy" RPMs. The settings in the
/var/cpanel/cpanel.config file control these legacy RPMs. The system stores these settings in the
As with all RPMs, the files in the
The following table lists the settings in the
/var/cpanel/cpanel.config file that control the actions of legacy RPMs:
|cpanel.config setting||RPM target|
For more information, read our The cpanel.config File documentation.