]> git.sur5r.net Git - bacula/bacula/blob - bacula/patches/1.38.10-scheduler.patch
ebl add joberrors to job record
[bacula/bacula] / bacula / patches / 1.38.10-scheduler.patch
1
2  This patch should correct the FreeBSD mutex crash that happens in
3  the Director after a sudden clock shift or after the "reload" command.
4  Apply it to 1.38.10 (will not work with prior version) with:
5
6   cd <bacula-source>
7   patch -p0 <1.38.10-scheduler.patch
8   make
9   make install
10   ...
11
12
13
14 Index: src/dird/scheduler.c
15 ===================================================================
16 RCS file: /cvsroot/bacula/bacula/src/dird/scheduler.c,v
17 retrieving revision 1.33.2.2
18 diff -u -r1.33.2.2 scheduler.c
19 --- src/dird/scheduler.c        4 Jun 2006 12:24:39 -0000       1.33.2.2
20 +++ src/dird/scheduler.c        24 Jun 2006 17:25:58 -0000
21 @@ -151,6 +151,7 @@
22                free(next_job);
23            }
24            schedules_invalidated = false;
25 +          unlock_jobs();
26            goto again;
27        }
28        unlock_jobs();