Changesets: bareos

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

master e9c237be

2024-07-17 10:04

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
message: remove (basically) unused function
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/include/baconfig.h Diff File
mod - core/src/lib/message.cc Diff File

master c6066a2b

2024-07-16 15:22

Sebastian Sura


Committer: arogge

Ported: N/A

Details Diff
bdedup-estimate: fix null bytes in output
mod - core/src/tools/bdedup-estimate.cc Diff File

master 6d584fa4

2024-07-16 14:11

bruno-at-bareos


Committer: Bareos Bot

Ported: N/A

Details Diff
script: add --if-exists to dropdb

--if-exists is supported since a decade introduced with
PostgreSQL 9.2

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
(cherry picked from commit d75dcf420f7a120338058643097ed15b2ff12483)
mod - core/src/cats/drop_bareos_database.in Diff File

master cf64b681

2024-07-16 12:54

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
lex: refactor & rename lex structure
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/inc_conf.cc Diff File
mod - core/src/dird/run_conf.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/lib/lex.cc Diff File
mod - core/src/lib/lex.h Diff File
mod - core/src/lib/parse_bsr.cc 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_state_machine.cc Diff File
mod - core/src/lib/parse_conf_state_machine.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

master 74914c69

2024-07-16 09:54

bruno-at-bareos

Ported: N/A

Details Diff
matrix: set suse155 as default build

suse156 has a newer glibc 2.38.
mod - .matrix.yml Diff File

master 7d32f833

2024-07-16 08:56

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
parse-conf: rename function pointer types
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

master 28d58c51

2024-07-16 08:02

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
btape: fix wrong scanf format specifier
mod - core/src/stored/btape.cc Diff File

master 40d6ee88

2024-07-15 21:34

arogge

Ported: N/A

Details Diff
dplcompat: skip empty chunks when flushing

Uploading empty objects is pointless and can cause errors if the program
used does not support it.
mod - core/src/stored/backends/crud_storage.cc Diff File
mod - core/src/stored/backends/dplcompat_device.cc Diff File

master cb9c82af

2024-07-15 21:13

arogge

Ported: N/A

Details Diff
chunked_device: fix bogus selection of next chunk

When reopening a volume where the first chunk has data that was not yet
flushed, the device will setup a new chunk with a copy of the buffered
chunk data.
However, in this case the end_offset is bogus, which would in turn make
subsequent write requests think the chunk is full and make them skip to
the next chunk.
This fix sets the correct end_offset so the chunk is not considered
full.
mod - core/src/stored/backends/chunked_device.cc Diff File
 First  Prev  1 2 3 ... 40 41 42 43 44 45 46 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 671 672 673  Next  Last