Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2006 07:00:21 -0400 (EDT)
From:      Dan Langille <dan@langille.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Dan Langille <dan@langille.org>
Subject:   ports/99486: [MAINTAINER-UPDATE] sysutils/bacula-server patch to fix clock adjust problem
Message-ID:  <20060626110021.34CA83E87@xeon.unixathome.org>
Resent-Message-ID: <200606261100.k5QB0X7j041299@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060626110021.34CA83E87>