Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893496 - net-analyzer/zabbix: openrc init-script kills stopping zabbix-server without grace timeout
Summary: net-analyzer/zabbix: openrc init-script kills stopping zabbix-server without ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
Depends on:
Reported: 2023-02-07 11:31 UTC by Azamat H. Hackimov
Modified: 2023-05-01 10:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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.