[ZBX-23514] Error at 54/56 step installation from packages in AlmaLinux Created: 2023 Oct 07  Updated: 2025 Apr 22

Status: READY TO DEVELOP
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.13rc1, 7.2.7rc1, 7.4.0rc1 (master)

Type: Problem report Priority: Trivial
Reporter: anskIT Assignee: Jurijs Klopovskis
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

using Docker AlmaLinux latest image Linux c4a54170152b 6.4.16-linuxkit #1 SMP PREEMPT_DYNAMIC Wed Oct  4 07:40:04 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

with updated packages at 07.10.2023 with no additional changes, only following guide above


Team: Team I
Sprint: Product delivery backlog, Sprint 105 (Oct 2023)
Story Points: 1

 Description   

Steps to reproduce:

 

  • Follow documentation at 

https://www.zabbix.com/download?zabbix=6.4&os_distribution=alma_linux&os_version=9&components=server_frontend_agent&db=pgsql&ws=nginx

step

b. Install Zabbix server, frontend, agent

# dnf install zabbix-server-pgsql zabbix-web-pgsql zabbix-nginx-conf zabbix-sql-scripts zabbix-selinux-policy zabbix-agent

 

Result:

 

Running scriptlet: zabbix-server-pgsql-6.4.7-release1.el9.x86_64     53/56
  Installing       : zabbix-selinux-policy-6.4.7-release1.el9.x86_64   54/56
  Running scriptlet: zabbix-selinux-policy-6.4.7-release1.el9.x86_64   54/56
Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/zabbix_policy/cil:1
Failed to resolve AST
semodule:  Failed!

  Running scriptlet: zabbix-agent-6.4.7-release1.el9.x86_64            55/56

Expected:

no errors



 Comments   
Comment by anskIT [ 2023 Oct 08 ]

At the zabbix forums, i had an answer: Looks like issue with SELinux policy. You can try with remove selinux_policy and re-install it. Meanwhile also check the logs if it have.

Generated at Mon May 05 07:05:38 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.