Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 893496

Summary: net-analyzer/zabbix: openrc init-script kills stopping zabbix-server without grace timeout
Product: Gentoo Linux Reporter: Azamat H. Hackimov <azamat.hackimov>
Component: Current packagesAssignee: Miroslav Ć ulc <fordfrog>
Status: UNCONFIRMED ---    
Severity: normal CC: flow, gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Azamat H. Hackimov 2023-02-07 11:31:20 UTC
When I issue /etc/init.d/zabbix-server stop, start-stop-daemon kills remaining processes while they makes some operations on exit (synchronizing data into DB, flush caches etc). In result openrc marks process as crashed instead correctly stopped. If there HA cluster configuration, ssd kills all processes except "zabbix-server ha manager" process, which prevents correctly start zabbix-server on restarting.

There need to introduce --retry option for start-stop-daemon on stop() action for correctly stopping service.