ports/99486: [MAINTAINER-UPDATE] sysutils/bacula-server patch to fix clock adjust problem

Dan Langille dan at langille.org
Mon Jun 26 11:00:47 UTC 2006


>Number:         99486
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] sysutils/bacula-server patch to fix clock adjust problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 26 11:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dan Langille
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
The FreeBSD Diary
>Environment:
System: FreeBSD xeon.unixathome.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Mar 3 08:16:24 EST 2004 dan at polo.unixathome.org:/usr/obj/usr/src/sys/XEON i386


	
>Description:
	

The patch will prevent the Director for crashing or hanging (depending on
your OS) whenever you do a "reload" command or whenever there is a sudden
clock shift, which occurs much more often than one would imagine.

See http://article.gmane.org/gmane.comp.sysutils.backup.bacula.announce/85
>How-To-Repeat:
	
>Fix:

	



--- bacula.patch begins here ---
diff -ruN /usr/ports/sysutils/bacula-server/Makefile bacula-server/Makefile
--- /usr/ports/sysutils/bacula-server/Makefile	Thu Jun 15 05:22:43 2006
+++ bacula-server/Makefile	Mon Jun 26 06:57:58 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	bacula
 DISTVERSION=	1.38.10
-#PORTREVISION=	1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	bacula
diff -ruN /usr/ports/sysutils/bacula-server/files/patch-src-dird-scheduler.c bacula-server/files/patch-src-dird-scheduler.c
--- /usr/ports/sysutils/bacula-server/files/patch-src-dird-scheduler.c	Wed Dec 31 19:00:00 1969
+++ bacula-server/files/patch-src-dird-scheduler.c	Mon Jun 26 06:42:19 2006
@@ -0,0 +1,10 @@
+--- src/dird/scheduler.c	4 Jun 2006 12:24:39 -0000	1.33.2.2
++++ src/dird/scheduler.c	24 Jun 2006 17:25:58 -0000
+@@ -151,6 +151,7 @@
+               free(next_job);
+           }
+           schedules_invalidated = false;
++          unlock_jobs();
+           goto again;
+       }
+       unlock_jobs();
--- bacula.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list