From 68fab610aabb0e907dcdfaaf25c7452b25708c4b Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Tue, 24 Jan 2017 09:43:01 +0100 Subject: [PATCH] Add 'zabbix' user to the 'proc' group Otherwise zabbix_agentd will lie about number of running processes. Release: 2 --- zabbix.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zabbix.spec b/zabbix.spec index a45cd2b..9117d9c 100644 --- a/zabbix.spec +++ b/zabbix.spec @@ -15,7 +15,7 @@ Summary: Zabbix - network monitoring software Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci Name: zabbix Version: 3.2.3 -Release: 1 +Release: 2 License: GPL v2+ Group: Networking/Utilities Source0: http://downloads.sourceforge.net/zabbix/%{name}-%{version}.tar.gz @@ -443,6 +443,7 @@ rm -rf $RPM_BUILD_ROOT %pre common %groupadd -g 111 zabbix %useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix +%addusertogroup -q zabbix proc %postun common if [ "$1" = "0" ]; then -- 2.44.0