Changesets: bareos

master df3bc2bd

2024-03-08 11:11

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1718

crypto_wrap: replace aes wrap with openssl aes wrap algorithm
mod - CHANGELOG.md Diff File
mod - core/src/dird/ua_label.cc Diff File
mod - core/src/lib/crypto_wrap.cc Diff File
mod - core/src/lib/crypto_wrap.h Diff File
mod - core/src/plugins/stored/scsicrypto/scsicrypto-sd.cc Diff File
mod - core/src/stored/askdir.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/wrap.cc Diff File
mod - core/src/tools/bscrypto.cc Diff File

master b2a0a4e4

2024-03-08 11:11

Bareos Bot

Ported: N/A

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

master 17e80105

2024-03-08 10:49

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dird-cmd: refactor
mod - core/src/filed/dir_cmd.cc Diff File

master fc92b10e

2024-03-08 08:55

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
parallel-jobs-test: ensure test order
mod - systemtests/tests/parallel-jobs/CMakeLists.txt Diff File

master 8a7f4bf5

2024-03-08 08:05

Sebastian Sura


Committer: arogge

Ported: N/A

Details Diff
ua-output: refactor GetJobidFromCmdline()
mod - core/src/dird/ua_output.cc Diff File

master 2bc2b6a6

2024-03-08 07:57

Sebastian Sura


Committer: arogge

Ported: N/A

Details Diff
ua-output: fix GetJobIdFromCmdline() return value

Sometimes -1 is returned on error, and sometimes 0 is returned. Now
it always returns -1 on error.
mod - core/src/dird/ua_output.cc Diff File

master f719acf7

2024-03-07 19:59

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1717

Bugfix: Clean up error handling in LDAP plugin, fix dependencies
mod - CHANGELOG.md Diff File
mod - core/src/plugins/filed/python/ldap/bareos-fd-ldap.py Diff File
mod - debian/control Diff File
mod - debian/control.bareos-filedaemon-python-plugins-common Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/LDAPPlugin.rst.inc Diff File
mod - systemtests/tests/py3plug-fd-ldap/CMakeLists.txt Diff File
add - systemtests/tests/py3plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/PluginFailingTest.conf.in Diff File
mod - systemtests/tests/py3plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in Diff File
add - systemtests/tests/py3plug-fd-ldap/testrunner-wrong_credentials Diff File

master eb2dfb48

2024-03-07 19:59

Bareos Bot

Ported: N/A

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

master e2561d54

2024-03-07 18:26

slederer

Ported: N/A

Details Diff
Update CMakeLists.txt
mod - systemtests/tests/py3plug-fd-ldap/CMakeLists.txt Diff File

master f4caed77

2024-03-07 16:32

arogge


Committer: Bareos Bot

Ported: N/A

Details Diff
dird: use GetArgValue() in ua_output.cc where feasible
mod - core/src/dird/ua_output.cc Diff File

master c9cacf46

2024-03-07 16:31

arogge


Committer: Bareos Bot

Ported: N/A

Details Diff
dird: add new function GetArgValue()

this function can simplify the current use of FindArgWithValue(). It
does the same thing, but instead of returning the index, it returns a
pointer to the value, or nullptr if the argument was not found or did
not have a value.
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_select.h Diff File

master 36e38f98

2024-03-07 15:17

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1713

build: Fix debugsource RPM package generation
mod - CHANGELOG.md Diff File
mod - CMakeLists.txt Diff File
add - cmake/BareosCcache.cmake Diff File
add - cmake/DebugEdit.cmake Diff File
add - cmake/PrefixMap.cmake Diff File
mod - core/CMakeLists.txt Diff File
mod - core/platforms/packaging/bareos.spec Diff File
mod - core/src/benchmarks/CMakeLists.txt Diff File
mod - core/src/cats/CMakeLists.txt Diff File
mod - core/src/console/CMakeLists.txt Diff File
mod - core/src/dird/CMakeLists.txt Diff File
mod - core/src/droplet/libdroplet/CMakeLists.txt Diff File
mod - core/src/fastlz/CMakeLists.txt Diff File
mod - core/src/filed/CMakeLists.txt Diff File
mod - core/src/findlib/CMakeLists.txt Diff File
mod - core/src/findlib/unittests/CMakeLists.txt Diff File
mod - core/src/lib/CMakeLists.txt Diff File
mod - core/src/lmdb/CMakeLists.txt Diff File
mod - core/src/ndmp/CMakeLists.txt Diff File
mod - core/src/plugins/dird/python/CMakeLists.txt Diff File
mod - core/src/plugins/filed/CMakeLists.txt Diff File
mod - core/src/plugins/filed/python/CMakeLists.txt Diff File
mod - core/src/plugins/stored/CMakeLists.txt Diff File
mod - core/src/plugins/stored/python/CMakeLists.txt Diff File
mod - core/src/qt-tray-monitor/CMakeLists.txt Diff File
mod - core/src/stored/CMakeLists.txt Diff File
mod - core/src/stored/backends/CMakeLists.txt Diff File
mod - core/src/tests/CMakeLists.txt Diff File
mod - core/src/tools/CMakeLists.txt Diff File
mod - core/src/vmware/vadp_dumper/CMakeLists.txt Diff File
mod - debian/rules Diff File
add - devtools/build-rpm.sh Diff File

master 241f5e95

2024-03-07 15:17

Bareos Bot

Ported: N/A

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

master ca40217a

2024-03-07 14:31

arogge


Committer: Bareos Bot

Ported: N/A

Details Diff
dbcheck: remove messages guarded by g_verbose > 1

As there is no way to set g_verbose to anything but 0 or 1 in dbcheck,
this code is unrechable and can be removed safely.
mod - core/src/dird/dbcheck.cc Diff File

master 689cc224

2024-03-07 10:00

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dird-jcr: fix bad use of condition variable
mod - core/src/dird/director_jcr_impl.h Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/jobq.cc Diff File
mod - core/src/dird/msgchan.cc Diff File

master 385bc7ad

2024-03-07 09:45

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
jcr: switch to std::mutex/std::unique_lock
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/msgchan.cc Diff File
mod - core/src/dird/ndmp_fhdb_common.cc Diff File
mod - core/src/dird/ndmp_fhdb_lmdb.cc Diff File
mod - core/src/dird/ndmp_fhdb_mem.cc Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/status.cc Diff File
mod - core/src/filed/verify.cc Diff File
mod - core/src/filed/verify_vol.cc Diff File
mod - core/src/include/jcr.h Diff File
mod - core/src/lib/jcr.cc Diff File
mod - core/src/stored/reserve.cc Diff File
mod - core/src/stored/status.cc Diff File

master 4ad05901

2024-03-07 09:44

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
thread-util: introduce locked::wait_until()
mod - core/src/lib/thread_util.h Diff File

master 20682c92

2024-03-07 09:35

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
stored: fix jcr->authenticate data race

The condition variable is not used correctly:

// reader
1| while (!unprotected) {
2| wait(cond_var)
}
// writer

3| unprotected = true;
4| signal(cond_var)

The execution order 1->3->4->2 will cause a deadlock. This is why the
wait command takes a mutex: Everything that might change the
condition to be true needs to lock the mutex, this way we can ensure
that we either see the updated value or the wait sees the signal.

Since jcr->authenticate is used all over the place in a lot of
different situations, this problem could not be easily fixed by just
protecting that variable (we do not want weird deadlocks to happen
after all).

We just do not rely on jcr->authenticate anymore when it comes to
waiting on job start. Instead we have a single, properly protected
bool `client_available` that we can wait on.
This bool obviously needs to be set by whoever authenticates the FD/SD
connection, otherwise the job will deadlock. But at least that is
easily fixable.
mod - core/src/stored/dir_cmd.cc Diff File
mod - core/src/stored/fd_cmds.cc Diff File
mod - core/src/stored/job.cc Diff File
mod - core/src/stored/ndmp_tape.cc Diff File
mod - core/src/stored/sd_cmds.cc Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_jcr_impl.h Diff File

master dd0200e5

2024-03-07 07:38

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dedup-estimate-doc: add man page to table of contents
mod - docs/manuals/source/Appendix/BareosPrograms.rst Diff File

master 8a72eef9

2024-03-06 21:18

slederer


Committer: Bareos Bot

Ported: N/A

Details Diff
docs: fix Pool explanation for migration jobs

- describe the effect of the Pool statement for Copy and Migration jobs
correctly in case of "SQL Query" selection type
- fix example configuration
mod - docs/manuals/source/TasksAndConcepts/MigrationAndCopy.rst Diff File
mod - docs/manuals/source/include/config/DirSelectionPatterns-sql1.conf Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-job-Pool.rst.inc Diff File
mod - docs/manuals/source/manually_added_config_directive_descriptions/dir-job-SelectionPattern.rst.inc Diff File

master 48271b59

2024-03-06 14:00

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1639

Add backport tool
mod - CHANGELOG.md Diff File
add - devtools/pip-tools/.gitignore Diff File
mod - devtools/pip-tools/Pipfile Diff File
mod - devtools/pip-tools/Pipfile.lock Diff File
rm - devtools/pip-tools/check_sources.egg-info/PKG-INFO Diff File
rm - devtools/pip-tools/check_sources.egg-info/SOURCES.txt Diff File
rm - devtools/pip-tools/check_sources.egg-info/dependency_links.txt Diff File
rm - devtools/pip-tools/check_sources.egg-info/entry_points.txt Diff File
rm - devtools/pip-tools/check_sources.egg-info/top_level.txt Diff File
add - devtools/pip-tools/pr_tool/backport.py Diff File
add - devtools/pip-tools/pr_tool/backport_pr_template.md Diff File
add - devtools/pip-tools/pr_tool/github.py Diff File
mod - devtools/pip-tools/pr_tool/main.py Diff File

master b1de0ac9

2024-03-06 13:59

arogge

Ported: N/A

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

master f6d42929

2024-03-05 10:18

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dedup-estimate: stop building on windows
mod - core/src/tools/CMakeLists.txt Diff File

master c9fc66d3

2024-03-05 10:15

Sebastian Sura


Committer: arogge

Ported: N/A

Details Diff
vbackup: add always incremental check

We should not run if always incremental is set but no jobids are given
since this will otherwise cause the VF to consolidate ALL the current
jobs into one full, which is definitely not what you want.
mod - core/src/dird/vbackup.cc Diff File

master efed11bd

2024-03-05 08:14

Sebastian Sura

Ported: N/A

Details Diff
wrap: add official test data

See: https://datatracker.ietf.org/doc/html/rfc3394.html#section-4.1
mod - core/src/tests/wrap.cc Diff File
 First  Prev  1 2 3 ... 55 56 57 58 59 60 61 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 665 666 667  Next  Last