diff --git a/logrotate-3.9.1-statusfile.patch b/logrotate-3.9.1-statusfile.patch index 03701ea..1610173 100644 --- a/logrotate-3.9.1-statusfile.patch +++ b/logrotate-3.9.1-statusfile.patch @@ -6,7 +6,7 @@ index c6d50d4..967932e 100644 #!/bin/sh -/usr/sbin/logrotate /etc/logrotate.conf -+/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status -l syslog /etc/logrotate.conf ++/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf EXITVALUE=$? if [ $EXITVALUE != 0 ]; then /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]" diff --git a/logrotate.spec b/logrotate.spec index ed3ca49..801bd05 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -1,7 +1,7 @@ Summary: Rotates, compresses, removes and mails system log files Name: logrotate Version: 3.9.2 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL+ Group: System Environment/Base Url: https://fedorahosted.org/logrotate/ @@ -87,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/rwtab.d/logrotate %changelog +* Wed Jul 20 2016 Kamil Dudka - 3.9.2-5 +- do not log to syslog by default (#1304828) + * Thu Jul 14 2016 Kamil Dudka - 3.9.2-4 - make the /var/lib/logrotate directory owned by logrotate