Changesets: bareos

master b30eb3ee

2015-03-27 19:37:34

mvwieringen

Ported: N/A

Details Diff
Some more hacking on usage() of traymonitor.
Attach Issues:
mod - src/qt-tray-monitor/tray-monitor.cpp Diff File

master b886b51b

2015-03-27 19:02:12

mvwieringen

Ported: N/A

Details Diff
Fix problems on Fedora 19 and 21.

Glusterfs on Fedora 19 seems to be old and as such does not allow us to
build the gfapi-fd plugin. As Fedora 19 is not supported anyway it makes
little sense to add a lot of work to make the gluster stuff work on that
platform.

On Fedora 21 it seems the compile flags are more strict which leads to
the following error:

tray-monitor.cpp:65:32: error: format not a string literal and no format
arguments [-Werror=format-security]
Attach Issues:
mod - platforms/packaging/bareos.spec Diff File
mod - src/qt-tray-monitor/tray-monitor.cpp Diff File

bareos-14.2 654edbb1

2015-03-27 19:02:12

mvwieringen


Committer: joergs

Ported: N/A

Details Diff
Fix problems on Fedora 19 and 21.

Glusterfs on Fedora 19 seems to be old and as such does not allow us to
build the gfapi-fd plugin. As Fedora 19 is not supported anyway it makes
little sense to add a lot of work to make the gluster stuff work on that
platform.

On Fedora 21 it seems the compile flags are more strict which leads to
the following error:

tray-monitor.cpp:65:32: error: format not a string literal and no format
arguments [-Werror=format-security]
Attach Issues:
mod - platforms/packaging/bareos.spec Diff File
mod - src/qt-tray-monitor/tray-monitor.cpp Diff File

master 2b0bb002

2015-03-27 18:46:58

mvwieringen

Ported: N/A

Details Diff
Fix problem found by coverity.

** CID 1291923: Memory - illegal accesses (UNINIT)
/src/plugins/filed/bpipe-fd.c: 780 in
parse_plugin_definition(bpContext *, void *)()

CID 1291923: Memory - illegal accesses (UNINIT)
Using uninitialized value "argument_value".
Attach Issues:
mod - src/plugins/filed/bpipe-fd.c Diff File

bareos-14.2 bb6beb10

2015-03-27 18:46:58

mvwieringen

Ported: N/A

Details Diff
Fix problem found by coverity.

** CID 1291923: Memory - illegal accesses (UNINIT)
/src/plugins/filed/bpipe-fd.c: 780 in
parse_plugin_definition(bpContext *, void *)()

CID 1291923: Memory - illegal accesses (UNINIT)
Using uninitialized value "argument_value".
Attach Issues:
mod - src/plugins/filed/bpipe-fd.c Diff File

master 1c435ae2

2015-03-27 15:50:33

pstorz

Ported: N/A

Details Diff
Refactor "prtit" to "printit"
Attach Issues:
mod - src/dird/protos.h Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_query.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_update.c Diff File

bareos-14.2 d179c1f0

2015-03-27 15:50:33

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Refactor "prtit" to "printit"
Attach Issues:
mod - src/dird/protos.h Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_query.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_update.c Diff File

master 3f65364c

2015-03-26 14:02:29

joergs

Ported: N/A

Details Diff
Added descriptions to some config directives

These descriptions are used for automatically for the documentation.
Attach Issues:
mod - src/dird/dird_conf.c Diff File

master 461c815f

2015-03-26 12:36:35

joergs

Ported: N/A

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

master e1e34be4

2015-03-25 10:23:07

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Sync lmdb.
Attach Issues:
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 10:20:09

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 10:20:09

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 15:58:48

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.
Attach Issues:
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 15:44:23

joergs

Ported: N/A

Details Diff
removed SLE_10 specific spec file

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

bareos-14.2 5de63395

2015-03-23 13:48:12

Joerg Steffens

Ported: N/A

Details Diff
Update NLS files.
Attach Issues:
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 13:47:28

Joerg Steffens

Ported: N/A

Details Diff
Bump version number.
Attach Issues:
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 10:56:18

Joerg Steffens

Ported: N/A

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

master 83e06c18

2015-03-23 10:56:18

joergs

Ported: N/A

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

master 1848cdc7

2015-03-21 11:58:43

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.
Attach Issues:
mod - src/lib/message.c Diff File

bareos-14.2 9d89f101

2015-03-21 11:58:43

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.
Attach Issues:
mod - src/lib/message.c Diff File

master 8bf64ea1

2015-03-21 10:23:56

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.
Attach Issues:
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 10:23:56

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.
Attach Issues:
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 16:51:08

mvwieringen


Committer: pstorz

Ported: N/A

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

bareos-14.2 4f367229

2015-03-20 16:51:08

mvwieringen

Ported: N/A

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

master 5b42862b

2015-03-20 16:34:32

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
Set JCR in TSD for stored and filed.
Attach Issues:
mod - src/filed/dir_cmd.c Diff File
mod - src/stored/dir_cmd.c Diff File
 First  Prev  1 2 3 ... 40 ... 80 ... 120 ... 160 ... 200 ... 240 ... 269 270 271 272 273 274 275 ... 280 ... 320 ... 360 ... 380 381 382  Next  Last