[ZBXNEXT-4897] Add relocate option to zabbix rpms during installation Created: 2018 Dec 04 Updated: 2019 Mar 26 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Installation (I) |
Affects Version/s: | 3.0.23 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Adrian LIN | Assignee: | dimir |
Resolution: | Unresolved | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | zabbix.spec |
Description |
By default, zabbix rpms are only allowed to be installed at default path. It follows the basic Linux file system standard. But for certain customers, the zabbix assets are preferred to be installed in customized directory. So we add Prefix option in zabbix.spec file and some steps in post & postun phases to enable the relocate option during the rpm installation. The spec file modification is based on 3.0.19 version. And hope this could be added as a default config since no harm to logic. |
Comments |
Comment by Adrian LIN [ 2018 Dec 06 ] |
Hi, Since I can only find it at repo: https://repo.zabbix.com/zabbix/3.0/rhel/7/SRPMS/ as a rpm. Any way I can find an official link to the source code of this? |
Comment by dimir [ 2018 Dec 06 ] |
svn://svn.zabbix.com |
Comment by Gergely Csatari [ 2019 Jan 10 ] |
Can you please tell us in which Zabbix release will this change be available? |
Comment by dimir [ 2019 Mar 25 ] |
From the Fedora docs:
Thus I'm not sure we should do it. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_relocatable_packages |
Comment by Adrian LIN [ 2019 Mar 26 ] |
The real reason for this is that some users only grant permission of a single directory to zabbix. They prefer all content from zabbix are placed at the same place, not spreading out as the default configuration. They will use the rpm installation instead of yum. So it would be appreciated to keep the option, though may not be used commonly. |