rpms/logrotate/F-11 logrotate-3.7.8-devnull.patch, NONE, 1.1 logrotate.spec, 1.79, 1.80

Daniel Novotny dnovotny at fedoraproject.org
Tue Dec 1 10:14:31 UTC 2009


Author: dnovotny

Update of /cvs/extras/rpms/logrotate/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18103

Modified Files:
	logrotate.spec 
Added Files:
	logrotate-3.7.8-devnull.patch 
Log Message:
- fix #542538 -  logrotate seems to hang every few days.


logrotate-3.7.8-devnull.patch:
 logrotate.cron |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE logrotate-3.7.8-devnull.patch ---
diff -up logrotate-3.7.8/examples/logrotate.cron.devnull logrotate-3.7.8/examples/logrotate.cron
--- logrotate-3.7.8/examples/logrotate.cron.devnull	2009-09-17 11:29:19.000000000 +0200
+++ logrotate-3.7.8/examples/logrotate.cron	2009-09-17 11:29:40.000000000 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-/usr/sbin/logrotate /etc/logrotate.conf
+/usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1
 EXITVALUE=$?
 if [ $EXITVALUE != 0 ]; then
     /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"


Index: logrotate.spec
===================================================================
RCS file: /cvs/extras/rpms/logrotate/F-11/logrotate.spec,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -p -r1.79 -r1.80
--- logrotate.spec	25 Feb 2009 20:53:35 -0000	1.79
+++ logrotate.spec	1 Dec 2009 10:14:31 -0000	1.80
@@ -1,12 +1,13 @@
 Summary: Rotates, compresses, removes and mails system log files
 Name: logrotate
 Version: 3.7.8
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPL+
 Group: System Environment/Base
 Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz
 Patch1: logrotate-3.7.7-curdir2.patch
 Patch2: logrotate-3.7.7-toolarge.patch
+Patch3: logrotate-3.7.8-devnull.patch
 
 Requires: coreutils >= 5.92 libsepol libselinux popt
 BuildRequires: libselinux-devel popt-devel
@@ -27,6 +28,7 @@ log files on your system.
 %setup -q
 %patch1 -p1 -b .curdir
 %patch2 -p1 -b .toolarge
+%patch3 -p1 -b .devnull
 
 %build
 make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" WITH_SELINUX=yes
@@ -56,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/logrotate.status
 
 %changelog
+* Tue Dec 01 2009 Daniel Novotny <dnovotny at redhat.com> 3.7.8-3
+- fix #542538 -  logrotate seems to hang every few days.
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.7.8-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list