-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 7.0.24
-
Component/s: Proxy (P)
-
None
-
Environment:OS: Ubuntu 24.04 LTS
MySQL: 8.0.45-0ubuntu0.24.04.1
Zabbix Proxy: 7.x
Systemd: 255.4-1ubuntu8.x
Deployment: Multiple production Zabbix proxy servers exhibiting this behavior
We are ** running a very large Zabbix 7.0.x environment, with more than 50 proxy servers. We have had to halt automated patching on the servers because when patching is completed a systemd deadlock happens between zabbix-proxy.service and mysql.service. On Ubuntu 24.04 LTS when needrestart restarts multiple services simultaneously after a package upgrade, zabbix-proxy and mysql enter a circular wait condition from which neither can recover without manual intervention. This leaves both Zabbix proxy and MySQL stopped on production servers after routine patching cycles, requiring someone to manually fix the issue.
Steps to reproduce:
- Install Zabbix proxy and MySQL on a fresh Ubuntu 24.04 LTS server following the standard Zabbix installation documentation
- Ensure needrestart is installed (it is installed by default on Ubuntu 24.04)
- Run apt-get upgrade to apply available package updates
- Observe the service restart phase where needrestart restarts all affected services simultaneously, this will hang
- CTRL+C to break process, run systemctl list-jobs, and MySQL will be waiting while Zabbix proxy is running
Result:
This is from a regular patch session on our Zabbix lab env. The Zabbix proxy version has changed from 7.0.24 to 7.0.25.



Expected:
Both mysql.service and zabbix-proxy.service restart successfully and return to running state after the package upgrade completes.