Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26654

NGINX based installation uses apache user

XMLWordPrintable

    • Support backlog

      Steps to reproduce:

      1. Follow, for example: https://www.zabbix.com/download?zabbix=7.4&os_distribution=oracle_linux&os_version=9&components=server_frontend_agent&db=pgsql&ws=nginx
      2. ...

      Result:

      [root@uek]# dnf list installed|grep -iE "apache|nginx|httpd"
      httpd-filesystem.noarch                    2.4.62-4.0.1.el9                               @ol9_appstream     
      nginx.aarch64                              1:1.24.0-4.0.1.module+el9.5.0+90543+4953bb61.1 @ol9_appstream     
      nginx-core.aarch64                         1:1.24.0-4.0.1.module+el9.5.0+90543+4953bb61.1 @ol9_appstream     
      nginx-filesystem.noarch                    1:1.24.0-4.0.1.module+el9.5.0+90543+4953bb61.1 @ol9_appstream     
      oracle-logos-httpd.noarch                  90.4-1.0.1.el9                                 @ol9_baseos_latest 
      zabbix-nginx-conf.noarch                   7.4.0-release1.el9                             @zabbix            
      
      [root@uek]# id apache
      uid=48(apache) gid=48(apache) groups=48(apache)
      
      [root@uek]# id nginx
      uid=995(nginx) gid=991(nginx) groups=991(nginx)
      
      [root@uek]# ls -la /etc/zabbix/web/zabbix.conf.php
      -rw-------. 1 apache apache 1969 Jul  4 11:04 /etc/zabbix/web/zabbix.conf.php
      
      [root@uek]# cat /etc/php-fpm.d/zabbix.conf 
      [zabbix]
      user = apache
      group = apache
      
      listen = /run/php-fpm/zabbix.sock
      listen.acl_users = apache,nginx
      listen.allowed_clients = 127.0.0.1
      

      Expected:
      It's not expected to use apache as a user for NGINX based installation with no Apache installed by logic and security reasons.

            dpavlovs Dmitrijs Pavlovs
            edgar.akhmetshin Edgar Akhmetshin
            Team I
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: