Changesets: bareos

master 0fa758f2

2024-07-19 10:42

arogge

Ported: N/A

Details Diff
cmake: enable PIC at the top of CMakeLists.txt

just to make sure everything is built with PIC enabled, we move the
flag to the very top of CMakeLists.txt
mod - CMakeLists.txt Diff File

master aad54744

2024-07-19 10:41

arogge

Ported: N/A

Details Diff
cmake: rename BareosCPM -> BareosCpmPackages

as the file declares the CPM packages that Bareos is going to use, this
should make things a bit easier to find.
mod - CMakeLists.txt Diff File

master 9c2f0b08

2024-07-19 10:26

arogge

Ported: N/A

Details Diff
tests: re-enable test for empty alists
mod - core/src/tests/alist_test.cc Diff File

master 412dd10f

2024-07-19 08:17

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
lex: add correct newline parsing
mod - core/src/lib/lex.cc Diff File

master 3cc7ef64

2024-07-19 07:46

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
dird-conf: add consistency check to autopassword parsing

Both pass1 and pass2 should agree on what kind of password is getting
parsed. If Protocol is defined last and set to
something requiring clear text passwords, then this would fail as
bareos loads an md5 password instead.
mod - core/src/dird/dird_conf.cc Diff File

master 1fbf0465

2024-07-19 07:27

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
test-bsnprintf: use to_chars as oracle in tests
mod - core/src/tests/test_bsnprintf.cc Diff File

master b436ef59

2024-07-19 07:24

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
parser: fix not setting `rcode_' in the second pass
mod - core/src/lib/parse_conf_init_resource.cc Diff File

master 963a23f0

2024-07-19 07:23

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
filed: fix nullptr access

We accessed a nullptr if the program quits during the parsing stage as
me is not yet initialized.
mod - core/src/filed/filed.cc Diff File

master 3255b885

2024-07-18 17:57

arogge

Ported: N/A

Details Diff
stored: dplcompat: don't timeout while doing I/O

Previously, when upload or download operations did not finish within the
hard-coded timeout of 30 seconds, the process was killed and the
operation considered a failure.
We now reset the timeout after every read and write operation. So as
long as some I/O is happening at least every 30 seconds, the operation
will not time out.
mod - core/src/stored/backends/crud_storage.cc Diff File

master 1b9a2e1c

2024-07-18 17:50

arogge

Ported: N/A

Details Diff
lib: child-btimers: add dead-man-switch

You can now signal a child-timer that the child is behaving correctly,
even though it won't finish within the timeout.
By calling TimerChildOperatesProperly(btimer_t&) a flag will be set that
will make the timer defer the killing of the child.

This commit also adds some basic testing for bpipe.
mod - core/src/lib/btimers.cc Diff File
mod - core/src/lib/btimers.h Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/test_bpipe.cc Diff File

master 64381562

2024-07-18 15:43

arogge

Ported: N/A

Details Diff
lib: refactor btimers

* rename start_child_timer -> StartChildTimer
* rename start_thread_timer -> StartThreadTimer
mod - core/src/filed/backup.cc Diff File
mod - core/src/findlib/create_file.cc Diff File
mod - core/src/lib/bpipe.cc Diff File
mod - core/src/lib/bsock_tcp.cc Diff File
mod - core/src/lib/btimers.cc Diff File
mod - core/src/lib/btimers.h Diff File
mod - core/src/stored/backends/unix_fifo_device.cc Diff File
mod - core/src/stored/backends/win32_fifo_device.cc Diff File
mod - core/src/win32/compat/compat.cc Diff File

master b5a2150b

2024-07-18 15:27

arogge

Ported: N/A

Details Diff
lib: minor refactorign on watchdog

* rename new_watchdog -> NewWatchdog
* macro TIMEOUT_SIGNAL -> static constexpr int
* rename TIMEOUT_SIGNAL -> kTimeoutSignal
* remove watchdog_sleep_time from header
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/msgchan.cc Diff File
mod - core/src/dird/sd_cmds.cc Diff File
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/heartbeat.cc Diff File
mod - core/src/lib/btimers.cc Diff File
mod - core/src/lib/jcr.cc Diff File
mod - core/src/lib/signal.cc Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/watchdog.cc Diff File
mod - core/src/lib/watchdog.h Diff File
mod - core/src/stored/dir_cmd.cc Diff File
mod - core/src/stored/stored.cc Diff File

master a7fa670a

2024-07-18 14:13

arogge

Ported: N/A

Details Diff
Revert "gitignore: ignore __pycache__ everywhere"

This reverts commit 26b86b70b48a6fe7901bf96bc52241d89b98451a.

If you want to ignore something, just add it to your per-user gitignore
file in `$XDG_CONFIG_HOME/git/ignore`.
mod - .gitignore Diff File
mod - python-bareos/.gitignore Diff File

master 5829acd0

2024-07-18 13:53

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
res: fix formating for checking md5 pw
mod - core/src/lib/res.cc Diff File

master 02539c37

2024-07-18 13:53

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
res: fix not checking md5 pw
mod - core/src/lib/res.cc Diff File

master b5f8cbfe

2024-07-18 13:52

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
res: fix checking incorrect member for empty password

item->code for autopasswords discriminates between cleartext & md5
in-memory-storage. item->flags may have CFG_ITEM_REQUIRED set.
mod - core/src/lib/res.cc Diff File

master 3338421d

2024-07-18 13:51

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
res: fix using Emsg instead of scan_err
mod - core/src/lib/res.cc Diff File

master ed5ca6a5

2024-07-18 10:07

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
unit-tests: add additional bsnprintf & poolmem tests
mod - core/src/tests/test_bsnprintf.cc Diff File
mod - core/src/tests/test_poolmem.cc Diff File

master f1cad2dc

2024-07-18 10:07

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
breg: fix out-of-bounds write
mod - core/src/lib/breg.cc Diff File

master 590f43af

2024-07-18 10:06

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
mem-pool: fix formatting for 0 size POOLMEM
mod - core/src/lib/mem_pool.cc Diff File

master d215db2c

2024-07-18 07:17

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
message: remove special case for formatting
mod - core/src/lib/mem_pool.cc Diff File
mod - core/src/lib/message.cc Diff File

master fe6f2550

2024-07-17 23:01

stephand


Committer: Bareos Bot

Ported: N/A

Details Diff
VMware Plugin: Suggested changes for PR#1876

add_disk_devices_to_vm() now always sets the backing filename to
contain the datastore name only, so that won't the exception
vim.fault.FileAlreadyExists won't happen. Instead any unexpected
exception when adding a disk is handled now with a limited number
of retries. Also a job message is emitted, when the backing
filename of the created disk does not match the expected one.

Renamed the plugin option to restore_allow_disks_mismatch, but with
the change described above, it's probably not needed even when
using VSAN.
mod - core/src/plugins/filed/python/vmware/bareos-fd-vmware.py Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/VMwarePlugin.rst.inc Diff File

master 34f6fc9e

2024-07-17 13:26

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
xattr: unify some error reporting
mod - core/src/findlib/xattr.cc Diff File

master 4a83265b

2024-07-17 10:50

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
core: remove some custom formatting
mod - core/src/console/console_output.cc Diff File
mod - core/src/dird/bsr.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/lib/bnet.cc Diff File
mod - core/src/lib/bsnprintf.cc Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/lex.cc Diff File
mod - core/src/lib/message.cc Diff File
mod - core/src/lib/parse_bsr.cc Diff File
mod - core/src/win32/compat/compat.cc Diff File

master f3a9ad75

2024-07-17 10:49

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
mem-pool: introduce PmFormat/PmVFormat
mod - core/src/lib/mem_pool.cc Diff File
mod - core/src/lib/mem_pool.h Diff File
 First  Prev  1 2 3 ... 58 59 60 61 62 63 64 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 689 690 691  Next  Last