Changesets: bareos

master e4db299e

2019-10-31 14:24

franku

Ported: N/A

Details Diff
stored: CompressionContext
mod - core/src/stored/bextract.cc Diff File

master 2651f602

2019-10-31 14:23

franku

Ported: N/A

Details Diff
stored: Session_Label
mod - core/src/stored/bcopy.cc Diff File
mod - core/src/stored/bls.cc Diff File
mod - core/src/stored/bscan.cc Diff File
mod - core/src/stored/bsr.cc Diff File
mod - core/src/stored/label.cc Diff File
mod - core/src/stored/label.h Diff File
mod - core/src/stored/mac.cc Diff File
mod - core/src/stored/match_bsr.h Diff File
mod - core/src/stored/read_record.cc Diff File
mod - core/src/stored/read_record.h Diff File
mod - core/src/stored/record.h Diff File

master 43b0e511

2019-10-31 14:21

franku

Ported: N/A

Details Diff
stored: VolumeCatalogInfo
mod - core/src/stored/askdir.cc Diff File

master 81b80cc8

2019-10-31 14:18

franku

Ported: N/A

Details Diff
lib: mntent_cache_entry_t
mod - core/src/lib/mntent_cache.cc Diff File

master 0457ad25

2019-10-31 14:12

franku

Ported: N/A

Details Diff
filed: FindFilesPacket
mod - core/src/findlib/find.cc Diff File
mod - core/src/findlib/find.h Diff File

master 282de51e

2019-10-31 13:25

franku

Ported: N/A

Details Diff
filed: struct r_ctx
mod - core/src/filed/restore.h Diff File
mod - core/src/findlib/bfile.h Diff File

master 6972924f

2019-10-31 11:25

joergs

Ported: N/A

Details Diff
systemtests (python-baroes-test): added tests for different protocol versions (18.2 and 12.4)

Make usage of TLS-PSK optional in most cases.
This is necessary to successfully run the test without the python module sslpsk.

Add Filedaemon connection tests.

Added test for client ACLs at the restore command.
mod - systemtests/scripts/functions Diff File
mod - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/client/test2-fd.conf.in Diff File
add - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/admin-notls.conf Diff File
add - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/admin-tls.conf Diff File
add - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/client-bareos-fd.conf Diff File
mod - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/job-backup-bareos-fd.conf Diff File
mod - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/noapicommand.conf Diff File
mod - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/noautodisplaycommand.conf Diff File
mod - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/poolfull.conf Diff File
mod - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/console/poolnotfull.conf Diff File
add - systemtests/tests/python-bareos-test/etc/bareos/bareos-dir.d/job/backup-test2-fd.conf.in Diff File
add - systemtests/tests/python-bareos-test/etc/bareos/bconsole-admin-notls.conf.in Diff File
add - systemtests/tests/python-bareos-test/etc/bareos/bconsole-client-bareos-fd.conf.in Diff File
mod - systemtests/tests/python-bareos-test/python-bareos-unittest.py Diff File
mod - systemtests/tests/python-bareos-test/testrunner Diff File

master 3363a1ca

2019-10-31 11:25

joergs

Ported: N/A

Details Diff
systemtests: bconsole-pam: adding python-bareos PAM tests
add - systemtests/tests/bconsole-pam/etc/bareos/bareos-dir.d/console/admin.conf Diff File
add - systemtests/tests/bconsole-pam/python-bareos-unittest.py Diff File
mod - systemtests/tests/bconsole-pam/testrunner Diff File

master 35cbdb3f

2019-10-31 11:25

joergs

Ported: N/A

Details Diff
python-bareos: build python2 and python3 DEB packages
mod - python-bareos/debian/compat Diff File
mod - python-bareos/debian/control Diff File
mod - python-bareos/debian/rules Diff File
mod - python-bareos/packaging/python-bareos.dsc Diff File
mod - python-bareos/packaging/python-bareos.spec Diff File

master 92d17dba

2019-10-31 11:25

joergs

Ported: N/A

Details Diff
python-bareos: implement protocol >= 18.2

Also:
* Implement PAM authentication.
* Reduce warnings by closing socket, when they are no longer required.
* Prepare python-bareos version number. Fallback to 18.2.5, as this is the first version that uses the new protocol.
* Handle end of data in interactive mode.
* Adapted for connections to the Filedaemon.
mod - python-bareos/README.rst Diff File
rm - python-bareos/TODO.txt Diff File
mod - python-bareos/bareos/__init__.py Diff File
mod - python-bareos/bareos/bsock/__init__.py Diff File
mod - python-bareos/bareos/bsock/constants.py Diff File
mod - python-bareos/bareos/bsock/directorconsole.py Diff File
mod - python-bareos/bareos/bsock/filedaemon.py Diff File
mod - python-bareos/bareos/bsock/lowlevel.py Diff File
add - python-bareos/bareos/bsock/protocolmessageids.py Diff File
mod - python-bareos/bareos/bsock/protocolmessages.py Diff File
add - python-bareos/bareos/bsock/protocolversions.py Diff File
mod - python-bareos/bin/bareos-fd-connect.py Diff File
mod - python-bareos/bin/bconsole-json.py Diff File
mod - python-bareos/bin/bconsole.py Diff File
mod - python-bareos/setup.py Diff File
mod - systemtests/tests/python-bareos-test/python-bareos-unittest.py Diff File
mod - systemtests/tests/python-bareos-test/testrunner Diff File

master 1e0a32c9

2019-10-31 11:25

joergs

Ported: N/A

Details Diff
python-bareos: improve handling of connection failures
mod - python-bareos/bareos/bsock/lowlevel.py Diff File
mod - python-bareos/bareos/exceptions.py Diff File
mod - python-bareos/bin/bconsole.py Diff File

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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 302 303 304 305 306 307 308 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last