bareos: bareos-18.2 c9f3c364

Author Committer Branch Timestamp Parent
arogge_adm franku bareos-18.2 2019-01-15 12:29 bareos-18.2 fc308466 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".
mod - core/src/stored/backends/generic_tape_device.cc Diff File
mod - core/src/stored/block.cc Diff File
mod - core/src/stored/bls.cc Diff File
mod - core/src/stored/btape.cc Diff File
mod - core/src/stored/dev.h Diff File
mod - core/src/stored/label.cc Diff File
mod - core/src/stored/read_record.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/stored/stored_conf.h Diff File