Changesets: bareos

master 381ae643

2024-01-29 14:36

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1684

Remove EOL platforms
mod - .matrix.yml Diff File
mod - CHANGELOG.md Diff File
rm - docs/pkglists/Debian_10.x86_64 Diff File
rm - docs/pkglists/EL_7.x86_64 Diff File
rm - docs/pkglists/SLE_12_SP5.x86_64 Diff File
rm - docs/pkglists/Solaris_11.4.i386 Diff File
rm - docs/pkglists/Solaris_11.4.sparc Diff File
rm - docs/pkglists/win32-debug Diff File
rm - docs/pkglists/win32-release Diff File
rm - docs/pkglists/win64-debug Diff File

master a414ab44

2024-01-29 14:36

Bareos Bot

Ported: N/A

Details Diff
Update CHANGELOG.md
mod - CHANGELOG.md Diff File

master b6772214

2024-01-29 14:14

joergs

Ported: N/A

Details Diff
python-bareos: pylint suggested changes
mod - python-bareos/bareos/util/argparse.py Diff File
mod - python-bareos/bareos/util/path.py Diff File

master 28727333

2024-01-29 13:59

joergs

Ported: N/A

Details Diff
python-bareos: changes from code-review

Co-authored-by: Bruno Friedmann @Bareos <89836284+bruno-at-bareos@users.noreply.github.com>
mod - contrib/misc/bareos_pam_integration/pam_exec_add_bareos_user.py Diff File
mod - contrib/misc/triggerjob/bareos-triggerjob.py Diff File
mod - python-bareos/bin/bareos-fd-connect.py Diff File
mod - python-bareos/bin/bareos-jsonrpc-server.py Diff File
mod - python-bareos/bin/bconsole-json.py Diff File
mod - python-bareos/bin/bconsole.py Diff File

master 98ccaa18

2024-01-29 12:39

arogge


Committer: Bareos Bot

Ported: N/A

Details Diff
cmake: add -Wnon-virtual-dtor C++ build option
mod - core/CMakeLists.txt Diff File

master 812f9e48

2024-01-29 12:28

arogge


Committer: Bareos Bot

Ported: N/A

Details Diff
refactor: add -Wshadow build option

and refactor all code that triggers that warning.
mod - core/CMakeLists.txt Diff File
mod - core/src/benchmarks/restore_browser_stress_test.cc Diff File
mod - core/src/cats/sql.cc Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/console/console.cc Diff File
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/auth_pam.cc Diff File
mod - core/src/dird/catreq.cc Diff File
mod - core/src/dird/dbcheck.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/getmsg.cc Diff File
mod - core/src/dird/ndmp_fhdb_lmdb.cc Diff File
mod - core/src/dird/reload.cc Diff File
mod - core/src/dird/scheduler_private.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_restore.cc Diff File
mod - core/src/dird/ua_status.cc Diff File
mod - core/src/dird/ua_update.cc Diff File
mod - core/src/dird/vbackup.cc Diff File
mod - core/src/droplet/libdroplet/src/backend/cdmi/reqbuilder.c Diff File
mod - core/src/droplet/libdroplet/src/backend/s3/auth/v2.c Diff File
mod - core/src/droplet/libdroplet/src/backend/srws/replyparser.c Diff File
mod - core/src/droplet/libdroplet/src/httpreply.c Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/filed_globals.cc Diff File
mod - core/src/filed/filed_globals.h Diff File
mod - core/src/filed/filed_utils.cc Diff File
mod - core/src/findlib/find.cc Diff File
mod - core/src/lib/bregex.cc Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/channel.h Diff File
mod - core/src/lib/cli.cc Diff File
mod - core/src/lib/connection_pool.cc Diff File
mod - core/src/lib/connection_pool.h Diff File
mod - core/src/lib/crypto.h Diff File
mod - core/src/lib/crypto_openssl.cc Diff File
mod - core/src/lib/message.cc Diff File
mod - core/src/lib/message.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/plugins.cc Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/lib/thread_list.cc Diff File
mod - core/src/lib/thread_specific_data_key.h Diff File
mod - core/src/lib/thread_util.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/xxhash.cc Diff File
mod - core/src/lmdb/CMakeLists.txt Diff File
mod - core/src/ndmp/ndma_cops_backreco.c Diff File
mod - core/src/plugins/filed/gfapi/gfapi-fd.cc Diff File
mod - core/src/plugins/filed/python/python-fd.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/ansi_label.cc Diff File
mod - core/src/stored/append.cc Diff File
mod - core/src/stored/backends/chunked_device.cc Diff File
mod - core/src/stored/backends/dedup/fvec.h Diff File
mod - core/src/stored/backends/droplet_device.cc Diff File
mod - core/src/stored/backends/generic_tape_device.cc Diff File
mod - core/src/stored/backends/unix_fifo_device.cc Diff File
mod - core/src/stored/backends/unix_file_device.cc Diff File
mod - core/src/stored/backends/unix_tape_device.cc Diff File
mod - core/src/stored/backends/win32_fifo_device.cc Diff File
mod - core/src/stored/backends/win32_file_device.cc Diff File
mod - core/src/stored/backends/win32_tape_device.cc Diff File
mod - core/src/stored/bcopy.cc Diff File
mod - core/src/stored/bextract.cc Diff File
mod - core/src/stored/block.cc Diff File
mod - core/src/stored/bls.cc Diff File
mod - core/src/stored/bscan.cc Diff File
mod - core/src/stored/btape.cc Diff File
mod - core/src/stored/ndmp_tape.cc Diff File
mod - core/src/stored/reserve.cc Diff File
mod - core/src/stored/sd_stats.cc Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/tests/addresses_and_ports_functions.cc Diff File
mod - core/src/tests/multicolumn_prompts.cc Diff File
mod - core/src/tests/multiplied_device_test.cc Diff File
mod - core/src/tests/select_functions.cc Diff File
mod - core/src/tests/setdevice.cc Diff File
mod - core/src/tests/show_cmd_available_resources_equals_config_resources.cc Diff File
mod - core/src/tests/test_bsnprintf.cc Diff File
mod - core/src/tests/test_bsock.cc Diff File
mod - core/src/tests/test_config_parser_dir.cc Diff File
mod - core/src/tests/test_config_parser_sd.cc Diff File
mod - core/src/tests/test_path_conversion.cc Diff File
mod - core/src/tools/drivetype.cc Diff File
mod - core/src/tools/fstype.cc Diff File
mod - core/src/tools/testfind.cc Diff File
mod - core/src/tools/testfind_fd.cc Diff File
mod - core/src/vmware/vadp_dumper/bareos_vadp_dumper.cc Diff File
mod - core/src/win32/compat/compat.cc Diff File
mod - core/src/win32/filed/vss_generic.cc Diff File

master dfbd8b32

2024-01-29 11:54

bruno-at-bareos


Committer: joergs

Ported: N/A

Details Diff
systemtests: PostgreSQL setup_local_db.sh add root db

Create also the root database in case of tests in podman rootless

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - systemtests/tests/py3plug-fd-postgresql/database/setup_local_db.sh.in Diff File

master f3b5cd8d

2024-01-29 09:20

Sebastian Sura

Ported: N/A

Details Diff
util: fix not checking return value of RAND_bytes()
mod - core/src/lib/util.cc Diff File
mod - core/src/lib/util.h Diff File
mod - core/src/stored/job.cc Diff File

master 355a4c0e

2024-01-29 08:50

Sebastian Sura

Ported: N/A

Details Diff
util: change MakeSessionKey api
mod - core/src/lib/util.cc Diff File
mod - core/src/lib/util.h Diff File
mod - core/src/stored/job.cc Diff File

master 79d989be

2024-01-29 08:15

Sebastian Sura

Ported: N/A

Details Diff
util: make MakeSessionKey use random data

This should make it unfeasable to guess the session key.
mod - core/src/lib/util.cc Diff File

master 90e8716b

2024-01-27 17:03

Christopher Fore


Committer: Bareos Bot

Ported: N/A

Details Diff
core: Fix compile errors on GCC 14

Starting in GCC 14, it will no longer include <algorithm> by default,
resulting in compile errors for various projects.

https://gcc.gnu.org/gcc-14/porting_to.html

Errors:

core/src/cats/sql_get.cc:1309:42: error: cannot convert
'std::vector<std::__cxx11::basic_string<char> >::iterator' to
`const char*'

1309 | jobids.erase(std::remove(jobids.begin(), jobids.end(),
remove_jobid),

core/src/stored/append.cc:78:3: error: `for_each' was not declared in
this scope

78 | for_each(attributes_.begin(), attributes_.end(),

core/src/dird/ua_prune.cc:897:27: error: `remove_if' is not a member
of `std'; did you mean `remove_cv'?

897 | prune_list.erase(std::remove_if(prune_list.begin(),
prune_list.end(),

Signed-off-by: Christopher Fore <csfore@posteo.net>
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/stored/append.cc Diff File

master c9e032e0

2024-01-26 18:16

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1670

Improve FreeBSD dependencies
mod - CHANGELOG.md Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/BareosCommonMakefile Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-database-postgresql/Makefile Diff File

master 41c54344

2024-01-26 18:16

Bareos Bot

Ported: N/A

Details Diff
Update CHANGELOG.md
mod - CHANGELOG.md Diff File

master 203a3c53

2024-01-26 13:45

Sebastian Sura

Ported: N/A

Details Diff
passive-test: fix not using passive client
mod - systemtests/tests/passive/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
mod - systemtests/tests/passive/testrunner Diff File

master 0ab7c243

2024-01-26 13:44

Sebastian Sura

Ported: N/A

Details Diff
stored: fix some bad string formats
mod - core/src/stored/dir_cmd.cc Diff File

master 9b4ca344

2024-01-26 13:05

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
socket-server: fix using global variables

Since our binary is not started correctly, we should not depend on the
state of global objects and instead create them manually when needed.
mod - core/src/dird/socket_server.cc Diff File

master 05c2c19b

2024-01-26 10:54

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
heartbeat: fix data race

Since both Jmsg and the heartbeat thread write to the director socket,
we need to enable locking!
mod - core/src/filed/heartbeat.cc Diff File

master 5dda458d

2024-01-26 10:02

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
heartbeat-interval: create test reproducing data race

This is done with a plugin that just spams job messages for a while.
mod - core/src/plugins/filed/CMakeLists.txt Diff File
add - core/src/plugins/filed/spam/spam.cc Diff File
mod - systemtests/tests/CMakeLists.txt Diff File
add - systemtests/tests/heartbeat-interval/CMakeLists.txt Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-sd.d/device/FileStorage.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/heartbeat-interval/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/heartbeat-interval/functions Diff File
add - systemtests/tests/heartbeat-interval/test-setup Diff File
add - systemtests/tests/heartbeat-interval/testrunner-check Diff File

master 849d36b2

2024-01-26 08:19

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
connection-pool: remove unused authenticated

Since all connections in the pool were always authenticated, we can
just remove that member and just assume that the connection is
authenticated.
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/ua_status.cc Diff File
mod - core/src/lib/connection_pool.cc Diff File
mod - core/src/lib/connection_pool.h Diff File

master f5d7f23d

2024-01-26 08:19

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
connection-pool: remove unused timeout
mod - core/src/lib/connection_pool.cc Diff File

master 8c2d988d

2024-01-26 07:36

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
connection-pool: add proper timeouts
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/socket_server.cc Diff File
mod - core/src/dird/ua_status.cc Diff File
mod - core/src/lib/connection_pool.cc Diff File
mod - core/src/lib/connection_pool.h Diff File

master 3021d971

2024-01-26 07:36

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
thread-util: make synchronized templated over mutex

This is needed in case you want to use timed mutex for example.
mod - core/src/lib/thread_util.h Diff File

master 9eb6ed62

2024-01-26 07:35

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
thread-util: add wait_until function
mod - core/src/lib/thread_util.h Diff File

master 9f29175d

2024-01-25 14:25

arogge

Ported: N/A

Details Diff
remove unused pkglists
rm - docs/pkglists/Debian_10.x86_64 Diff File
rm - docs/pkglists/EL_7.x86_64 Diff File
rm - docs/pkglists/SLE_12_SP5.x86_64 Diff File
rm - docs/pkglists/Solaris_11.4.i386 Diff File
rm - docs/pkglists/Solaris_11.4.sparc Diff File
rm - docs/pkglists/win32-debug Diff File
rm - docs/pkglists/win32-release Diff File
rm - docs/pkglists/win64-debug Diff File

master 21c6f768

2024-01-25 14:17

arogge

Ported: N/A

Details Diff
matrix: remove distros that will EOL this year

As the platforms that EOL this year are not a target for Bareos 24
anymore, we remove them from the build for master.
The platforms are:
- Debian 10
- RHEL 7
- SLES 12
mod - .matrix.yml Diff File
 First  Prev  1 2 3 ... 39 40 41 42 43 44 45 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last