Skip to content

zabbix: agentd pid file created even when not configured #28165

@danielfdickinson

Description

@danielfdickinson

Package Name

zabbix

Maintainer

@danielfdickinson

OpenWrt Version

SNAPSHOT

Also affects OpenWrt-25.12

OpenWrt Target/Subtarget

bcm27xx/bcm2712

Steps to Reproduce

  1. Use default config from zabbix-agentd package
  2. OR own config with no PidFile= configuration set

Actual Behaviour

With Zabbix 7.0.12 running zabbix_agentd in foreground mode would not create a PID file. With Zabbix 7.0.21 the same configuration running in foreground mode creates /tmp/zabbix_agentd.pid.

From the Zabbix code, creation of a pid_file in all cases appears to have been the intent, and previous behaviour was a bug.

It means, however the that the agentd config patch description and comment in the zabbix_agentd.conf for the zabbix_agentd.conf are now incorrect.

So this is a note to myself (as the Zabbix maintainer) to rework the pid_file configuration and update the patch comment.

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions