Changesets: bareos

bareos-12.4 050b310c

2013-06-25 16:23

pstorz


Committer: mvwieringen adm

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

master 91152117

2013-06-25 16:23

pstorz


Committer: mvwieringen adm

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

master 41a8133e

2013-06-25 11:24

mvwieringen adm

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

master 0b5e0243

2013-06-24 16:56

mvwieringen adm

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/lib/tree.h Diff File
mod - src/lib/tree.c Diff File
mod - src/dird/ua_tree.c Diff File

bareos-13.2 74f1743d

2013-06-22 13:52

Marco van Wieringen

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 24bda41f

2013-06-22 11:52

mvwieringen adm

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 1f095962

2013-06-22 11:52

mvwieringen adm

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

master 7ac6602e

2013-06-22 11:52

mvwieringen adm

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.
add - src/win32/qt-tray-monitor/traymon.rc.in Diff File
rm - src/win32/qt-tray-monitor/traymon.rc Diff File
add - src/win32/qt-console/batres.rc.in Diff File
rm - src/win32/qt-console/batres.rc Diff File
add - src/win32/console/consoleres.rc.in Diff File
rm - src/win32/console/consoleres.rc Diff File
mod - src/win32/Makefile Diff File

bareos-13.2 cd1829e1

2013-06-21 15:59

Marco van Wieringen

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 02bb3d44

2013-06-21 13:59

mvwieringen adm

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 274eb5f7

2013-06-21 13:59

mvwieringen adm

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

master 543b70bd

2013-06-21 13:59

mvwieringen adm

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.
mod - src/tests/testls.c Diff File
mod - src/tests/cats_test.c Diff File
mod - src/tests/bbatch.c Diff File
mod - src/plugins/fd/test-plugin-fd.c Diff File
mod - src/lib/tree.c Diff File
rm - src/cats/make_sqlite3_tables.in.patch Diff File
rm - src/cats/make_catalog_backup.in.patch Diff File
rm - src/cats/grant_mysql_privileges.patch Diff File
rm - src/cats/create_sqlite3_database.in.patch Diff File

bareos-13.2 42fd0764

2013-06-20 21:54

Marco van Wieringen

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
mod - src/filed/restore.c Diff File

bareos-13.2 5ef01503

2013-06-20 19:54

mvwieringen adm

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-12.4 ae186120

2013-06-20 19:54

mvwieringen adm

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

master 38e8ff91

2013-06-20 19:54

mvwieringen adm

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 4fcd9dbf

2013-06-18 12:02

Marco van Wieringen

Ported: N/A

Details Diff
Move include files to right directory.

bareos-13.2 29c4c460

2013-06-18 10:02

mvwieringen adm

Ported: N/A

Details Diff
Move include files to right directory.

bareos-12.4 ecdb7f1b

2013-06-18 10:02

mvwieringen adm

Ported: N/A

Details Diff
Move include files to right directory.

master 835bf89b

2013-06-18 10:02

mvwieringen adm

Ported: N/A

Details Diff
Move include files to right directory.

bareos-12.4 db14f085

2013-06-17 13:10

mvwieringen adm

Ported: N/A

Details Diff
Tweak copyright and some text.
mod - src/include/bc_types.h Diff File
mod - src/lib/address_conf.h Diff File
mod - src/lib/attr.c Diff File
mod - src/lib/htable.c Diff File
mod - src/lib/md5.h Diff File
mod - src/lib/openssl.c Diff File
mod - src/lib/rblist.c Diff File
mod - src/lib/runscript.c Diff File
mod - src/lib/runscript.h Diff File
mod - src/lib/rwlock.c Diff File
mod - src/lib/rwlock.h Diff File
mod - src/stored/stored.conf.in Diff File

master 534ba4a0

2013-06-17 13:10

mvwieringen adm

Ported: N/A

Details Diff
Tweak copyright and some text.
mod - src/stored/stored.conf.in Diff File
mod - src/lib/rwlock.h Diff File
mod - src/lib/rwlock.c Diff File
mod - src/lib/runscript.h Diff File
mod - src/lib/runscript.c Diff File
mod - src/lib/rblist.c Diff File
mod - src/lib/md5.h Diff File
mod - src/lib/htable.c Diff File
mod - src/lib/attr.c Diff File
mod - src/lib/address_conf.h Diff File
mod - src/include/bc_types.h Diff File

bareos-13.2 8765beed

2013-06-14 18:01

xtruthx


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Bugfixes in the uninstall and install scripts

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/logo.png Diff File
mod - platforms/opsi/CLIENT_DATA/setup3264.ins Diff File

bareos-13.2 9e9b610b

2013-06-14 16:01

daniel

Ported: N/A

Details Diff
Bugfixes in the uninstall and install scripts

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/logo.png Diff File
mod - platforms/opsi/CLIENT_DATA/setup3264.ins Diff File

bareos-12.4 fd41b90d

2013-06-14 16:01

daniel

Ported: N/A

Details Diff
Bugfixes in the uninstall and install scripts

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/logo.png Diff File
mod - platforms/opsi/CLIENT_DATA/setup3264.ins Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 603 604 605 606 607 608 609 ... 622 623 624  Next  Last