bareos: master 05591370

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen master 2015-07-16 12:37 master 39de4603 Pending
Affected Issues  0000496: File daemon without compression support / director with compression enabled - weird error message
Changeset Clear encryption and compression flags if unsupported.

Analog to how we clear the ACL and XATTR flags in a fileset if we run a
backup Job on a filed which doesn't support the wanted feature we now
also clear any compression or encryption flag. By clearing the flag
before we start the actual Job we no longer get those nasty errors
in which by the time we call blast_data_to_storage_daemon() we abort
the Job due to missing features.

Clearing compression flags should be no problem and a warning is logged
anyway. For the encryption not being available one could use the new
force encrypt flag in the fileset to fail the Job if encryption is an
absolute requirement.

Fixes 0000496: File daemon without compression support / director with
            compression enabled - weird error message
mod - src/filed/dir_cmd.c Diff File
mod - src/lib/compression.c Diff File
mod - src/lib/protos.h Diff File