From b259a262bec7da3bfc569d1d7f3df77fabc322b3 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 20 Jul 2016 14:34:01 +0200 Subject: [PATCH] Resolves: #1304828 - do not log to syslog by default This partially reverts commit 9cb55142. --- logrotate-3.9.1-statusfile.patch | 2 +- logrotate.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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