Changesets: bareos

master 461c815f

2015-03-26 13:36

joergs

Ported: N/A

Details Diff
VirtualFull: check if storage is configured
mod - src/dird/vbackup.c Diff File

master e1e34be4

2015-03-25 11:23

mvwieringen


Committer: pstorz

Ported: N/A

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

master 0a34bd6b

2015-03-24 11:20

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Don't crash when ua->UA_sock == NULL in prtit()

Some admin jobs have an UA context but not a ua->UA_sock and when you
then blind use ua->UA_sock->fsend() you crash in the worst possible way.
We now call ua->send_msg() which has some fallback logic when
ua->UA_sock is NULL and then uses Jmsg with M_INFO to redirect the info
to the Job.

Its might not fully fix 0000418 as its seems the admin Job want to have
interaction with the user which ain't going to work in an admin Job but
crashing is about the worse what can happen.

Fixes 0000418: traceback runnning after job
Affected Issues
0000418
mod - src/dird/ua_output.c Diff File

bareos-14.2 79d1036f

2015-03-24 11:20

mvwieringen

Ported: N/A

Details Diff
Don't crash when ua->UA_sock == NULL in prtit()

Some admin jobs have an UA context but not a ua->UA_sock and when you
then blind use ua->UA_sock->fsend() you crash in the worst possible way.
We now call ua->send_msg() which has some fallback logic when
ua->UA_sock is NULL and then uses Jmsg with M_INFO to redirect the info
to the Job.

Its might not fully fix 0000418 as its seems the admin Job want to have
interaction with the user which ain't going to work in an admin Job but
crashing is about the worse what can happen.

Fixes 0000418: traceback runnning after job
Affected Issues
0000418
mod - src/dird/ua_output.c Diff File

master c2deedfd

2015-03-23 16:58

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Added cmocka unit tests

First implementation of unit testing in bareos
using the cmocka test framework.

Therefore we built the cmocka libraries for
all platforms we support (also windows).

On Unix/Linux, the unit tests are executed now
during package build by calling
"make check"
,on windows we package the test exes so
that they can be executed on the target
system during ci tests.

For the first we moved the existing
TEST_PROGRAM main() unit tests
of src/lib and src/findlib to a special
test that is being compiled in the subdirectory
unittests/ of each directory.

The specfiles were also refactored.

It should be easy to add unittests to other
directories in the same manner.
mod - GNUmakefile.in Diff File
mod - Makefile.in Diff File
mod - autoconf/config.h.in Diff File
mod - autoconf/configure.in Diff File
mod - configure Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/mingw-debugsrc-devel.spec Diff File
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/findlib/Makefile.in Diff File
mod - src/findlib/drivetype.c Diff File
mod - src/findlib/fstype.c Diff File
add - src/findlib/unittests/Makefile.in Diff File
add - src/findlib/unittests/drivetype_test.c Diff File
add - src/findlib/unittests/fstype_test.c Diff File
add - src/findlib/unittests/protos.h Diff File
add - src/findlib/unittests/test_findlib.c Diff File
mod - src/lib/Makefile.in Diff File
mod - src/lib/alist.c Diff File
mod - src/lib/base64.c Diff File
mod - src/lib/berrno.c Diff File
mod - src/lib/bsnprintf.c Diff File
mod - src/lib/devlock.c Diff File
mod - src/lib/dlist.c Diff File
mod - src/lib/edit.c Diff File
mod - src/lib/fnmatch.c Diff File
mod - src/lib/guid_to_name.c Diff File
mod - src/lib/htable.c Diff File
mod - src/lib/ini.c Diff File
mod - src/lib/ini.h Diff File
mod - src/lib/rblist.c Diff File
mod - src/lib/rwlock.c Diff File
mod - src/lib/scan.c Diff File
mod - src/lib/sellist.c Diff File
mod - src/lib/tree.c Diff File
add - src/lib/unittests/Makefile.in Diff File
add - src/lib/unittests/alist_test.c Diff File
add - src/lib/unittests/base64_test.c Diff File
add - src/lib/unittests/bsnprintf_test.c Diff File
add - src/lib/unittests/devlock_test.c Diff File
add - src/lib/unittests/dlist_test.c Diff File
add - src/lib/unittests/edit_test.c Diff File
add - src/lib/unittests/htable_test.c Diff File
add - src/lib/unittests/ini_test.c Diff File
add - src/lib/unittests/passphrase_test.c Diff File
add - src/lib/unittests/protos.h Diff File
add - src/lib/unittests/rblist_test.c Diff File
add - src/lib/unittests/rwlock_test.c Diff File
add - src/lib/unittests/scan_test.c Diff File
add - src/lib/unittests/sellist_test.c Diff File
add - src/lib/unittests/test_lib.c Diff File
add - src/lib/unittests/tree_test.c Diff File
mod - src/win32/Makefile Diff File
add - src/win32/findlib/unittests/Makefile Diff File
add - src/win32/lib/unittests/Makefile Diff File

bareos-14.2 b239869f

2015-03-23 16:44

joergs

Ported: N/A

Details Diff
removed SLE_10 specific spec file

SLES 10 packages could be build with the standard spec file again.
rm - platforms/packaging/bareos-SLE_10.spec Diff File

bareos-14.2 5de63395

2015-03-23 14:48

Joerg Steffens

Ported: N/A

Details Diff
Update NLS files.
mod - po/POTFILES.in Diff File
mod - po/bareos.pot Diff File
mod - po/de.po Diff File
mod - po/es.po Diff File
mod - po/fr.po Diff File
mod - po/it.po Diff File
mod - po/nl.po Diff File
mod - po/pl.po Diff File
mod - po/sv.po Diff File
mod - po/uk.po Diff File

bareos-14.2 0cf60927

2015-03-23 14:47

Joerg Steffens

Ported: N/A

Details Diff
Bump version number.
mod - configure Diff File
mod - platforms/packaging/bareos-Univention_3.1.dsc Diff File
mod - platforms/packaging/bareos-Univention_3.2.dsc Diff File
mod - platforms/packaging/bareos.changes Diff File
mod - platforms/packaging/bareos.dsc Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/mingw-debugsrc-devel.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/include/version.h Diff File

bareos-14.2 b6931d2d

2015-03-23 11:56

Joerg Steffens

Ported: N/A

Details Diff
allow building SLES 10 packages
mod - platforms/packaging/bareos.spec Diff File

master 83e06c18

2015-03-23 11:56

joergs

Ported: N/A

Details Diff
allow building SLES 10 packages
mod - platforms/packaging/bareos.spec Diff File

master 1848cdc7

2015-03-21 12:58

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Increase debug message timestamp resolution to include usecs.

From a debugging standpoint you need much higher resolution then the
existing second granularity in the debug messages. This adds the usecs
to the debug message so we have the wanted granularity.
mod - src/lib/message.c Diff File

bareos-14.2 9d89f101

2015-03-21 12:58

mvwieringen

Ported: N/A

Details Diff
Increase debug message timestamp resolution to include usecs.

From a debugging standpoint you need much higher resolution then the
existing second granularity in the debug messages. This adds the usecs
to the debug message so we have the wanted granularity.
mod - src/lib/message.c Diff File

master 8bf64ea1

2015-03-21 11:23

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
When printing protocol messages drop printing \n

All protocol messages exchanged between the daemons already include an
\n at the end so no need to print an extra one and as such create debug
info that is much harder to parse.
mod - src/dird/restore.c Diff File
mod - src/dird/scheduler.c Diff File
mod - src/filed/backup.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/fd_cmds.c Diff File
mod - src/stored/job.c Diff File
mod - src/stored/read.c Diff File
mod - src/stored/sd_stats.c Diff File

bareos-14.2 093b229e

2015-03-21 11:23

mvwieringen

Ported: N/A

Details Diff
When printing protocol messages drop printing \n

All protocol messages exchanged between the daemons already include an
\n at the end so no need to print an extra one and as such create debug
info that is much harder to parse.
mod - src/dird/restore.c Diff File
mod - src/dird/scheduler.c Diff File
mod - src/filed/backup.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/fd_cmds.c Diff File
mod - src/stored/job.c Diff File
mod - src/stored/read.c Diff File
mod - src/stored/sd_stats.c Diff File

master 543bea78

2015-03-20 17:51

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
When enabling tracing for all daemons also do it for the director.
mod - src/dird/ua_cmds.c Diff File

bareos-14.2 4f367229

2015-03-20 17:51

mvwieringen

Ported: N/A

Details Diff
When enabling tracing for all daemons also do it for the director.
mod - src/dird/ua_cmds.c Diff File

master 5b42862b

2015-03-20 17:34

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Set JCR in TSD for stored and filed.
mod - src/filed/dir_cmd.c Diff File
mod - src/stored/dir_cmd.c Diff File

bareos-14.2 c0c8f129

2015-03-20 17:34

mvwieringen

Ported: N/A

Details Diff
Set JCR in TSD for stored and filed.
mod - src/filed/dir_cmd.c Diff File
mod - src/stored/dir_cmd.c Diff File

master a150cd1f

2015-03-19 21:19

cviecco


Committer: pstorz

Ported: N/A

Details Diff
Allow TLS 1.2 connections when using openssl

Adding TLS 1.2 support will allow us to be more future-proof and have
better ciphersuites such as as the use of ECDHE-ECDSA-AES256-GCM-SHA384.
This patch allows tls 1.2. 1.1 and 1.0 while the broken sslv2 and
sslv3 are disabled.

Fixes 0000440: Allow TLS 1.2 connections when using openssl
Affected Issues
0000440
mod - AUTHORS Diff File
mod - src/lib/tls_openssl.c Diff File

bareos-14.2 fc760fcc

2015-03-19 21:19

cviecco


Committer: mvwieringen

Ported: N/A

Details Diff
Allow TLS 1.2 connections when using openssl

Adding TLS 1.2 support will allow us to be more future-proof and have
better ciphersuites such as as the use of ECDHE-ECDSA-AES256-GCM-SHA384.
This patch allows tls 1.2. 1.1 and 1.0 while the broken sslv2 and
sslv3 are disabled.

Fixes 0000440: Allow TLS 1.2 connections when using openssl
Affected Issues
0000440
mod - AUTHORS Diff File
mod - src/lib/tls_openssl.c Diff File

master 9a5cd605

2015-03-19 17:46

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Changed sample files for cloud backends for new syntax.
mod - src/defaultconfigs/bareos-sd.d/device-ceph-rados.conf Diff File
mod - src/defaultconfigs/bareos-sd.d/device-gluster.conf Diff File

master fe20ed8a

2015-03-19 11:36

pstorz

Ported: N/A

Details Diff
Enable restore on storage with different name

Before, the restoration of a backup done on a different
storage resource was not possible.

To reproduce make a backup on a autochanger, change the
autochanger name and try to restore the old backup.

JobId 38: Warning: Could not get storage resource 'Autochanger'.
JobId 38: Fatal error: No Volume names found for restore.
JobId 38: Fatal error: dir_cmd.c:2169 Bad response to Read Data command. Wanted 3000 OK data
, got 3000 error
JobId 38: Fatal error: Could not get storage resource 'Autochanger'.

With this change now it works:

JobId 55: Start Restore Job
JobId 55: Using Device "Drive-1" to read.
JobId 55: Warning: Could not get storage resource 'Autochanger'.
JobId 55: Ready to read from volume "E01002L4" on device "Drive-1" (/dev/nst0).
JobId 55: Forward spacing Volume "E01002L4" to file:block 0:1.
JobId 55: End of Volume at file 1 on device "Drive-1" (/dev/nst0), Volume "E01002L4"
JobId 55: End of all volumes.
mod - src/dird/bsr.c Diff File

master f5df5af4

2015-03-18 10:46

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Use compressbound()
mod - src/filed/backup.c Diff File

bareos-14.2 dbcfdf83

2015-03-18 10:46

mvwieringen

Ported: N/A

Details Diff
Use compressbound()
mod - src/filed/backup.c Diff File

master 5fee772b

2015-03-17 18:05

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Add small README on how to add additional storage backends.
add - README.storagebackend Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 531 532 533 534 535 536 537 ... 540 ... 600 ... 641 642 643  Next  Last