commit 78b88488f267f0a21dbb253f25ba9c33c33a404f
Author: Elan Ruusamäe <[email protected]>
Date:   Mon May 30 11:54:52 2016 +0300

    logrotate: delay compress
    
    error: Compressing program wrote following message to stderr when 
compressing log /var/log/archive/snmpd.log-20160522:
    gzip: stdin: file size changed while zipping

 net-snmp.spec   | 2 +-
 snmpd.logrotate | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/net-snmp.spec b/net-snmp.spec
index b20ef33..9aada22 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -26,7 +26,7 @@ Summary(uk.UTF-8):    Набір утиліт для протоколу SNMP від
 Name:          net-snmp
 # NOTE: 5.7.x is LTS version
 Version:       5.7.3
-Release:       9
+Release:       10
 License:       BSD-like
 Group:         Networking/Daemons
 Source0:       
http://downloads.sourceforge.net/net-snmp/%{name}-%{version}.tar.gz
diff --git a/snmpd.logrotate b/snmpd.logrotate
index baef0eb..cd304fe 100644
--- a/snmpd.logrotate
+++ b/snmpd.logrotate
@@ -1,6 +1,7 @@
 /var/log/snmpd.log
 {
        create 640 root root
+       delaycompress
        postrotate
                . /etc/sysconfig/snmpd
                if [ "${LOG_WARNINGS_MESSAGES_TO_SYSLOG:-yes}" = "no" ]; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/net-snmp.git/commitdiff/78b88488f267f0a21dbb253f25ba9c33c33a404f

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

Reply via email to