Newer versions, at least zabbix 6.0.3, create a zabbix_agent2.conf that has as very last entry # Include configuration files for plugins Include=./zabbix_agent2.d/plugins.d/*.conf However, the ebuild does not create the /etc/zabbix/zabbix_agent2.d/plugins.d directory, so starting the agent fails with zabbix_agent2[3118024]: zabbix_agent2 [3118024]: ERROR: Cannot read configuration: cannot include "/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf": stat /etc/zabbix/zabbix_agent2.d/plugins.d: no such file or directory systemd[1]: zabbix-agent2.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: zabbix-agent2.service: Failed with result 'exit-code' I supposed adding keepdir /etc/zabbix/zabbix_agent2.d/plugins.d would fix htis.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20b77d3d2a13fd435e3f4b6e0fb8babb576940b3 commit 20b77d3d2a13fd435e3f4b6e0fb8babb576940b3 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2022-07-08 06:50:13 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-07-08 06:58:55 +0000 net-analyzer/zabbix: add keepdir /etc/zabbix/zabbix_agent2.d/plugins.d Closes: https://bugs.gentoo.org/856859 Signed-off-by: Florian Schmaus <flow@gentoo.org> net-analyzer/zabbix/{zabbix-6.0.5.ebuild => zabbix-6.0.5-r1.ebuild} | 1 + net-analyzer/zabbix/{zabbix-6.0.6.ebuild => zabbix-6.0.6-r1.ebuild} | 1 + net-analyzer/zabbix/{zabbix-6.2.0.ebuild => zabbix-6.2.0-r1.ebuild} | 1 + 3 files changed, 3 insertions(+)