ExportXMLWordPrintable

    • Sprint candidates
    • 1

      Steps to reproduce:

      1. Install Rocky Linux 10.1+
      2. Install MariaDB 12.3.3 from mariadb.com/download (repo setup path)
      3. Follow official guideline to install Zabbix 8.0
      4. Database connection error
      5. Check audit.log

      Result:

       sgid=48 fsgid=48 tty=(none) ses=4294967295 comm="php-fpm" exe="/usr/sbin/php-fpm" subj=system_u:system_r:httpd_t:s0 key=(null)ARCH=aarch64 SYSCALL=connect AUID="unset" UID="apache" GID="apache" EUID="apache" SUID="apache" FSUID="apache" EGID="apache" SGID="apache" FSGID="apache"
      type=AVC msg=audit(1793775998.446:608): avc:  denied  { connectto } for  pid=16346 comm="php-fpm" path="/var/lib/mysql/mysql.sock" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0
      type=SYSCALL msg=audit(1793775998.446:608): arch=c00000b7 syscall=203 success=no exit=-13 a0=6 a1=ffffcfe5e628 a2=1b a3=1 items=0 ppid=16334 pid=16346 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm="php-fpm" exe="/usr/sbin/php-fpm" subj=system_u:system_r:httpd_t:s0 key=(null)ARCH=aarch64 SYSCALL=connect AUID="unset" UID="apache" GID="apache" EUID="apache" SUID="apache" FSUID="apache" EGID="apache" SGID="apache" FSGID="apache"
      type=AVC msg=audit(1793776008.737:611): avc:  denied  { connectto } for  pid=16347 comm="php-fpm" path="/var/lib/mysql/mysql.sock" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0
      type=SYSCALL msg=audit(1793776008.737:611): arch=c00000b7 syscall=203 success=no exit=-13 a0=6 a1=ffffcfe5e628 a2=1b a3=1 items=0 ppid=16334 pid=16347 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm="php-fpm" exe="/usr/sbin/php-fpm" subj=system_u:system_r:httpd_t:s0 key=(null)ARCH=aarch64 SYSCALL=connect AUID="unset" UID="apache" GID="apache" EUID="apache" SUID="apache" FSUID="apache" EGID="apache" SGID="apache" FSGID="apache"
      type=AVC msg=audit(1793776015.677:613): avc:  denied  { connectto } for  pid=16348 comm="php-fpm" path="/var/lib/mysql/mysql.sock" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0
      type=SYSCALL msg=audit(1793776015.677:613): arch=c00000b7 syscall=203 success=no exit=-13 a0=6 a1=ffffcfe5e628 a2=1b a3=1 items=0 ppid=16334 pid=16348 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm="php-fpm" exe="/usr/sbin/php-fpm" subj=system_u:system_r:httpd_t:s0 key=(null)ARCH=aarch64 SYSCALL=connect AUID="unset" UID="apache" GID="apache" EUID="apache" SUID="apache" FSUID="apache" EGID="apache" SGID="apache" FSGID="apache"
      type=AVC msg=audit(1793776019.017:615): avc:  denied  { connectto } for  pid=16345 comm="php-fpm" path="/var/lib/mysql/mysql.sock" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:unconfined_service_t:s0 tclass=unix_stream_socket permissive=0
      type=SYSCALL msg=audit(1793776019.017:615): arch=c00000b7 syscall=203 success=no exit=-13 a0=6 a1=ffffcfe5e628 a2=1b a3=1 items=0 ppid=16334 pid=16345 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm="php-fpm" exe="/usr/sbin/php-fpm" subj=system_u:system_r:httpd_t:s0 key=(null)ARCH=aarch64 SYSCALL=connect AUID="unset" UID="apache" GID="apache" EUID="apache" SUID="apache" FSUID="apache" EGID="apache" SGID="apache" FSGID="apache"
      

      Expected:
      No SELinux issues for all packages for default setup from manual on recent OS version.

            Assignee:
            Edgars Melveris
            Reporter:
            Edgar Akhmetshin
            Team I
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: