zabbix: fix agentd default user and minor issues
authorDaniel F. Dickinson <redacted>
Wed, 21 Jan 2026 10:52:13 +0000 (05:52 -0500)
committerMichael Heimpold <redacted>
Fri, 23 Jan 2026 20:13:51 +0000 (21:13 +0100)
commita2685bfad20c64ff3fa731c4cb6ffb007e88ebee
treeffc5a4a19a9c7025eefe9fcc3bbba6cb5bd4a490
parent88a5c2cc284d700bab4399aff40f6141e481b12c
zabbix: fix agentd default user and minor issues

The last PR (https://github.com/openwrt/packages/pull/28370) missed
including two needed changes, and had a minor packaging Makefile
mistake.

The Zabbix Agent needs to drop privileges to the zabbix-agent user.
Similarly, if run as root (not the default), the Zabbix server needs to
drop privileges to the zabbix-server user.

There are also, in the Makefile, three instances of using BUILD_VARIANT
instead of VARIANT in package definitions.

So we fix those issues.

Signed-off-by: Daniel F. Dickinson <redacted>
admin/zabbix/Makefile
admin/zabbix/patches/010-change-agentd-config.patch
admin/zabbix/patches/020-change-server-config.patch
git clone https://git.99rst.org/PROJECT