Changesets: bareos

master 95867413

2020-08-26 17:32

joergs

Ported: N/A

Details Diff
systemtest python-bareos: adapted for show command in JSON mode

Skip the test "test_json_backend_with_invalid_json_output",
as most commands now produce valid JSON output.

Add the test "PythonBareosShowTest.test_fileset" to check,
if a fileset content is written correctly into the catalog.

Add the test PythonBareosJsonConfigTest.test_show_command.
Verifies that the "show" command delivers valid JSON.
mod - systemtests/tests/python-bareos/python-bareos-unittest.py Diff File
mod - systemtests/tests/python-bareos/testrunner Diff File

master 6764cf99

2020-08-26 17:32

joergs

Ported: N/A

Details Diff
core: add JSON output to the show command.

The show command can print the configuration of the Bareos Director.
To extend the functionality to also produce JSON output,
the already existing OutputFormatter class is used.
As the Bareos Daemons can all dump their configuration (in plain, none verbose mode),
changes to all Daemons have been necessary.
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/ua.cc Diff File
mod - core/src/dird/ua.h Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_output.h Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lib/address_conf.cc Diff File
mod - core/src/lib/address_conf.h Diff File
mod - core/src/lib/bareos_resource.cc Diff File
mod - core/src/lib/bareos_resource.h Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/messages_resource.cc Diff File
mod - core/src/lib/messages_resource.h Diff File
mod - core/src/lib/output_formatter.cc Diff File
mod - core/src/lib/output_formatter.h Diff File
add - core/src/lib/output_formatter_resource.cc Diff File
add - core/src/lib/output_formatter_resource.h Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/parse_conf_callbacks.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/lib/util.cc Diff File
mod - core/src/lib/util.h Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/autochanger_resource.cc Diff File
mod - core/src/stored/autochanger_resource.h Diff File
mod - core/src/stored/device_resource.cc Diff File
mod - core/src/stored/device_resource.h Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

bareos-17.2 d4272d11

2020-08-26 15:56

arogge

Ported: N/A

Details Diff
rpm: enable/disable building of cephfs/rados

Previously ceph was simply autodetected. This patch allows to disable it
using --without-cephfs and --without-rados. These flags are now
automatically added when the rpm SPECfile macro ceph is set to 0.
mod - configure Diff File
mod - platforms/packaging/bareos.spec Diff File

bareos-17.2 ebdef8eb

2020-08-26 14:10

arogge

Ported: N/A

Details Diff
rpm: disable ceph for suse 15

there was an incompatible change in ceph in SUSE 15.1, so we disable
building ceph plugins there. You can just upgrade to Bareos 18.2 or
newer if you need these plugins.
mod - platforms/packaging/bareos.spec Diff File

master 66d83471

2020-08-25 23:23

arogge

Ported: N/A

Details Diff
systemtests: do not enable on Windows

The systemtests cannot run on windows right now, so we don't want to
include the subdirectory at all.
mod - CMakeLists.txt Diff File

bareos-18.2 b562b2bc

2020-08-25 20:53

arogge

Ported: N/A

Details Diff
ceph: detect ceph_statx symbol instead of ceph_statx.h

As cephfs/ceph_statx.h does note exist anymore, we now check for the
symbol ceph_statx instead of checking for the include file
cephfs/ceph_statx.h.

(cherry picked from commit 34c9fd934ddb322bd2ffbacff0f17f83a82731a0)
mod - core/cmake/BareosCheckIncludes.cmake Diff File

master 5c1e664f

2020-08-24 21:04

franku

Ported: N/A

Details Diff
configparser: allow multiple quotes in one line
mod - core/src/lib/lex.cc Diff File

master f75dc5bc

2020-08-24 20:42

franku

Ported: N/A

Details Diff
configparser: allow multiline strings
mod - core/src/lib/lex.cc Diff File

bareos-19.2 ef08163b

2020-08-24 19:14

arogge

Ported: N/A

Details Diff
systemtests: disable set -e on acl/xattr

Using set -e does not yet work correctly in bareos-19.2, so we need to
disable it in the 19.2 branch.
mod - systemtests/tests/acl/testrunner Diff File
mod - systemtests/tests/xattr/testrunner Diff File

master 60a68801

2020-08-24 15:47

franku

Ported: N/A

Details Diff
configparser: convert end of line to representation of parser
mod - core/src/lib/lex.cc Diff File

bareos-19.2 ec2417ed

2020-08-24 12:12

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000568 from tessiof/patch-1

Move comma to the correct position
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

master 55da82ce

2020-08-21 19:07

franku

Ported: N/A

Details Diff
core: PR review fixup
mod - core/src/lib/tls.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File

master aa130c5f

2020-08-21 16:42

franku

Ported: N/A

Details Diff
libdroplet: use new droplet head
mod - core/src/droplet Diff File

master 2a3cb18e

2020-08-21 16:31

MSP-Stev


Committer: GitHub

Ported: N/A

Details Diff
fix no "Available versions" in restore dialog for filenames with spaces
mod - webui/module/Restore/src/Restore/Model/RestoreModel.php Diff File

master e749b992

2020-08-21 15:50

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000566 from arogge/dev/arogge/master/TT4200517

core: add nullptr-guard to CreateAttriburesRecord()
mod - core/src/cats/sql_create.cc Diff File

master 28f378c5

2020-08-20 21:42

joergs

Ported: N/A

Details Diff
systemtest config-dump: adapted config file

* size values now don't have trailing spaces
* new config directive TlsProtocol
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in Diff File
add - systemtests/tests/config-dump/etc/bareos/bareos-dir-lists.conf.in Diff File
add - systemtests/tests/config-dump/etc/bareos/bareos-dir-minimal.conf.in Diff File
mod - systemtests/tests/config-dump/testrunner Diff File

master fba11954

2020-08-20 21:41

joergs

Ported: N/A

Details Diff
gtest: list handling of the config parser

Tests if the varios types of config directives
correctly read multiple values.

Also document the limitations of the CFG_TYPE_STR type:
When a CFG_TYPE_STR config directive is used,
only the first entry from the last directive is used.
All other entry are silently ignored.
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_ALIST_RES.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_ALIST_STR.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_AUDIT.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_FNAME.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_PLUGIN_NAMES.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_STR.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_STR_VECTOR.conf Diff File
add - core/src/tests/configs/bareos-configparser-tests/bareos-dir-CFG_TYPE_STR_VECTOR_OF_DIRS.conf.in Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File

master 53ae5846

2020-08-20 19:39

arogge

Ported: N/A

Details Diff
cmake: use file(WRITE) instead of file(TOUCH)

Older CMake doesn't support file(TOUCH) yet, so we use file(WRITE)
instead.
mod - cmake/BareosCheckAcl.cmake Diff File
mod - cmake/BareosCheckXattr.cmake Diff File

bareos-19.2 f2290c55

2020-08-20 19:39

arogge

Ported: N/A

Details Diff
cmake: use file(WRITE) instead of file(TOUCH)

Older CMake doesn't support file(TOUCH) yet, so we use file(WRITE)
instead.

(cherry picked from commit 53ae5846ea5332dc8e037b36a5ff92691c2e5e22)
mod - cmake/BareosCheckAcl.cmake Diff File
mod - cmake/BareosCheckXattr.cmake Diff File

master 096c437a

2020-08-20 12:52

franku

Ported: N/A

Details Diff
lib: use std::max for highest filedescriptor number
mod - core/src/lib/bnet_server_tcp.cc Diff File

master a43d1222

2020-08-19 19:43

franku

Ported: N/A

Details Diff
tls: use configurable protocol parameter

- add SSL_CONF_cmd for Protocol
- add config parameter to tls common
- move creation of contexts to TlsOpenSslPrivate
- cleanup constructor of TlsResource
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/tls.h Diff File
mod - core/src/lib/tls_conf.cc Diff File
mod - core/src/lib/tls_conf.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File
mod - core/src/lib/tls_resource_items.h Diff File
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json Diff File
mod - docs/manuals/source/include/autogenerated/bareos-fd-config-schema.json Diff File
mod - docs/manuals/source/include/autogenerated/bareos-sd-config-schema.json Diff File
mod - docs/manuals/source/include/autogenerated/bareos-tray-monitor-config-schema.json Diff File
mod - docs/manuals/source/include/autogenerated/bconsole-config-schema.json Diff File

master 297c8e73

2020-08-19 19:23

arogge

Ported: N/A

Details Diff
findlib: adapt xattr changes for acl, too.

Previously the filed did not pick up acl on filesystems when
st_dev == 0. This patch now also considers such filesystems.
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/fd_plugins.cc Diff File
mod - core/src/filed/fd_plugins.h Diff File
mod - core/src/filed/jcr_private.h Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/findlib/acl.cc Diff File
mod - core/src/findlib/acl.h Diff File
mod - core/src/stored/bextract.cc Diff File

bareos-19.2 5fb4918a

2020-08-19 19:23

arogge

Ported: N/A

Details Diff
findlib: adapt xattr changes for acl, too.

Previously the filed did not pick up acl on filesystems when
st_dev == 0. This patch now also considers such filesystems.

(cherry picked from commit 297c8e7373ee984b631de90d04eb1c5cb96a02f1)
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/fd_plugins.cc Diff File
mod - core/src/filed/fd_plugins.h Diff File
mod - core/src/filed/jcr_private.h Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/findlib/acl.cc Diff File
mod - core/src/findlib/acl.h Diff File
mod - core/src/stored/bextract.cc Diff File

master e0808db2

2020-08-19 18:39

arogge

Ported: N/A

Details Diff
systemtests: add acl test

A simple test to check whether attributes set with setfacl are backed
up and restored properly.
add - cmake/BareosCheckAcl.cmake Diff File
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/acl/testrunner Diff File

bareos-19.2 7e4c3f09

2020-08-19 18:39

arogge

Ported: N/A

Details Diff
systemtests: add acl test

A simple test to check whether attributes set with setfacl are backed
up and restored properly.

(cherry picked from commit e0808db2da9673a79f3b51ff2bbb0e005ab6a83d)
add - cmake/BareosCheckAcl.cmake Diff File
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/acl/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/acl/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/acl/testrunner Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 197 198 199 200 201 202 203 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 606 607 608  Next  Last