Hello community, here is the log from the commit of package net-snmp checked in at Wed Apr 19 17:29:58 CEST 2006. -------- --- net-snmp/net-snmp.changes 2006-04-03 17:52:20.000000000 +0200 +++ STABLE/net-snmp/net-snmp.changes 2006-04-19 14:33:35.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Apr 19 14:33:10 CEST 2006 - mrueckert@suse.de + +- logrotate does not like if the postrotate script returns with + a non zero returncode. +- add missing "-e" in echo line + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ net-snmp.spec ++++++ --- /var/tmp/diff_new_pack.rPsbvI/_old 2006-04-19 17:29:07.000000000 +0200 +++ /var/tmp/diff_new_pack.rPsbvI/_new 2006-04-19 17:29:07.000000000 +0200 @@ -14,7 +14,7 @@ BuildRequires: openssl-devel rpm-devel tcpd-devel License: Other License(s), see package Version: 5.3.0.1 -Release: 13 +Release: 16 Summary: SNMP Daemon Group: Productivity/Networking/Other URL: http://sourceforge.net/projects/net-snmp @@ -310,6 +310,10 @@ %{_bindir}/mib2c-update %changelog -n net-snmp +* Wed Apr 19 2006 - mrueckert@suse.de +- logrotate does not like if the postrotate script returns with + a non zero returncode. +- add missing "-e" in echo line * Mon Apr 03 2006 - mrueckert@suse.de - dont call "/etc/init.d/snmpd restart". this could start the daemon unconditionally (too large log file). ++++++ net-snmp.logrotate ++++++ --- net-snmp/net-snmp.logrotate 2006-04-03 17:51:19.000000000 +0200 +++ STABLE/net-snmp/net-snmp.logrotate 2006-04-19 14:33:07.000000000 +0200 @@ -9,7 +9,7 @@ create 600 root root sharedscripts postrotate - /etc/init.d/snmpd try-restart + /etc/init.d/snmpd try-restart ||: endscript } ++++++ rc.net-snmp ++++++ --- net-snmp/rc.net-snmp 2006-04-03 15:11:19.000000000 +0200 +++ STABLE/net-snmp/rc.net-snmp 2006-04-19 14:32:53.000000000 +0200 @@ -83,7 +83,7 @@ SNMPD_SIZE_LOGFILE="$(stat -c "%s" $SNMPD_LOGFILE)" SNMPD_SIZE_MAX="1073741824" if [ $SNMPD_SIZE_LOGFILE -gt $SNMPD_SIZE_MAX ] ; then - echo "\n\"$SNMPD_LOGFILE\" was to large. Running 'logrotate' for net-snmp." >&2 + echo -e "\n\"$SNMPD_LOGFILE\" was to large. Running 'logrotate' for net-snmp." >&2 /usr/sbin/logrotate /etc/logrotate.d/net-snmp fi # if [ $SNMPD_SIZE_LOGFILE -gt $SNMPD_SIZE_MAX ] ; then fi # if [ -e "$SNMPD_LOGFILE" ] ; then ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...