rpms/bacula/devel bacula-2.4.3-orphaned-jobs.patch, NONE, 1.1 bacula.spec, 1.14, 1.15

Jon Ciesla limb at fedoraproject.org
Tue Nov 18 13:13:49 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/bacula/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31556

Modified Files:
	bacula.spec 
Added Files:
	bacula-2.4.3-orphaned-jobs.patch 
Log Message:
Upstream patch.


bacula-2.4.3-orphaned-jobs.patch:

--- NEW FILE bacula-2.4.3-orphaned-jobs.patch ---

 This patch fixes a case of orphaned jobs (and possible deadlock)
 during pruning.
 Apply it to Bacula 2.4.3 (possibly earlier versions) with:

 cd <bacula-source>
 patch -p0 <2.4.3-orphaned-jobs.patch
 ./configure <your-options>
 make
 ...
 make install

Index: src/dird/ua_prune.c
===================================================================
--- src/dird/ua_prune.c	(revision 7949)
+++ src/dird/ua_prune.c	(working copy)
@@ -468,6 +468,7 @@
             break;
          }
       }
+      endeach_jcr(jcr);
       if (skip) {
          continue;
       }


Index: bacula.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bacula/devel/bacula.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- bacula.spec	17 Nov 2008 18:07:33 -0000	1.14
+++ bacula.spec	18 Nov 2008 13:13:19 -0000	1.15
@@ -9,7 +9,7 @@
 Summary: Cross platform network backup for Linux, Unix, Mac and Windows
 Name: bacula
 Version: 2.4.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 # See LICENSE for details
 License: GPLv2 with exceptions
 Group: System Environment/Daemons
@@ -37,6 +37,7 @@
 #Patch8: 2.0.3-verify.patch
 #Patch9: 2.0.3-tls-disconnect.patch
 #Patch10: bacula-web-smarty.patch
+Patch11: bacula-2.4.3-orphaned-jobs.patch
 URL: http://www.bacula.org
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: openssl-devel, atk-devel, ncurses-devel, pango-devel, perl
@@ -342,6 +343,7 @@
 #%patch7 -p0
 #%patch8 -p0
 #%patch9 -p0
+%patch11 -p0
 
 # Remove execution permissions from files we're packaging as docs later on
 find examples -type f | xargs chmod -x
@@ -960,6 +962,9 @@
 
 
 %changelog
+* Mon Nov 17 2008 Jon Ciesla <limb at jcomserv.net> - 2.4.3-3
+- Added upstream orphaned jobs patch.
+
 * Mon Nov 10 2008 Jon Ciesla <limb at jcomserv.net> - 2.4.3-2
 - Added bat.  BZ 470800.
 




More information about the fedora-extras-commits mailing list