Changesets: bareos

bareos-14.2 9c24dba9

2015-09-15 19:01

mvwieringen

Ported: N/A

Details Diff
Fix pattern matching crash on windows.

When we use the fallback bregex code we cannot use a nmatch == 0 and
pmatch == NULL as we can with regular regexec on UNIX nowadays.

One day we might want to teach this fall back code how things work in
reality in the real world now but for now we work around it.

From the current manpage on Solaris on regexec:

If nmatch is zero or REG_NOSUB was set in the cflags argument
to regcomp(), then regexec() will ignore the pmatch argument.
Otherwise, the pmatch argument must point to an array with at
least nmatch elements, and regexec() will fill in the elements
of that array with offsets of the substrings of string that
correspond to the parenthesised subexpressions of pattern.
mod - src/dird/ua_acl.c Diff File

bareos-15.2 f05dcbb3

2015-09-15 15:12

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Enable libjansson on windows
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/win32/compat/include/mingwconfig.h Diff File
mod - src/win32/console/Makefile Diff File
mod - src/win32/dird/Makefile Diff File
mod - src/win32/filed/Makefile Diff File
mod - src/win32/lib/Makefile Diff File
mod - src/win32/qt-console/bat.pro Diff File
mod - src/win32/qt-tray-monitor/tray-monitor.pro Diff File
mod - src/win32/stored/Makefile Diff File

bareos-15.2 058f81ad

2015-09-15 13:22

pstorz

Ported: N/A

Details Diff
Fix insert of logtext into db

We now use the right length of the string to call db_escape_string
mod - src/dird/dird.c Diff File

bareos-14.2 43f4a256

2015-09-15 13:22

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix insert of logtext into db

We now use the right length of the string to call db_escape_string
mod - src/dird/dird.c Diff File

bareos-13.2 575a9bd4

2015-09-15 13:22

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix insert of logtext into db

We now use the right length of the string to call db_escape_string
mod - src/dird/dird.c Diff File

bareos-12.4 5591e43b

2015-09-15 13:22

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix insert of logtext into db

We now use the right length of the string to call db_escape_string
mod - src/dird/dird.c Diff File

bareos-15.2 f3e9c9d4

2015-09-14 23:54

mvwieringen

Ported: N/A

Details Diff
Rename silent flag to interactive.

- Lets call the silent flag of the cancel_storage_daemon_job() function
interactive which covers the actual meaning a bit better e.g. are we
doing an interactive cancel or not.
- When we are doing a non-interactive cancel we shouldn't kill the
thread as we are on the cancel path our self. There are some safeguards
in place that catch the thread id not being the same as pthread_self()
so we shouldn't be able to commit suicide but as we know we are in the
cancel path there is no need for all the trickery. For an interactive
cancel e.g. one invoked by the user an external thread is canceling so
we should let the actual Job thread that is doing the actual work know
things are being canceled.

Fixes 0000446: bareos-dir segfault
Affected Issues
0000446
mod - src/dird/protos.h Diff File
mod - src/dird/sd_cmds.c Diff File

bareos-14.2 04ff7665

2015-09-14 23:54

mvwieringen

Ported: N/A

Details Diff
Rename silent flag to interactive.

- Lets call the silent flag of the cancel_storage_daemon_job() function
interactive which covers the actual meaning a bit better e.g. are we
doing an interactive cancel or not.
- When we are doing a non-interactive cancel we shouldn't kill the
thread as we are on the cancel path our self. There are some safeguards
in place that catch the thread id not being the same as pthread_self()
so we shouldn't be able to commit suicide but as we know we are in the
cancel path there is no need for all the trickery. For an interactive
cancel e.g. one invoked by the user an external thread is canceling so
we should let the actual Job thread that is doing the actual work know
things are being canceled.

Fixes 0000446: bareos-dir segfault
Affected Issues
0000446
mod - src/dird/protos.h Diff File
mod - src/dird/sd_cmds.c Diff File

bareos-13.2 91b76770

2015-09-14 23:54

mvwieringen

Ported: N/A

Details Diff
Rename silent flag to interactive.

- Lets call the silent flag of the cancel_storage_daemon_job() function
interactive which covers the actual meaning a bit better e.g. are we
doing an interactive cancel or not.
- When we are doing a non-interactive cancel we shouldn't kill the
thread as we are on the cancel path our self. There are some safeguards
in place that catch the thread id not being the same as pthread_self()
so we shouldn't be able to commit suicide but as we know we are in the
cancel path there is no need for all the trickery. For an interactive
cancel e.g. one invoked by the user an external thread is canceling so
we should let the actual Job thread that is doing the actual work know
things are being canceled.

Fixes 0000446: bareos-dir segfault
Affected Issues
0000446
mod - src/dird/protos.h Diff File
mod - src/dird/sd_cmds.c Diff File

bareos-15.2 57715745

2015-09-14 17:17

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Get OBS Build Info into Variables
mod - autoconf/bareos/os.m4 Diff File
mod - autoconf/configure.in Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/include/host.h.in Diff File

bareos-14.2 279e0bba

2015-09-14 17:17

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Get OBS Build Info into Variables
mod - autoconf/bareos/os.m4 Diff File
mod - autoconf/configure.in Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/include/host.h.in Diff File

bareos-13.2 30a6f2c7

2015-09-14 17:17

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Get OBS Build Info into Variables
mod - autoconf/bareos/os.m4 Diff File
mod - autoconf/configure.in Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/include/host.h.in Diff File

bareos-15.2 b2dbf99f

2015-09-12 13:53

Tad Hunt


Committer: mvwieringen

Ported: N/A

Details Diff
Fix typo.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/stored/reserve.c Diff File

master 50870878

2015-09-11 19:44

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - src/stored/backends/unix_file_device.c Diff File

master 2e6c9f3e

2015-09-11 19:18

mvwieringen

Ported: N/A

Details Diff
Fix coverity detected problem.
mod - src/stored/backends/unix_file_device.c Diff File

master f3cf71f8

2015-09-11 15:28

mvwieringen

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - platforms/win32/winbareos.nsi Diff File
mod - src/cats/cats.h Diff File
mod - src/cats/ddl/creates/ingres.sql Diff File
mod - src/cats/ddl/creates/mysql.sql Diff File
mod - src/cats/ddl/creates/postgresql.sql Diff File
mod - src/cats/ddl/creates/sqlite3.sql Diff File
add - src/cats/ddl/updates/mysql.2003_2004.sql Diff File
add - src/cats/ddl/updates/postgresql.2003_2004.sql Diff File
add - src/cats/ddl/updates/sqlite3.2003_2004.sql Diff File
mod - src/cats/ddl/versions.map.in Diff File
mod - src/cats/sql_create.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/getmsg.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/msgchan.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/verify.c Diff File
mod - src/filed/accurate_lmdb.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/status.c Diff File
mod - src/findlib/create_file.c Diff File
mod - src/lib/bpipe.c Diff File
mod - src/lib/bsys.c Diff File
mod - src/lib/crypto_cache.c Diff File
mod - src/lib/message.c Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/signal.c Diff File
mod - src/lib/util.c Diff File
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/job.c Diff File
mod - src/stored/spool.c Diff File
mod - src/stored/status.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File

master 4b856a0d

2015-09-10 13:07

mvwieringen

Ported: N/A

Details Diff
Fix coverity detected problem.
mod - src/cats/sql_list.c Diff File

master aa18ca20

2015-09-10 12:53

mvwieringen

Ported: N/A

Details Diff
Tweak logging.
mod - src/lib/message.c Diff File

master e715be05

2015-09-09 12:27

mvwieringen

Ported: N/A

Details Diff
Some fixes to the SD Job Status handling.

- Make JS_FatalError a separate error string.
- JS_FatalError for a SD Job means in essence the controlling Job
also should end in JS_FatalError.
mod - src/dird/getmsg.c Diff File
mod - src/lib/util.c Diff File

bareos-14.2 2656b066

2015-09-09 12:27

mvwieringen

Ported: N/A

Details Diff
Some fixes to the SD Job Status handling.

- Make JS_FatalError a separate error string.
- JS_FatalError for a SD Job means in essence the controlling Job
also should end in JS_FatalError.
mod - src/dird/getmsg.c Diff File
mod - src/lib/util.c Diff File

bareos-13.2 1f8049cb

2015-09-09 12:27

mvwieringen

Ported: N/A

Details Diff
Some fixes to the SD Job Status handling.

- Make JS_FatalError a separate error string.
- JS_FatalError for a SD Job means in essence the controlling Job
also should end in JS_FatalError.
mod - src/dird/getmsg.c Diff File
mod - src/lib/util.c Diff File

bareos-12.4 5daa4818

2015-09-09 12:27

mvwieringen

Ported: N/A

Details Diff
Some fixes to the SD Job Status handling.

- Make JS_FatalError a separate error string.
- JS_FatalError for a SD Job means in essence the controlling Job
also should end in JS_FatalError.
mod - src/dird/getmsg.c Diff File
mod - src/lib/util.c Diff File

master 6e41566e

2015-09-08 11:49

mvwieringen

Ported: N/A

Details Diff
Sync lmdb.
mod - src/lmdb/lmdb.h Diff File
mod - src/lmdb/mdb.c Diff File

master afb08470

2015-09-07 17:17

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix llist jobs with days/hours or status filter
mod - src/cats/sql_list.c Diff File

master a4893949

2015-09-07 12:11

pstorz

Ported: N/A

Details Diff
DBDRIVER is set to postgresql in silent install

Without this patch, the silent installation failed if
DBDRIVER was not specified.

Now, if unspecified the DBDRIVER is set to postgresql as
was already intended before
mod - platforms/win32/winbareos.nsi Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 541 542 543 544 545 546 547 ... 560 ... 630 ... 665 666 667  Next  Last