bareos: bareos-17.2 22b8eca5

Author Committer Branch Timestamp Parent
arogge_adm franku bareos-17.2 2019-01-15 12:29 dev c5a12e4c Pending
Affected Issues  0001034: Read error on tape may be misinterpreted as end-of-tape
Changeset stored: do not treat read error as EoT by default

Fixes 0001034: Read error on tape may be misinterpreted as end-of-tape.

Previous storagedaemons treated a read-error immediately following
an end-of-file mark on a tape as end-of-tape instead of an error.

This patch makes storagedaemons raise an error in this case, but
allows to switch back to the previous behaviour on a per-device
basis using the new configuration directive "Eof On Error Is Eot".

Documented new configuration directive.
mod - src/stored/backends/generic_tape_device.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/bls.c Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/label.c Diff File
mod - src/stored/read_record.c Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File