]> git.ipfire.org Git - thirdparty/bacula.git/log
thirdparty/bacula.git
2 years agoregress: update runscript-test for cancel status
Eric Bollengier [Mon, 13 Feb 2023 19:17:49 +0000 (20:17 +0100)] 
regress: update runscript-test for cancel status

2 years agoAllow to cancel a job in the jobq with the runscript exit status 2
Eric Bollengier [Mon, 13 Feb 2023 17:11:53 +0000 (18:11 +0100)] 
Allow to cancel a job in the jobq with the runscript exit status 2

2 years agoregress: redurce verify-data-test verbosity
Eric Bollengier [Fri, 10 Feb 2023 14:18:06 +0000 (15:18 +0100)] 
regress: redurce verify-data-test verbosity

2 years agoregress: Tweak runscript-test
Eric Bollengier [Wed, 18 Jan 2023 17:57:28 +0000 (18:57 +0100)] 
regress: Tweak runscript-test

2 years agoAdd runscript RunsWhen=Queue to create advanced job queue management scripts
Eric Bollengier [Wed, 14 Dec 2022 18:57:43 +0000 (19:57 +0100)] 
Add runscript RunsWhen=Queue to create advanced job queue management scripts

2 years agoFix .status storage devices output
Eric Bollengier [Wed, 14 Dec 2022 15:12:24 +0000 (16:12 +0100)] 
Fix .status storage devices output

2 years agoregress: Add test for list restoreobjects client= command
Eric Bollengier [Wed, 18 Jan 2023 17:28:23 +0000 (18:28 +0100)] 
regress: Add test for list restoreobjects client= command

2 years agoAdd list restoreobject client= option
Eric Bollengier [Mon, 21 Nov 2022 15:24:20 +0000 (16:24 +0100)] 
Add list restoreobject client= option

2 years agowin32: fix HRESULT constant mismatch between signed and unsigned
Alain Spineux [Thu, 2 Feb 2023 13:32:54 +0000 (14:32 +0100)] 
win32: fix HRESULT constant mismatch between signed and unsigned

- HRESULT is a 32bits signed value
- some constant are >= 0x80000000 that are out of the range of a signed 32
- An alternative would be to set the type casting inside the .h file in the
  depkgs directory
- this concern (in 64bits)
- VSS_E_INVALID_XML_DOCUMENT
- VSS_E_OBJECT_NOT_FOUND
- VSS_E_BAD_STATE
- VSS_E_WRITER_INFRASTRUCTURE
- VSS_E_WRITER_NOT_RESPONDING

2 years agoFix aix compilation
Eric Bollengier [Fri, 3 Feb 2023 15:22:42 +0000 (16:22 +0100)] 
Fix aix compilation

2 years agoregress: Add test for list reviewed command
Eric Bollengier [Tue, 31 Jan 2023 09:23:57 +0000 (10:23 +0100)] 
regress: Add test for list reviewed command

2 years agoAdd bconsole command 'list jobs reviewed=<0|1>'
Eric Bollengier [Tue, 31 Jan 2023 09:01:42 +0000 (10:01 +0100)] 
Add bconsole command 'list jobs reviewed=<0|1>'

2 years agofix key-manager.py local variable 'crypto_ctx' referenced before assignment
Alain Spineux [Tue, 31 Jan 2023 10:53:23 +0000 (11:53 +0100)] 
fix key-manager.py local variable 'crypto_ctx' referenced before assignment

2023-01-31 11:55:22 ERR key-manager.py:471 unhandled exception in getkey0
Traceback (most recent call last):
  File "/home/bac/workspace/bee/regress/bin/key-manager.py", line 469, in getkey
    getkey0(args)
  File "/home/bac/workspace/bee/regress/bin/key-manager.py", line 409, in getkey0
    crypto_ctx=get_crypto_ctx_from_config(args, volume_name)
  File "/home/bac/workspace/bee/regress/bin/key-manager.py", line 310, in get_crypto_ctx_from_config
    return crypto_ctx
UnboundLocalError: local variable 'crypto_ctx' referenced before assignment

2 years agoregress: add simple volume encryption test volenc-test
Alain Spineux [Fri, 13 Jan 2023 16:41:46 +0000 (17:41 +0100)] 
regress: add simple volume encryption test volenc-test

- un-comment some lines to check error conditions
- all error condition need to be automated

2 years agotweak install-key-manager.sh & key-manager.py
Alain Spineux [Fri, 13 Jan 2023 16:39:51 +0000 (17:39 +0100)] 
tweak install-key-manager.sh & key-manager.py

- check for python gnupg module
- make key-manager works when no regex match the volume name

2 years agoFix AIX compilation
Eric Bollengier [Fri, 13 Jan 2023 12:13:05 +0000 (13:13 +0100)] 
Fix AIX compilation

2 years agoFix compilation for AIX
Eric Bollengier [Thu, 12 Jan 2023 16:37:08 +0000 (17:37 +0100)] 
Fix compilation for AIX

2 years agoUse the malware command name as description rather than "user defined"
Eric Bollengier [Tue, 10 Jan 2023 17:18:05 +0000 (18:18 +0100)] 
Use the malware command name as description rather than "user defined"

2 years agoregress: Fix verify-cat-test and verify-vol-test
Eric Bollengier [Wed, 11 Jan 2023 14:01:21 +0000 (15:01 +0100)] 
regress: Fix verify-cat-test and verify-vol-test

2 years agoregress: Fix status-test script
Eric Bollengier [Tue, 10 Jan 2023 14:07:36 +0000 (15:07 +0100)] 
regress: Fix status-test script

2 years agoregress: cleanup gnupg home
Alain Spineux [Thu, 12 Jan 2023 13:51:13 +0000 (14:51 +0100)] 
regress: cleanup gnupg home

2 years agoimprove the key-manager to better support master-key
Alain Spineux [Thu, 12 Jan 2023 13:50:07 +0000 (14:50 +0100)] 
improve the key-manager to better support master-key

- get gnupghome from key-manager.conf or from install script
- better error reporting to the SD

2 years agoregress: volenc-mkey-test test master-key
Alain Spineux [Tue, 10 Jan 2023 17:19:47 +0000 (18:19 +0100)] 
regress: volenc-mkey-test test master-key

- basic test

2 years agonew installation script install-volume-encryption.sh
Alain Spineux [Tue, 10 Jan 2023 16:49:15 +0000 (17:49 +0100)] 
new installation script install-volume-encryption.sh

- the script setup a default the etc/key-manager.conf and initialize
  gnupg in etc/gnupg

2 years agoasync.sh: sync the .in files
Alain Spineux [Fri, 6 Jan 2023 13:39:14 +0000 (14:39 +0100)] 
async.sh: sync the .in files

- unfortunately this don't replace the @xxx@ :-(

2 years agoregress: tweak the key-manager call to not use the master-key by default
Alain Spineux [Fri, 6 Jan 2023 13:28:03 +0000 (14:28 +0100)] 
regress: tweak the key-manager call to not use the master-key by default

2 years agoAdd basic master-key support to key-manager
Alain Spineux [Fri, 6 Jan 2023 13:07:16 +0000 (14:07 +0100)] 
Add basic master-key support to key-manager

- add a configuration file to the key-manager to setup the master-key
- increase "encoded-key" size in the SD to support gnupg encrypted "blob"

2 years agoremove xxh_x86dispatch.c that was unused from Makefile
Alain Spineux [Thu, 12 Jan 2023 10:20:34 +0000 (11:20 +0100)] 
remove xxh_x86dispatch.c that was unused from Makefile

- of course this don't compile on AIX and other non intel CPU

2 years agoCloud: Fix #9799 Add objects_default_tiers support into bsdjson
norbert.bizet [Wed, 11 Jan 2023 14:52:12 +0000 (09:52 -0500)] 
Cloud: Fix #9799 Add objects_default_tiers support into bsdjson

2 years agoCloud: Fix #9747 Fatal error prevents catalog update so Volume was never set in error.
norbert.bizet [Tue, 10 Jan 2023 10:47:43 +0000 (05:47 -0500)] 
Cloud: Fix #9747 Fatal error prevents catalog update so Volume was never set in error.

2 years ago!! handle the Jmsg at an upper level when required
Alain Spineux [Fri, 6 Jan 2023 16:11:13 +0000 (17:11 +0100)] 
!! handle the Jmsg at an upper level when required

The goal is to allow the "next_volume" to work in a backup and in last
resort to finish by a mount request

This Jmsg was handy, it was avoiding to handle the error a the caller level
and sometime at the caller+2 level
Here they are

DEVICE::load_encryption_key(DCR *, const char *, const char *, u_int32_t *, unsigned char *, u_int32_t *, unsigned char *) : bool
DEVICE::read_dev_volume_label(DCR *) : int
acquire_device_for_read(DCR *, u_int32_t) : bool
aligned_dev::read_dev_volume_label(DCR *) : int
cloud_dev::read_dev_volume_label(DCR *) : int
DCR::check_volume_label(bool &, bool &) : int
device_initialization(void *) : void *
label_volume_if_ok(DCR *, char *, char *, char *, int, int) : void
mount_cmd(JCR *) : bool
read_label(DCR *) : bool
read_volume_label(JCR *, DCR *, DEVICE *, int) : void
readlabelcmd() : void
DEVICE::rewrite_volume_label(DCR *, bool) : bool
cloud_dev::rewrite_volume_label(DCR *, bool) : bool
DCR::mount_next_write_volume() : bool
DEVICE::write_volume_label(DCR *, const char *, const char *, bool, bool) : bool
cloud_dev::write_volume_label(DCR *, const char *, const char *, bool, bool) : bool
DCR::try_autolabel(bool) : int
label_volume_if_ok(DCR *, char *, char *, char *, int, int) : void
labelcmd() : void

2 years agofix Cannot free Volume XXX, because it is reserved by someone else
Alain Spineux [Fri, 6 Jan 2023 12:36:04 +0000 (13:36 +0100)] 
fix Cannot free Volume XXX, because it is reserved by someone else

- when something goes wrong, sometime, the volume_unused() is not called
  and the volume stay stuck
- always call volume_unused() in the "check_bail_out:"
- load_encryption_key() can return a new error: VOL_ENC_ERROR
  that will trigger the call to volume_unused()

2 years agotypo in Dmsg
Alain Spineux [Thu, 5 Jan 2023 15:25:09 +0000 (16:25 +0100)] 
typo in Dmsg

2 years agoadjust antivirus-test to new jobid selection
norbert.bizet [Thu, 5 Jan 2023 13:44:12 +0000 (08:44 -0500)] 
adjust antivirus-test to new jobid selection

2 years agoFix #9780 allow multiple jobids in fileevents request
Eric Bollengier [Thu, 5 Jan 2023 13:43:21 +0000 (08:43 -0500)] 
Fix #9780 allow multiple jobids in fileevents request

2 years agoFix #9786 About tab completion issue
Eric Bollengier [Wed, 4 Jan 2023 14:27:03 +0000 (15:27 +0100)] 
Fix #9786 About tab completion issue

Issue introduced by "Improve .help to display information about dot-commands"

2 years agoFix #9791 About incorrect connection message generated during a Virtual Full
Eric Bollengier [Wed, 4 Jan 2023 14:16:36 +0000 (15:16 +0100)] 
Fix #9791 About incorrect connection message generated during a Virtual Full

Issue introduced in 14.1

2 years agoFix #9781 About adding "list fileevents" to the help command output
Eric Bollengier [Wed, 4 Jan 2023 12:49:21 +0000 (13:49 +0100)] 
Fix #9781 About adding "list fileevents" to the help command output

2 years agoFix #9790 Enhance Malware error message
Eric Bollengier [Wed, 4 Jan 2023 12:42:54 +0000 (13:42 +0100)] 
Fix #9790 Enhance Malware error message

2 years agoCloud: Add a test that manually delete part.1 so it's correctly restored from cloud
norbert.bizet [Wed, 21 Dec 2022 14:40:20 +0000 (09:40 -0500)] 
Cloud: Add a test that manually delete part.1 so it's correctly restored from cloud

2 years agoFix #9764 Abort a job if a PluginOptions is incorrect
Eric Bollengier [Wed, 21 Dec 2022 09:35:31 +0000 (10:35 +0100)] 
Fix #9764 Abort a job if a PluginOptions is incorrect

If a plugin is not installed and is specified with the Job PluginOptions, the
job simply terminated "Verify OK"

With other plugins, like the vSphere plugin, if the plugin is not installed,
but a Fileset calls it, we get a failed job and a warning about "command not
found" or similar.

The important part here is that if the plugin is missing, we end up with False
negatives that a sysadmin should be notified about.

2 years agoFix #9765 About FileEvent table permission on Redhat
Eric Bollengier [Wed, 21 Dec 2022 08:59:48 +0000 (09:59 +0100)] 
Fix #9765 About FileEvent table permission on Redhat

2 years agoInstall malware database tools to exepath
Eric Bollengier [Tue, 20 Dec 2022 17:41:37 +0000 (18:41 +0100)] 
Install malware database tools to exepath

2 years agoFix #9712 about SHA256 size detection for malware
Eric Bollengier [Tue, 20 Dec 2022 17:38:29 +0000 (18:38 +0100)] 
Fix #9712 about SHA256 size detection for malware

2 years agoUse number/limit on status schedule output
Eric Bollengier [Tue, 20 Dec 2022 17:30:38 +0000 (18:30 +0100)] 
Use number/limit on status schedule output

2 years agoImprove .help to display information about dot-commands
Eric Bollengier [Tue, 20 Dec 2022 17:07:35 +0000 (18:07 +0100)] 
Improve .help to display information about dot-commands

2 years agoFix connection information in verify and virtualfull jobs
Eric Bollengier [Tue, 20 Dec 2022 09:02:15 +0000 (10:02 +0100)] 
Fix connection information in verify and virtualfull jobs

2 years agoregress: Fix read-only-device-test
Eric Bollengier [Tue, 20 Dec 2022 08:49:42 +0000 (09:49 +0100)] 
regress: Fix read-only-device-test

2 years agoregress: Fix store-mngr-leastused-test
Eric Bollengier [Mon, 19 Dec 2022 17:44:54 +0000 (18:44 +0100)] 
regress: Fix store-mngr-leastused-test

2 years agoregress: Fix totp-auth-plugin-test
Eric Bollengier [Mon, 19 Dec 2022 16:40:59 +0000 (17:40 +0100)] 
regress: Fix totp-auth-plugin-test

2 years agoregress: Fix daemon-connection-xxx tests
Eric Bollengier [Mon, 19 Dec 2022 16:17:08 +0000 (17:17 +0100)] 
regress: Fix daemon-connection-xxx tests

2 years agoregress: Fix portability of network-error-test
Eric Bollengier [Mon, 19 Dec 2022 15:20:59 +0000 (16:20 +0100)] 
regress: Fix portability of network-error-test

2 years agoAdd connection message back in Copy/Migration job log
Eric Bollengier [Mon, 19 Dec 2022 15:32:00 +0000 (16:32 +0100)] 
Add connection message back in Copy/Migration job log

2 years agoFix catalog's update procedure for JobHisto
Eric Bollengier [Mon, 19 Dec 2022 15:06:34 +0000 (16:06 +0100)] 
Fix catalog's update procedure for JobHisto

2 years agoregress: Fix double EncryptionCommand in regress
Eric Bollengier [Mon, 19 Dec 2022 08:33:43 +0000 (09:33 +0100)] 
regress: Fix double EncryptionCommand in regress

2 years agoFix schema for old MySQL
Eric Bollengier [Fri, 16 Dec 2022 17:54:16 +0000 (18:54 +0100)] 
Fix schema for old MySQL

2 years agoCloud: change MaximumVolumeParts type to 32bits
norbert.bizet [Fri, 16 Dec 2022 15:57:15 +0000 (10:57 -0500)] 
Cloud: change MaximumVolumeParts type to 32bits

2 years agoFix #9742 About incorrect checksum type detection for Malware checking
Eric Bollengier [Thu, 15 Dec 2022 09:55:01 +0000 (10:55 +0100)] 
Fix #9742 About incorrect checksum type detection for Malware checking

2 years agoImprove connection error message with a different code for each target component
Eric Bollengier [Thu, 15 Dec 2022 09:11:14 +0000 (10:11 +0100)] 
Improve connection error message with a different code for each target component

2 years agoChange connection error code to distinguish from TLS errors
Eric Bollengier [Thu, 15 Dec 2022 08:42:18 +0000 (09:42 +0100)] 
Change connection error code to distinguish from TLS errors

2 years agoregress: Schedule new test
Eric Bollengier [Wed, 14 Dec 2022 10:13:35 +0000 (11:13 +0100)] 
regress: Schedule new test

2 years agoregress: Add test to check fileset content overview
Eric Bollengier [Wed, 14 Dec 2022 10:13:11 +0000 (11:13 +0100)] 
regress: Add test to check fileset content overview

2 years agoAdd Content preview to FileSet catalog record.
Eric Bollengier [Mon, 12 Dec 2022 20:15:00 +0000 (21:15 +0100)] 
Add Content preview to FileSet catalog record.

The FileSet catalog record is now created during the Director startup,
it was done during the Job creation.

The Content field will represent the FileSet overview.
If the FileSet has files and directories, it will contain "files"
If the FileSet has plugin entries, each plugin will be added to
the Content field.

Ex:
Content="files,mysql,postgresql"

2 years agoAdd client=x filter to ".status dir running"
Eric Bollengier [Mon, 12 Dec 2022 20:14:51 +0000 (21:14 +0100)] 
Add client=x filter to ".status dir running"

2 years agoUpdate pid file after a reload
Eric Bollengier [Mon, 12 Dec 2022 16:25:16 +0000 (17:25 +0100)] 
Update pid file after a reload

2 years agoupdate docker and kubernetes image to 07Dec22
Eric Bollengier [Wed, 7 Dec 2022 17:46:23 +0000 (18:46 +0100)] 
update docker and kubernetes image to 07Dec22

2 years agosetup default value for Encryption Command in bacula-sd.conf
Alain Spineux [Fri, 9 Dec 2022 15:37:53 +0000 (16:37 +0100)] 
setup default value for Encryption Command in bacula-sd.conf

- like this: Encryption Command = "@scriptdir@/key-manager.py getkey"

2 years agoFix #9724 empty EncryptionCommand crash the SD
Alain Spineux [Fri, 9 Dec 2022 14:36:57 +0000 (15:36 +0100)] 
Fix #9724 empty EncryptionCommand crash the SD

- fix edit_device_codes() to handle NULL has empty format string
- test for empty EncryptionCommand at runtime and report a FATAL error.
  tested for "label" and "run"

2 years agoFix #9729 bad volume label BlockVer field
Alain Spineux [Fri, 9 Dec 2022 09:04:59 +0000 (10:04 +0100)] 
Fix #9729 bad volume label BlockVer field

- get BB02 or BB03 instead of BB%d

2 years agok8s: Fix #9727 NoneType object is not subscriptable
Alain Spineux [Thu, 8 Dec 2022 09:31:17 +0000 (10:31 +0100)] 
k8s: Fix #9727 NoneType object is not subscriptable

- the code for get_pvcs() has changed and expect a tuple instead
  of a dictionary
- also change get_pods() that don't handle error correctly
- the upstream code can handle a missing self.k8s['pvcs']
  and will handle better pvcs_counter=0 and pods_counter=0 than
  with an invalid value

2 years agocloud: Fix #9714 introduce max_vol_parts_num variable to limit cloud volumes parts...
norbert.bizet [Tue, 6 Dec 2022 16:50:07 +0000 (11:50 -0500)] 
cloud: Fix #9714 introduce max_vol_parts_num variable to limit cloud volumes parts count

2 years agofix wrong "Last Volume Bytes" in VirtualFull
Alain Spineux [Tue, 6 Dec 2022 10:35:08 +0000 (11:35 +0100)] 
fix wrong "Last Volume Bytes" in VirtualFull

- the data was coming from the last volume that was READ instead
  of the last WTRITTEN one
- the problem don't show up in copy/migrate
- unify the code to retrieve this information for VF & MAC
  - extent get_job_volume_names() to also return the last written volume

2 years agotweak bdb_get_media_record() don't duplicate the field twice
Alain Spineux [Tue, 6 Dec 2022 10:31:39 +0000 (11:31 +0100)] 
tweak bdb_get_media_record() don't duplicate the field twice

- just make the "WHERE" clause vary
- this reduce the risk of having the field in a different order in
  both query

2 years agoshow a warning when trying to read encrypted volume on un-encrypted device
Alain Spineux [Thu, 1 Dec 2022 12:33:43 +0000 (13:33 +0100)] 
show a warning when trying to read encrypted volume on un-encrypted device

- this can happens only when the user try to cheat the SD

2 years agotweak improve code readability in cancel_cmd
Alain Spineux [Thu, 1 Dec 2022 10:45:28 +0000 (11:45 +0100)] 
tweak improve code readability in cancel_cmd

- it is useless to test for nb != -1 because nb is always >=0
- maybe the idea behind the comment was to test for ret and not nb ???
- &= is a bitwise operator, not for boolean
- notice that the two lines below don't work the same because
    ret = cancel_job(ua, jcr, 60, cancel) && ret;
    ret = ret && cancel_job(ua, jcr, 60, cancel);
  I chose the first one, but maybe because of the comment that I have
  removed, we should use the first one

2 years agotweak error code in block_utils.c
Alain Spineux [Wed, 30 Nov 2022 10:43:21 +0000 (11:43 +0100)] 
tweak error code in block_utils.c

- there was 4 time the same code to handle a wrong BB0X header,
  remove 3 of them and let the final "else" handle these errors
- there is no reason to handle any xxx3 as BB03 and LATER check if it is
  BB03 and complain if it is not
- also used asciidump() to dump the bad ID to avoid invalid unicode char

2 years agoFix #9682: give a name instead of a number for stream that are unexpected
Alain Spineux [Mon, 28 Nov 2022 11:29:04 +0000 (12:29 +0100)] 
Fix #9682: give a name instead of a number for stream that are unexpected

- notice that I have changed "Unknown" into "Unexpected"
- I also use asciidump() to dump the raw data inDmsg() instead of just a %s

bextract JobId 0: Error: Unknown stream=20 ignored. This shouldn't happen!
become
bextract JobId 0: Error: Unexpected stream="Encrypted File data" ignored. This shouldn't happen!

2 years agobscan: initialize the volume type using the device type
Alain Spineux [Mon, 28 Nov 2022 09:20:23 +0000 (10:20 +0100)] 
bscan: initialize the volume type using the device type

- bscan was initializing this value to ZERO and this was working as
  expected because we include ZERO in our SQL query, like in :
  AND VolType IN (0,%d)", mr->VolType)
- I have tested this with File (1) and Dedup (15) devices

2 years agoregress: fix the 3 verify tests
Alain Spineux [Fri, 25 Nov 2022 15:57:17 +0000 (16:57 +0100)] 
regress: fix the 3 verify tests

- the estate was set before a stop_bacula/run_bacula, move the
  test at the end
- the "!verified" was not set appropriately in the tests

2 years agoregress: fix verify-data-test for Volume encryption
Alain Spineux [Fri, 25 Nov 2022 13:08:15 +0000 (14:08 +0100)] 
regress: fix verify-data-test for Volume encryption

- one more time

2 years agoFix #9715 add VolEncrypted field when upgrading the Catalog
Alain Spineux [Fri, 2 Dec 2022 16:27:38 +0000 (17:27 +0100)] 
Fix #9715 add VolEncrypted field when upgrading the Catalog

- update files in updatedb, files in src/cats where already up2date

2 years agoFix #9719 About upgrade issue with grant_postgresql_privileges script
Eric Bollengier [Mon, 5 Dec 2022 08:50:40 +0000 (09:50 +0100)] 
Fix #9719 About upgrade issue with grant_postgresql_privileges script

2 years agoimprove code for volume selection for encrypted volumes
Alain Spineux [Thu, 24 Nov 2022 12:22:10 +0000 (13:22 +0100)] 
improve code for volume selection for encrypted volumes

2 years agoregress: add volume encryption tests
Alain Spineux [Wed, 23 Nov 2022 15:08:36 +0000 (16:08 +0100)] 
regress: add volume encryption tests

2 years agoregress: change VolumeEncryption parameters from enable to yes
Alain Spineux [Tue, 22 Nov 2022 09:43:04 +0000 (10:43 +0100)] 
regress: change VolumeEncryption parameters from enable to yes

2 years agoFix #9689 VolumeEncryption parameters must be yes|no|strong
Alain Spineux [Tue, 22 Nov 2022 09:41:24 +0000 (10:41 +0100)] 
Fix #9689 VolumeEncryption parameters must be yes|no|strong

2 years agoFix #2962 Change btape sample output message
Eric Bollengier [Tue, 22 Nov 2022 15:39:30 +0000 (16:39 +0100)] 
Fix #2962 Change btape sample output message

2 years agoAdjust malware error codes
Eric Bollengier [Tue, 22 Nov 2022 15:29:15 +0000 (16:29 +0100)] 
Adjust malware error codes

2 years agoAdjust some Daemon Event/Error codes
Eric Bollengier [Mon, 21 Nov 2022 10:05:14 +0000 (11:05 +0100)] 
Adjust some Daemon Event/Error codes

2 years agoFix memory leak with RestoreObject compression
Eric Bollengier [Mon, 21 Nov 2022 13:58:59 +0000 (14:58 +0100)] 
Fix memory leak with RestoreObject compression

2 years agoFix compilation without openssl
Eric Bollengier [Mon, 21 Nov 2022 08:31:44 +0000 (09:31 +0100)] 
Fix compilation without openssl

2 years agoUpdate device initialization error code
Eric Bollengier [Fri, 18 Nov 2022 12:57:55 +0000 (13:57 +0100)] 
Update device initialization error code

2 years agoregress: Add test to check the volume encryption key errors
Eric Bollengier [Tue, 15 Nov 2022 08:23:45 +0000 (09:23 +0100)] 
regress: Add test to check the volume encryption key errors

2 years agoRemove unneeded call to gettext()
Eric Bollengier [Mon, 14 Nov 2022 16:08:23 +0000 (17:08 +0100)] 
Remove unneeded call to gettext()

2 years agoAdd missing error message after incorrect TLS setup
Eric Bollengier [Mon, 14 Nov 2022 15:51:26 +0000 (16:51 +0100)] 
Add missing error message after incorrect TLS setup

2 years agoinitialize encrypted volume when recycling with rewrite_volume_label()
Alain Spineux [Fri, 18 Nov 2022 15:30:42 +0000 (16:30 +0100)] 
initialize encrypted volume when recycling with rewrite_volume_label()

2 years agobscan: update the VolEncrypted state in the catalog
Alain Spineux [Fri, 18 Nov 2022 15:28:56 +0000 (16:28 +0100)] 
bscan: update the VolEncrypted state in the catalog

2 years agouse VolEncrypted in find_next_volume() only for Volume in 'Append'
Alain Spineux [Fri, 18 Nov 2022 15:28:19 +0000 (16:28 +0100)] 
use VolEncrypted in find_next_volume() only for Volume in 'Append'

2 years agosqlite3: use AUTOINCREMENT for JobId to avoid reuse of old jobid when purging
Alain Spineux [Fri, 18 Nov 2022 15:26:57 +0000 (16:26 +0100)] 
sqlite3: use AUTOINCREMENT for JobId to avoid reuse of old jobid when purging

2 years agoBB03 recycle continuity
Alain Spineux [Fri, 18 Nov 2022 09:44:20 +0000 (10:44 +0100)] 
BB03 recycle continuity