[ZBX-17389] (RHEL|CentOS|OEL) 7 confusing dependencies Created: 2020 Feb 29 Updated: 2024 Apr 10 Resolved: 2021 Jun 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Installation (I) |
Affects Version/s: | 4.4.6, 5.0.0alpha2 |
Fix Version/s: | 6.0 (plan) |
Type: | Problem report | Priority: | Major |
Reporter: | Edgar Akhmetshin | Assignee: | Jurijs Klopovskis |
Resolution: | Fixed | Votes: | 2 |
Labels: | Apache, NGINX, PHP-FPM, SCL, packages, packaging, php | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||
Team: | |||||
Sprint: | Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021) | ||||
Story Points: | 1 |
Description |
Steps to reproduce:
Since RHEL users able to use PHP7 from SCL and NGINGX and NGINX Unit files provided officially this is incorrect behaviour of a package dependencies. Please review and provide frontend files without any dependencies for apache/nginx/php. |
Comments |
Comment by Aleksandrs Petrovs-Gavrilovs [ 2020 May 14 ] |
The same goes for zabbix-apache-conf: Installing: zabbix-apache-conf noarch 5.0.0-1.el8 zabbix Installing dependencies: apr apr-util centos-logos-httpd gd httpd httpd-filesystem httpd-tools jbigkit-libs libX11 libX11-common libXau libXpm libjpeg-turbo libtiff libwebp libxcb mod_http2 nginx-filesystem Why does the nginx-filesystem is still being included? Best Regards,
|
Comment by Jurijs Klopovskis [ 2021 Jun 02 ] |
Fixed as of 5.0.12
Package zabbix-web package has no more dependencies on php or web server. [root@centos7 ~]# rpm -qR zabbix-web /bin/sh /bin/sh /usr/sbin/update-alternatives /usr/sbin/update-alternatives config(zabbix-web) = 5.0.12-1.el7 dejavu-sans-fonts rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 [root@centos7 ~]#
Zabbix web server conf packages do pull php dependencies via zabbix-web-deps (php72) or zabbix-web-deps-scl-php73 package. [root@centos7 ~]# rpm -qR zabbix-apache-conf-scl config(zabbix-apache-conf-scl) = 5.0.12-1.el7 httpd rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 zabbix-web-deps-scl = 5.0.12-1.el7 rpmlib(PayloadIsXz) <= 5.2-1 [root@centos7 ~]# rpm -qR zabbix-nginx-conf-scl config(zabbix-nginx-conf-scl) = 5.0.12-1.el7 rh-nginx116-nginx rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 zabbix-web-deps-scl = 5.0.12-1.el7 rpmlib(PayloadIsXz) <= 5.2-1 [root@centos7 ~]# rpm -ql zabbix-apache-conf-scl /etc/httpd/conf.d/zabbix.conf [root@centos7 ~]# rpm -qR zabbix-web-deps-scl /bin/sh config(zabbix-web-deps-scl) = 5.0.12-1.el7 rh-php72 rh-php72-php-bcmath rh-php72-php-fpm rh-php72-php-gd rh-php72-php-ldap rh-php72-php-mbstring rh-php72-php-xml rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 zabbix-web-database-scl = 5.0.12-1.el7 rpmlib(PayloadIsXz) <= 5.2-1 There is no dependency on php 5.4 in zabbix 5.0 and zabbix 4.4 is dead. At any rate it is pretty easy to extract web-server configuration from our packages manually or create your own. |