diff options
author | mat <mat@FreeBSD.org> | 2006-06-26 19:26:05 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2006-06-26 19:26:05 +0800 |
commit | ea090b231ba6318a739b1adc5c5acb548ff2b8a4 (patch) | |
tree | b255ad0ff6531205c1f211f5586b572cad78b7ec /sysutils | |
parent | 3e4abed488a33531feee01479eba078b05394571 (diff) | |
download | freebsd-ports-gnome-ea090b231ba6318a739b1adc5c5acb548ff2b8a4.tar.gz freebsd-ports-gnome-ea090b231ba6318a739b1adc5c5acb548ff2b8a4.tar.zst freebsd-ports-gnome-ea090b231ba6318a739b1adc5c5acb548ff2b8a4.zip |
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
PR: 99486
Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/bacula-server/Makefile | 2 | ||||
-rw-r--r-- | sysutils/bacula-server/files/patch-src-dird-scheduler.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile index 2041fe15b023..6c6fea5c80dc 100644 --- a/sysutils/bacula-server/Makefile +++ b/sysutils/bacula-server/Makefile @@ -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 --git a/sysutils/bacula-server/files/patch-src-dird-scheduler.c b/sysutils/bacula-server/files/patch-src-dird-scheduler.c new file mode 100644 index 000000000000..0f9c78c4ef28 --- /dev/null +++ b/sysutils/bacula-server/files/patch-src-dird-scheduler.c @@ -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(); |