commit 68fab610aabb0e907dcdfaaf25c7452b25708c4b
Author: Jacek Konieczny <[email protected]>
Date:   Tue Jan 24 09:43:01 2017 +0100

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zabbix.git/commitdiff/68fab610aabb0e907dcdfaaf25c7452b25708c4b

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to