| Summary: | net-mgmt/zabbix4-server: Unable to stop service since 4.0.11 update | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Christian Ullrich <chris> |
| Component: | Individual Port(s) | Assignee: | Danilo G. Baio <dbaio> |
| Status: | Closed FIXED | ||
| Severity: | Affects Many People | CC: | dbaio, pg |
| Priority: | --- | Keywords: | needs-patch, needs-qa |
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(pg) |
| Hardware: | Any | ||
| OS: | Any | ||
| URL: | https://support.zabbix.com/browse/ZBX-16460 | ||
| See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240193 | ||
| Bug Depends on: | 240194 | ||
| Bug Blocks: | |||
|
Description
Christian Ullrich
2019-08-09 17:01:19 UTC
Hi. Unfortunately I can confirm this issue with Zabbix 4.2.5 and 4.0.11. Thank you for the report here and with Zabbix, your information is very clear and helpful. I added a "steps to reproduce" on the bug you have opened. Is common to execute the daemon as root and then set-uid to other unprivileged user, like nginx/php-fpm, but there are others daemons that don't do that, like mysql server and in this case, we can deal with that through daemon(8). But first, let's see their thoughts there. Regards. A commit references this bug: Author: dbaio Date: Fri Aug 30 11:56:06 UTC 2019 New revision: 510263 URL: https://svnweb.freebsd.org/changeset/ports/510263 Log: net-mgmt/zabbix4-*: Update to 4.0.12 Include upstream patch to fix daemon termination. https://support.zabbix.com/browse/ZBX-16460 [1] Changelog: https://www.zabbix.com/rn/rn4.0.12 PR: 239746 [1] PR: 240194 Reported by: Christian Ullrich <chris@chrullrich.net> [1] Approved by: Pakhom Golynga <pg@pakhom.spb.ru> (maintainer) Changes: head/net-mgmt/zabbix4-server/Makefile head/net-mgmt/zabbix4-server/distinfo head/net-mgmt/zabbix4-server/files/patch-ZBX-16460-fixed-Zabbix-daemon-termination-on-.patch head/net-mgmt/zabbix4-server/files/pkg-message.in head/net-mgmt/zabbix4-server/pkg-plist.frontend A commit references this bug: Author: dbaio Date: Fri Aug 30 11:58:11 UTC 2019 New revision: 510264 URL: https://svnweb.freebsd.org/changeset/ports/510264 Log: net-mgmt/zabbix42-*: Update to 4.2.6 Include upstream patch to fix daemon termination. https://support.zabbix.com/browse/ZBX-16460 [1] Changelog: https://www.zabbix.com/rn/rn4.2.6 PR: 239746 [1] PR: 240193 Reported by: Christian Ullrich <chris@chrullrich.net> [1] Approved by: Pakhom Golynga <pg@pakhom.spb.ru> (maintainer) Changes: head/net-mgmt/zabbix42-server/Makefile head/net-mgmt/zabbix42-server/distinfo head/net-mgmt/zabbix42-server/files/patch-ZBX-16460-fixed-Zabbix-daemon-termination-on-.patch head/net-mgmt/zabbix42-server/files/pkg-message.in head/net-mgmt/zabbix42-server/pkg-plist.frontend Thank you Christian. About the user variable in the rc script as you suggested, we can talk about that on a new PR, we will need to change all rc scripts from all Zabbix versions. Regards. |