Changesets: bareos2015
bareos-14.2 0e2dcd5c 2013-06-28 19:49 Committer: mvwieringen Ported: N/A Details Diff |
Import univention-bareos package Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
add - platforms/univention/62univention-bareos.inst | Diff File | ||
add - platforms/univention/63univention-bareos-uninstall.uinst | Diff File | ||
add - platforms/univention/LICENSE_AGREEMENT | Diff File | ||
add - platforms/univention/bareos.schema | Diff File | ||
add - platforms/univention/debian/changelog | Diff File | ||
add - platforms/univention/debian/compat | Diff File | ||
add - platforms/univention/debian/config | Diff File | ||
add - platforms/univention/debian/control | Diff File | ||
add - platforms/univention/debian/files | Diff File | ||
add - platforms/univention/debian/rules | Diff File | ||
add - platforms/univention/debian/substvars | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.conffiles | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.dirs | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.install | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.postinst | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.substvars | Diff File | ||
add - platforms/univention/debian/univention-bareos.conffiles | Diff File | ||
add - platforms/univention/debian/univention-bareos.config | Diff File | ||
add - platforms/univention/debian/univention-bareos.dirs | Diff File | ||
add - platforms/univention/debian/univention-bareos.install | Diff File | ||
add - platforms/univention/debian/univention-bareos.postinst | Diff File | ||
add - platforms/univention/debian/univention-bareos.postrm | Diff File | ||
add - platforms/univention/debian/univention-bareos.preinst | Diff File | ||
add - platforms/univention/debian/univention-bareos.prerm | Diff File | ||
add - platforms/univention/debian/univention-bareos.substvars | Diff File | ||
add - platforms/univention/debian/univention-bareos.univention-config-registry | Diff File | ||
add - platforms/univention/debian/univention-bareos.univention-config-registry-variables | Diff File | ||
add - platforms/univention/debian/univention-bareos.univention-service | Diff File | ||
add - platforms/univention/etc/bareos/bareos-dir.conf | Diff File | ||
add - platforms/univention/etc/bareos/bareos-fd.conf | Diff File | ||
add - platforms/univention/etc/bareos/bareos-sd.conf | Diff File | ||
add - platforms/univention/etc/bareos/bconsole.conf | Diff File | ||
add - platforms/univention/etc/postgresql/8.4/main/pg_hba.conf.d/25-univention-bareos | Diff File | ||
add - platforms/univention/fd-generic.template | Diff File | ||
add - platforms/univention/fd-windows.template | Diff File | ||
add - platforms/univention/job-generic.template | Diff File | ||
add - platforms/univention/job-windows.template | Diff File | ||
add - platforms/univention/postgres_create.sql | Diff File | ||
add - platforms/univention/restart_director | Diff File | ||
add - platforms/univention/univention-bareos.cron | Diff File | ||
add - platforms/univention/univention-bareos.ini | Diff File | ||
add - platforms/univention/univention-bareos.py | Diff File | ||
bareos-13.2 5f89674a 2013-06-28 19:49 Committer: mvwieringen Ported: N/A Details Diff |
Import univention-bareos package Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
add - platforms/univention/62univention-bareos.inst | Diff File | ||
add - platforms/univention/63univention-bareos-uninstall.uinst | Diff File | ||
add - platforms/univention/LICENSE_AGREEMENT | Diff File | ||
add - platforms/univention/bareos.schema | Diff File | ||
add - platforms/univention/debian/changelog | Diff File | ||
add - platforms/univention/debian/compat | Diff File | ||
add - platforms/univention/debian/config | Diff File | ||
add - platforms/univention/debian/control | Diff File | ||
add - platforms/univention/debian/files | Diff File | ||
add - platforms/univention/debian/rules | Diff File | ||
add - platforms/univention/debian/substvars | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.conffiles | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.dirs | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.install | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.postinst | Diff File | ||
add - platforms/univention/debian/univention-bareos-schema.substvars | Diff File | ||
add - platforms/univention/debian/univention-bareos.conffiles | Diff File | ||
add - platforms/univention/debian/univention-bareos.config | Diff File | ||
add - platforms/univention/debian/univention-bareos.dirs | Diff File | ||
add - platforms/univention/debian/univention-bareos.install | Diff File | ||
add - platforms/univention/debian/univention-bareos.postinst | Diff File | ||
add - platforms/univention/debian/univention-bareos.postrm | Diff File | ||
add - platforms/univention/debian/univention-bareos.preinst | Diff File | ||
add - platforms/univention/debian/univention-bareos.prerm | Diff File | ||
add - platforms/univention/debian/univention-bareos.substvars | Diff File | ||
add - platforms/univention/debian/univention-bareos.univention-config-registry | Diff File | ||
add - platforms/univention/debian/univention-bareos.univention-config-registry-variables | Diff File | ||
add - platforms/univention/debian/univention-bareos.univention-service | Diff File | ||
add - platforms/univention/etc/bareos/bareos-dir.conf | Diff File | ||
add - platforms/univention/etc/bareos/bareos-fd.conf | Diff File | ||
add - platforms/univention/etc/bareos/bareos-sd.conf | Diff File | ||
add - platforms/univention/etc/bareos/bconsole.conf | Diff File | ||
add - platforms/univention/etc/postgresql/8.4/main/pg_hba.conf.d/25-univention-bareos | Diff File | ||
add - platforms/univention/fd-generic.template | Diff File | ||
add - platforms/univention/fd-windows.template | Diff File | ||
add - platforms/univention/job-generic.template | Diff File | ||
add - platforms/univention/job-windows.template | Diff File | ||
add - platforms/univention/postgres_create.sql | Diff File | ||
add - platforms/univention/restart_director | Diff File | ||
add - platforms/univention/univention-bareos.cron | Diff File | ||
add - platforms/univention/univention-bareos.ini | Diff File | ||
add - platforms/univention/univention-bareos.py | Diff File | ||
bareos-14.2 1740a19d 2013-06-28 17:39 Ported: N/A Details Diff |
Fix segmentation fault. | ||
mod - src/dird/backup.c | Diff File | ||
bareos-13.2 ab0df290 2013-06-28 17:39 Ported: N/A Details Diff |
Fix segmentation fault. | ||
mod - src/dird/backup.c | Diff File | ||
bareos-14.2 77c77438 2013-06-27 18:33
Committer: mvwieringen Ported: N/A Details Diff |
Added the new product property "auto_config" With the new product property you can use the new silent parameter to keep configurationsfiles during a deinstallation and a reinstall. If it is set on false, opsi doesnt delete the configuration files and doesnt overwrite the old configuration files. The new configuration files will be saved as File.new Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - platforms/opsi/CLIENT_DATA/delsub3264.ins | Diff File | ||
mod - platforms/opsi/CLIENT_DATA/setup3264.ins | Diff File | ||
mod - platforms/opsi/CLIENT_DATA/uninstall3264.ins | Diff File | ||
mod - platforms/opsi/OPSI/control | Diff File | ||
bareos-13.2 ef519e19 2013-06-27 18:33
Committer: mvwieringen Ported: N/A Details Diff |
Added the new product property "auto_config" With the new product property you can use the new silent parameter to keep configurationsfiles during a deinstallation and a reinstall. If it is set on false, opsi doesnt delete the configuration files and doesnt overwrite the old configuration files. The new configuration files will be saved as File.new Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - platforms/opsi/CLIENT_DATA/delsub3264.ins | Diff File | ||
mod - platforms/opsi/CLIENT_DATA/setup3264.ins | Diff File | ||
mod - platforms/opsi/CLIENT_DATA/uninstall3264.ins | Diff File | ||
mod - platforms/opsi/OPSI/control | Diff File | ||
bareos-12.4 4905d0d3 2013-06-27 18:33
Committer: mvwieringen Ported: N/A Details Diff |
Added the new product property "auto_config" With the new product property you can use the new silent parameter to keep configurationsfiles during a deinstallation and a reinstall. If it is set on false, opsi doesnt delete the configuration files and doesnt overwrite the old configuration files. The new configuration files will be saved as File.new Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - platforms/opsi/CLIENT_DATA/delsub3264.ins | Diff File | ||
mod - platforms/opsi/CLIENT_DATA/setup3264.ins | Diff File | ||
mod - platforms/opsi/CLIENT_DATA/uninstall3264.ins | Diff File | ||
mod - platforms/opsi/OPSI/control | Diff File | ||
bareos-14.2 8d518892 2013-06-27 18:00 Ported: N/A Details Diff |
Remove spurious daemon message on plugin load. The plugin loading like to be somewhat chatty by issueing daemon messages for every plugin loaded. Its more then enough to issue this as a debugging message what was already done. |
||
mod - src/dird/dir_plugins.c | Diff File | ||
mod - src/filed/fd_plugins.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
bareos-13.2 d57112d4 2013-06-27 18:00 Ported: N/A Details Diff |
Remove spurious daemon message on plugin load. The plugin loading like to be somewhat chatty by issueing daemon messages for every plugin loaded. Its more then enough to issue this as a debugging message what was already done. |
||
mod - src/dird/dir_plugins.c | Diff File | ||
mod - src/filed/fd_plugins.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
bareos-14.2 f964f4cb 2013-06-27 00:01 Ported: N/A Details Diff |
Implement auto inflation/deflation in the storage daemon. This code implements automatic deflation (compression) of data read or written to a device and automatic inflation (uncompression) of data written or read from a device. This allows you to do the following: - Compress data on the FD send it to SD and write it to the device uncompressed. - Send data uncompressed from the FD to the SD and write it to the device compressed. - Read compressed data from a device and send it as uncompressed data to the FD. - Read uncompressed data from a device and send it as compressed data to the FD. This is implemented as a SD plugin. Fixes 0000187: Implement auto inflation/deflation in storage daemon. |
Affected Issues 0000187 |
|
mod - autoconf/configure.in | Diff File | ||
mod - configure | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - src/filed/compression.c | Diff File | ||
mod - src/filed/crypto.c | Diff File | ||
mod - src/filed/restore.c | Diff File | ||
mod - src/include/jcr.h | Diff File | ||
mod - src/lib/compression.c | Diff File | ||
mod - src/lib/mem_pool.c | Diff File | ||
mod - src/lib/mem_pool.h | Diff File | ||
mod - src/lib/protos.h | Diff File | ||
rm - src/plugins/Makefile | Diff File | ||
rm - src/plugins/README | Diff File | ||
add - src/plugins/stored/autoxflate-sd.c | Diff File | ||
rm - src/qt-tray-monitor/bareos-tray-monitor.desktop | Diff File | ||
mod - src/stored/Makefile.in | Diff File | ||
mod - src/stored/acquire.c | Diff File | ||
mod - src/stored/append.c | Diff File | ||
mod - src/stored/bextract.c | Diff File | ||
mod - src/stored/dev.h | Diff File | ||
mod - src/stored/job.c | Diff File | ||
mod - src/stored/mac.c | Diff File | ||
mod - src/stored/ndmp_tape.c | Diff File | ||
mod - src/stored/protos.h | Diff File | ||
mod - src/stored/read.c | Diff File | ||
mod - src/stored/read_record.c | Diff File | ||
mod - src/stored/record.c | Diff File | ||
mod - src/stored/record.h | Diff File | ||
mod - src/stored/reserve.h | Diff File | ||
mod - src/stored/sd_plugins.h | Diff File | ||
mod - src/stored/stored.h | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
mod - src/tools/bpluginfo.c | Diff File | ||
mod - src/win32/plugins/Makefile | Diff File | ||
bareos-14.2 814392b5 2013-06-26 01:45 Ported: N/A Details Diff |
Plugin framework enhancements. Up until now the plugins for the fd/sd/dir are loaded semi at random by the way they are stored in the plugin directory as they are loaded in the order readdir returns the directory entries. This is NOT how you want it in certain situations so from now on you can specify in the fd/sd/dir a new keyword in the generic daemon config resource named "plugin names" which is a list which is seperated by a ':' and enumerates the plugins that should be loaded in what order by a daemon. In this resource you can define the following 'plugin names = "python:bpipe"' which means in the fd load the following plugins: - <plugin_dir>/python-fd.so - <plugin_dir>/bpipe-fd.so If you don't specify the plugin names then the old behaviour will be used to load all plugins which match the pattern *-<daemon>.so Now we can order the way plugins are loaded there is also a new flag to the generate_plugin_event() function which is named reverse which is a boolean and if its set the plugins will be called in reverse order that they are stored in the plugin list. Fixes 0000196: Plugin framework enhancements. |
Affected Issues 0000196 |
|
mod - src/dird/dir_plugins.c | Diff File | ||
mod - src/dird/dir_plugins.h | Diff File | ||
mod - src/dird/dird.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/filed/fd_plugins.c | Diff File | ||
mod - src/filed/fd_plugins.h | Diff File | ||
mod - src/filed/filed.c | Diff File | ||
mod - src/filed/filed_conf.c | Diff File | ||
mod - src/filed/filed_conf.h | Diff File | ||
mod - src/lib/alist.h | Diff File | ||
mod - src/lib/plugins.c | Diff File | ||
mod - src/lib/plugins.h | Diff File | ||
mod - src/stored/bcopy.c | Diff File | ||
mod - src/stored/bextract.c | Diff File | ||
mod - src/stored/bls.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
mod - src/stored/sd_plugins.h | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
bareos-13.2 12471f5b 2013-06-26 01:45 Ported: N/A Details Diff |
Plugin framework enhancements. Up until now the plugins for the fd/sd/dir are loaded semi at random by the way they are stored in the plugin directory as they are loaded in the order readdir returns the directory entries. This is NOT how you want it in certain situations so from now on you can specify in the fd/sd/dir a new keyword in the generic daemon config resource named "plugin names" which is a list which is seperated by a ':' and enumerates the plugins that should be loaded in what order by a daemon. In this resource you can define the following 'plugin names = "python:bpipe"' which means in the fd load the following plugins: - <plugin_dir>/python-fd.so - <plugin_dir>/bpipe-fd.so If you don't specify the plugin names then the old behaviour will be used to load all plugins which match the pattern *-<daemon>.so Now we can order the way plugins are loaded there is also a new flag to the generate_plugin_event() function which is named reverse which is a boolean and if its set the plugins will be called in reverse order that they are stored in the plugin list. Fixes 0000196: Plugin framework enhancements. |
Affected Issues 0000196 |
|
mod - src/dird/dir_plugins.c | Diff File | ||
mod - src/dird/dir_plugins.h | Diff File | ||
mod - src/dird/dird.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/dird/dird_conf.h | Diff File | ||
mod - src/filed/fd_plugins.c | Diff File | ||
mod - src/filed/fd_plugins.h | Diff File | ||
mod - src/filed/filed.c | Diff File | ||
mod - src/filed/filed_conf.c | Diff File | ||
mod - src/filed/filed_conf.h | Diff File | ||
mod - src/lib/alist.h | Diff File | ||
mod - src/lib/plugins.c | Diff File | ||
mod - src/lib/plugins.h | Diff File | ||
mod - src/stored/bcopy.c | Diff File | ||
mod - src/stored/bextract.c | Diff File | ||
mod - src/stored/bls.c | Diff File | ||
mod - src/stored/bscan.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
mod - src/stored/sd_plugins.h | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
bareos-14.2 9a31b830 2013-06-25 18:23 Committer: mvwieringen Ported: N/A Details Diff |
Added Option to also use SILENTKEEPCONFIG Now the installer and uninstaller can also use the option SILENTKEEPCONFIG to keep existing configurations. During install, existing configurations are kept and the new one is installed as file.NEW. During uninstall, the existing config files will not be deleted. |
||
mod - platforms/win32/winbareos.nsi | Diff File | ||
bareos-13.2 518faa4d 2013-06-25 18:23 Committer: mvwieringen Ported: N/A Details Diff |
Added Option to also use SILENTKEEPCONFIG Now the installer and uninstaller can also use the option SILENTKEEPCONFIG to keep existing configurations. During install, existing configurations are kept and the new one is installed as file.NEW. During uninstall, the existing config files will not be deleted. |
||
mod - platforms/win32/winbareos.nsi | Diff File | ||
bareos-12.4 e11cbc90 2013-06-25 18:23 Committer: mvwieringen Ported: N/A Details Diff |
Added Option to also use SILENTKEEPCONFIG Now the installer and uninstaller can also use the option SILENTKEEPCONFIG to keep existing configurations. During install, existing configurations are kept and the new one is installed as file.NEW. During uninstall, the existing config files will not be deleted. |
||
mod - platforms/win32/winbareos.nsi | Diff File | ||
bareos-14.2 394c65b6 2013-06-25 13:24 Ported: N/A Details Diff |
Fix tree_getpath to work with paths longer then 256 bytes. We use a temporary POOLMEM buffer for the storage of the full PATH but as we were passing that as a pointer not a pointer to a pointer when the buffer reaches 256 bytes the check_pool_memory_size will allocate a new buffer but as we cannot pass the right new buffer back to the calling function we were still using the already freed buffer which we pass back to the calling function which then tries to free that pointer again which leads to the memory allocator blowing up with a double free error. |
||
mod - src/lib/tree.c | Diff File | ||
bareos-14.2 a09b672a 2013-06-24 18:56 Ported: N/A Details Diff |
Interactive path selection can use refactoring The code in the director which is used to select interactively the files to restore needs some cleanup. Currently the cwd (current working directory) is stored in a fixed length buffer of sometimes 1100 and sometimes 2000 bytes. It would be better to use a POOLMEM buffer which can extend to the actual length needed. Currently you can also not directly mark or unmark a full path as the mark and unmark only matches the name using fnmatch against the current working directory. This also skips any path information and as the internal storage of the tree is per directory node this will never work. A simple fix would be to check if the selection pattern is a full path (e.g. has a / in it) and then split the selection in a path and file part. Then we can do a change directory into the wanted path and then do the same pattern matching and restore the working directory after the selection. Fixes 0000195: Interactive path selection can use refactoring |
Affected Issues 0000195 |
|
mod - src/dird/ua_tree.c | Diff File | ||
mod - src/lib/tree.c | Diff File | ||
mod - src/lib/tree.h | Diff File | ||
bareos-14.2 12d8cb7d 2013-06-22 13:52 Ported: N/A Details Diff |
Fix windows rc files. - Add the right copyright info. - Generate the rc files with the right version info at build time. |
||
mod - src/win32/Makefile | Diff File | ||
rm - src/win32/console/consoleres.rc | Diff File | ||
add - src/win32/console/consoleres.rc.in | Diff File | ||
rm - src/win32/qt-console/batres.rc | Diff File | ||
add - src/win32/qt-console/batres.rc.in | Diff File | ||
rm - src/win32/qt-tray-monitor/traymon.rc | Diff File | ||
add - src/win32/qt-tray-monitor/traymon.rc.in | Diff File | ||
bareos-13.2 74f1743d 2013-06-22 13:52 Ported: N/A Details Diff |
Fix windows rc files. - Add the right copyright info. - Generate the rc files with the right version info at build time. |
||
mod - src/win32/Makefile | Diff File | ||
rm - src/win32/console/consoleres.rc | Diff File | ||
add - src/win32/console/consoleres.rc.in | Diff File | ||
rm - src/win32/qt-console/batres.rc | Diff File | ||
add - src/win32/qt-console/batres.rc.in | Diff File | ||
rm - src/win32/qt-tray-monitor/traymon.rc | Diff File | ||
add - src/win32/qt-tray-monitor/traymon.rc.in | Diff File | ||
bareos-12.4 b52d9959 2013-06-22 13:52 Ported: N/A Details Diff |
Fix windows rc files. - Add the right copyright info. - Generate the rc files with the right version info at build time. |
||
mod - src/win32/Makefile | Diff File | ||
rm - src/win32/console/consoleres.rc | Diff File | ||
add - src/win32/console/consoleres.rc.in | Diff File | ||
rm - src/win32/filed/filedres.rc | Diff File | ||
add - src/win32/filed/filedres.rc.in | Diff File | ||
rm - src/win32/qt-console/batres.rc | Diff File | ||
add - src/win32/qt-console/batres.rc.in | Diff File | ||
rm - src/win32/qt-tray-monitor/traymon.rc | Diff File | ||
add - src/win32/qt-tray-monitor/traymon.rc.in | Diff File | ||
bareos-14.2 dba9319f 2013-06-21 15:59 Ported: N/A Details Diff |
Tweak text. - Loose some copyright claims. - Drop unused patch files - Loose any references to Kern or Kern Sibbald in relation to bareos. |
||
rm - src/cats/create_sqlite3_database.in.patch | Diff File | ||
rm - src/cats/grant_mysql_privileges.patch | Diff File | ||
rm - src/cats/make_catalog_backup.in.patch | Diff File | ||
rm - src/cats/make_sqlite3_tables.in.patch | Diff File | ||
mod - src/lib/tree.c | Diff File | ||
mod - src/plugins/fd/test-plugin-fd.c | Diff File | ||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/cats_test.c | Diff File | ||
mod - src/tests/testls.c | Diff File | ||
bareos-13.2 cd1829e1 2013-06-21 15:59 Ported: N/A Details Diff |
Tweak text. - Loose some copyright claims. - Drop unused patch files - Loose any references to Kern or Kern Sibbald in relation to bareos. |
||
rm - src/cats/create_sqlite3_database.in.patch | Diff File | ||
rm - src/cats/grant_mysql_privileges.patch | Diff File | ||
rm - src/cats/make_catalog_backup.in.patch | Diff File | ||
rm - src/cats/make_sqlite3_tables.in.patch | Diff File | ||
mod - src/lib/tree.c | Diff File | ||
mod - src/plugins/fd/test-plugin-fd.c | Diff File | ||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/cats_test.c | Diff File | ||
mod - src/tests/testls.c | Diff File | ||
bareos-12.4 93cc3026 2013-06-21 15:59 Ported: N/A Details Diff |
Tweak text. - Loose some copyright claims. - Drop unused patch files - Loose any references to Kern or Kern Sibbald in relation to bareos. |
||
rm - src/cats/create_sqlite3_database.in.patch | Diff File | ||
rm - src/cats/grant_mysql_privileges.patch | Diff File | ||
rm - src/cats/make_catalog_backup.in.patch | Diff File | ||
rm - src/cats/make_sqlite3_tables.in.patch | Diff File | ||
mod - src/lib/tree.c | Diff File | ||
mod - src/plugins/fd/test-plugin-fd.c | Diff File | ||
mod - src/tests/bbatch.c | Diff File | ||
mod - src/tests/cats_test.c | Diff File | ||
mod - src/tests/testls.c | Diff File | ||
bareos-14.2 9956f672 2013-06-20 21:54 Ported: N/A Details Diff |
Restore of encrypted data fails when not all files are created. We should check if a file is actually extracted when checking if we encounter an unexpected STREAM_ENCRYPTED_SESSION_DATA. The rctx.cs is setup by a call to crypto_session_decode() and that session lingers until its teared down by close_previous_stream() but that only occurs when the next file is actually extracted. So if we extract one encrypted file and not the one after that the rctx.cs will not be cleared until we hit the next extracted file or the end of the restore. So we should only handle the session at all when we extract the file as otherwise it makes absolutely no sense to even consider the encrypted session data stream at all as we will be skipping the file extract anyway and skip all encrypted data blocks. Fixes 0000192: Restore of PKI encrypted data fails if some of the files should not be replaced |
Affected Issues 0000192 |
|
mod - src/filed/restore.c | Diff File | ||
bareos-13.2 42fd0764 2013-06-20 21:54 Ported: N/A Details Diff |
Restore of encrypted data fails when not all files are created. We should check if a file is actually extracted when checking if we encounter an unexpected STREAM_ENCRYPTED_SESSION_DATA. The rctx.cs is setup by a call to crypto_session_decode() and that session lingers until its teared down by close_previous_stream() but that only occurs when the next file is actually extracted. So if we extract one encrypted file and not the one after that the rctx.cs will not be cleared until we hit the next extracted file or the end of the restore. So we should only handle the session at all when we extract the file as otherwise it makes absolutely no sense to even consider the encrypted session data stream at all as we will be skipping the file extract anyway and skip all encrypted data blocks. Fixes 0000192: Restore of PKI encrypted data fails if some of the files should not be replaced |
Affected Issues 0000192 |
|
mod - src/filed/restore.c | Diff File |