[Bug 258076] net-mgmt/zabbix5-agent: Installation does not provide a complete setup

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Aug 2021 07:28:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258076

            Bug ID: 258076
           Summary: net-mgmt/zabbix5-agent: Installation does not provide
                    a complete setup
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: michael.osipov@siemens.com
                CC: pg@pakhom.spb.ru
                CC: pg@pakhom.spb.ru
             Flags: maintainer-feedback?(pg@pakhom.spb.ru)

After the agent installation I have noticed that some tasks still need to be
performed by the admin which could be done by the port directly:
* No zabbix_agentd.conf is derived from zabbix_agentd.conf.sample. One needs to
do this manually, pkg-plist can do this for us. On deinstall the system won't
tell that this file is stale.
* PidFile is set to /var/run/zabbix/zabbix_agentd.pid, but /var/run/zabbix/
does not exist. It should be created by pkg-plist and owned by zabbix:zabbix.
* LogFile should point to /var/log/zabbix/{filename} where /var/log/zabbix/
should be created by the port with appropriate ownership.

-- 
You are receiving this mail because:
You are the assignee for the bug.