Changesets: bareos

master c0fa8159

2019-10-30 17:52

Tobias Plum

Ported: N/A

Details Diff
systemtests: added python-sd-plugin-test

The test checks if a python module logs events from the sd correctly.
mod - systemtests/tests/python-sd-plugin-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
mod - systemtests/tests/python-sd-plugin-test/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
mod - systemtests/tests/python-sd-plugin-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
rm - systemtests/tests/python-sd-plugin-test/python-modules/bareos-dir-test.py Diff File
add - systemtests/tests/python-sd-plugin-test/python-modules/bareos-sd-test.py Diff File
mod - systemtests/tests/python-sd-plugin-test/testrunner Diff File

bareos-19.2 b6787fc2

2019-10-30 17:52

Tobias Plum


Committer: pstorz

Ported: N/A

Details Diff
systemtests: added python-sd-plugin-test

The test checks if a python module logs events from the sd correctly.
mod - systemtests/tests/python-sd-plugin-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
mod - systemtests/tests/python-sd-plugin-test/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
mod - systemtests/tests/python-sd-plugin-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
rm - systemtests/tests/python-sd-plugin-test/python-modules/bareos-dir-test.py Diff File
add - systemtests/tests/python-sd-plugin-test/python-modules/bareos-sd-test.py Diff File
mod - systemtests/tests/python-sd-plugin-test/testrunner Diff File

master b2d39bf8

2019-10-30 17:12

franku

Ported: N/A

Details Diff
dird: use implicit initialization

- use scoped variables where possible
mod - core/src/dird/ua_restore.cc Diff File
mod - core/src/dird/ua_update.cc Diff File

bareos-16.2 b34c2d89

2019-10-30 17:08

arogge

Ported: N/A

Details Diff
packaging: Make rpm spec compatible to docker builds

* fix BuildRequires to work without OBS substitution
* disable tcp_wrappers for Fedora >= 28
* build ceph backends also for SLE 15
* never build the droplet backend
* make sure rpcgen runs first
* enable building of debug-packages on SUSE
mod - platforms/packaging/bareos.spec Diff File

bareos-16.2 37b3026e

2019-10-30 16:48

arogge

Ported: N/A

Details Diff
Packaging: Use .tar.bz2 instead of tar.gz
mod - platforms/packaging/bareos.spec Diff File

master 8edb34ad

2019-10-30 16:46

franku

Ported: N/A

Details Diff
dird: added default initializers and remove memset of structs
mod - core/src/dird/dird.h Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/storage.cc Diff File

master 9efcf1da

2019-10-30 16:38

franku

Ported: N/A

Details Diff
dird: declare enum type as bool

- otherwise an implicit conversion to int occurs
mod - core/src/dird/dird.h Diff File

master 30b135ba

2019-10-30 16:35

franku

Ported: N/A

Details Diff
dird: removed memset for del_ctx
mod - core/src/dird/autoprune.cc Diff File
mod - core/src/dird/dird.h Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/dird/ua_purge.cc Diff File

master 8356183c

2019-10-30 16:26

franku

Ported: N/A

Details Diff
ndmp: remove redundant smc_element_address_assignment
mod - core/src/dird/dird.h Diff File
mod - core/src/tests/ndmp_address_translate_test.cc Diff File

master d817ea63

2019-10-30 15:50

pstorz


Committer: arogge

Ported: N/A

Details Diff
acl: check for acl syntax

We now check the syntax of acls. Now commas in the
acl elements are forbidden so that accidentally
quoting the acl definition is detected.

This commit also adds a unit test making sure the acl check works
as expected.
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/lib/edit.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/test_acl_entry_syntax.cc Diff File

master 9f4ac247

2019-10-30 15:49

Adrian Brzezinski

Ported: N/A

Details Diff
tls: avoid a nullpointer dereference

* If none of the CRLs match the name and less than MAX_CRLS were loaded,
it comes to a segmentation fault because data->crls[cnt] is null

Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
mod - core/src/lib/tls_openssl_crl.cc Diff File

bareos-18.2 1699ec98

2019-10-30 15:49

Adrian Brzezinski


Committer: franku

Ported: N/A

Details Diff
tls: avoid a nullpointer dereference

* If none of the CRLs match the name and less than MAX_CRLS were loaded,
it comes to a segmentation fault because data->crls[cnt] is null

Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
mod - core/src/lib/tls_openssl_crl.cc Diff File

master ad7e463a

2019-10-30 13:53

franku

Ported: N/A

Details Diff
dird: change include order and add initializer
mod - core/src/dird/dird.h Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/ua_db.cc Diff File
mod - core/src/dird/ua_purge.cc Diff File
mod - core/src/dird/ua_restore.cc Diff File
mod - core/src/dird/ua_run.cc Diff File

master c39d2cc6

2019-10-29 18:44

pstorz


Committer: arogge

Ported: N/A

Details Diff
lib: IsNameValid(): disallow leading and trailing spaces

Names with leading and trailing space are now illegal.
Also added a unit test that checks that IsNameValid() works
as expected.
mod - core/src/lib/edit.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/test_is_name_valid.cc Diff File

master 707052eb

2019-10-29 13:49

pstorz


Committer: franku

Ported: N/A

Details Diff
catreq.cc: add scoped initializers
mod - core/src/dird/catreq.cc Diff File
mod - core/src/dird/consolidate.cc Diff File

master 2f078e6d

2019-10-29 13:40

pstorz


Committer: franku

Ported: N/A

Details Diff
vbackup.cc: remove unused variable
mod - core/src/dird/vbackup.cc Diff File

master 64fc7204

2019-10-29 12:28

pstorz


Committer: franku

Ported: N/A

Details Diff
find_one.cc: fix class-memaccess warnings
mod - core/src/findlib/bfile.h Diff File
mod - core/src/findlib/find.h Diff File
mod - core/src/findlib/find_one.cc Diff File

master 2bf4e822

2019-10-29 11:59

pstorz


Committer: franku

Ported: N/A

Details Diff
restore.cc: fix class-memaccess warnings
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/restore.h Diff File

master c2300971

2019-10-29 11:21

pstorz


Committer: franku

Ported: N/A

Details Diff
dird: removed unneded memsets
mod - core/src/dird/next_vol.cc Diff File
mod - core/src/dird/stats.cc Diff File

master ec0258c4

2019-10-29 11:17

pstorz


Committer: franku

Ported: N/A

Details Diff
next_vol.cc: removed unneeded memsets
mod - core/src/dird/next_vol.cc Diff File

master a312b815

2019-10-28 21:04

pstorz


Committer: franku

Ported: N/A

Details Diff
Revert "dird,filed, findlib and lib fix class-memaccess warnings"

This reverts commit e37fe3f2e44b7687ceab460a9c056dc2c6798688.
mod - core/src/dird/next_vol.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/restore.h Diff File
mod - core/src/findlib/match.cc Diff File
mod - core/src/lib/tree.h Diff File

master 7684ae59

2019-10-28 16:26

pstorz


Committer: franku

Ported: N/A

Details Diff
plugin code: include bareos.h before Python only on windows
mod - core/src/plugins/dird/python-dir.cc Diff File
mod - core/src/plugins/filed/python-fd.cc Diff File
mod - core/src/plugins/stored/python-sd.cc Diff File

master 97c373ca

2019-10-28 16:16

pstorz


Committer: franku

Ported: N/A

Details Diff
dird,filed, findlib and lib fix class-memaccess warnings

Fix class-memaccess warnings in the following files:

dird/next_vol.cc
dird/stats.cc
filed/restore.cc
findlib/match.cc
lib/jcr.cc
mod - core/src/dird/next_vol.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/restore.h Diff File
mod - core/src/findlib/match.cc Diff File
mod - core/src/lib/tree.h Diff File

master 163e2b4d

2019-10-28 15:27

pstorz


Committer: franku

Ported: N/A

Details Diff
stored: dev.cc/mount.cc: fix class-memaccess warnings
mod - core/src/stored/dev.cc Diff File
mod - core/src/stored/mount.cc Diff File

master 17982fd5

2019-10-28 14:21

pstorz


Committer: franku

Ported: N/A

Details Diff
verify.cc: fix class-memaccess warnings
mod - core/src/dird/verify.cc Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 268 269 270 271 272 273 274 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 607 608 609  Next  Last