Changesets: bareos

master 068b7e4b

2014-01-13 21:02

mvwieringen

Ported: N/A

Details Diff
Fix typo.
mod - src/cats/bvfs.c Diff File

bareos-13.2 56c180ee

2014-01-12 22:37

Marco van Wieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

master d00f6536

2014-01-12 22:30

Marco van Wieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos-13.2 ca8fff52

2014-01-12 21:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

bareos-12.4 af749d51

2014-01-12 21:37

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

master a09cbb8e

2014-01-12 21:30

mvwieringen

Ported: N/A

Details Diff
BVFS reported a problem for <id> fix.

There was a mixup of the return value returned from the
bvfs_update_path_hierarchy_cache() function which returns a zero which
is interpretted as a false by the calling dot_bvfs_update() function.
Lets return a proper boolean value and only set that return value to
true when we leave the bvfs_update_path_hierarchy_cache() function due
to hitting either an empty jobid list or after processing the jobid list
successfully. Any other exit (due to joblist corruption or failing to
update the path hierarchy cache) leads to the function returning false.

Fixes 0000217: BVFS reported a problem for <id>
Affected Issues
0000217
mod - src/cats/bvfs.c Diff File
mod - src/cats/bvfs.h Diff File
mod - src/dird/ua_dotcmds.c Diff File

master e8a3864f

2014-01-08 14:02

Marco van Wieringen

Ported: N/A

Details Diff
Add bEventNewPluginOptions event.

When pushing explicit plugin arguments use a new event
bEventNewPluginOptions instead of reusing the bEventPluginCommand
event which is also used when parsing the fileset when doing a backup.

Most plugins should now also allow multiple plugin lines within one
include block of the fileset which was broken when it used the new
config parser. In combination with forcing certain explicit restore
options by the director using the plugin options passing this may lead
to some surprises however so when using specific plugin options its wise
to only restore one file at a time to be sure the right restore options
are used.
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/plugins/filed/bareos_fd_consts.py Diff File
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

master 1bdf0ff2

2014-01-08 13:02

mvwieringen

Ported: N/A

Details Diff
Add bEventNewPluginOptions event.

When pushing explicit plugin arguments use a new event
bEventNewPluginOptions instead of reusing the bEventPluginCommand
event which is also used when parsing the fileset when doing a backup.

Most plugins should now also allow multiple plugin lines within one
include block of the fileset which was broken when it used the new
config parser. In combination with forcing certain explicit restore
options by the director using the plugin options passing this may lead
to some surprises however so when using specific plugin options its wise
to only restore one file at a time to be sure the right restore options
are used.
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/plugins/filed/bareos_fd_consts.py Diff File
mod - src/plugins/filed/bpipe-fd.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/win32/plugins/filed/mssqlvdi-fd.c Diff File

master 7c905257

2014-01-07 18:13

Marco van Wieringen

Ported: N/A

Details Diff
Upgrade bpipe plugin to use new plugin config parser.

Now that we use a new config parser for the mssqlvdi and python plugin
it makes sense to also let the bpipe plugin use this code. For backwards
compatability it also still supports the old plugin definitions so you
can also still restore older backups with the new plugin. Extra support
is added so that plugin options passing now also works and allows you to
override the plugin parameters.
mod - src/plugins/filed/bpipe-fd.c Diff File

master de6381d9

2014-01-07 18:09

Marco van Wieringen

Ported: N/A

Details Diff
Make the error message a bit more explicit.

When the compat mode is enabled we report a Bacula compatible version id
for the filed protocol. But if you want things like passive mode or
plugin passing you need to disable the compat mode. Changed the error
message issued when using passive mode or plugin option passing when
talking to a Bareos filed in compat mode. This way the use a least knows
that it could also be a problem with the compat mode.
mod - src/dird/backup.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/verify.c Diff File

master 3112000c

2014-01-07 17:13

mvwieringen

Ported: N/A

Details Diff
Upgrade bpipe plugin to use new plugin config parser.

Now that we use a new config parser for the mssqlvdi and python plugin
it makes sense to also let the bpipe plugin use this code. For backwards
compatability it also still supports the old plugin definitions so you
can also still restore older backups with the new plugin. Extra support
is added so that plugin options passing now also works and allows you to
override the plugin parameters.
mod - src/plugins/filed/bpipe-fd.c Diff File

master 31f78208

2014-01-07 17:09

mvwieringen

Ported: N/A

Details Diff
Make the error message a bit more explicit.

When the compat mode is enabled we report a Bacula compatible version id
for the filed protocol. But if you want things like passive mode or
plugin passing you need to disable the compat mode. Changed the error
message issued when using passive mode or plugin option passing when
talking to a Bareos filed in compat mode. This way the use a least knows
that it could also be a problem with the compat mode.
mod - src/dird/backup.c Diff File
mod - src/dird/restore.c Diff File
mod - src/dird/verify.c Diff File

master 05f66052

2014-01-07 14:48

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Plugin Options ACL now works.

Fixes: 0000266: pluginoptions override not working during restore
mod - src/dird/ua_acl.c Diff File

master 89b31c1c

2014-01-07 13:48

pstorz

Ported: N/A

Details Diff
Plugin Options ACL now works.

Fixes: 0000266: pluginoptions override not working during restore
Affected Issues
0000266
mod - src/dird/ua_acl.c Diff File

master 722a1ef4

2014-01-06 12:43

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

master 9204714a

2014-01-06 11:43

pstorz

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

bareos-13.2 88e4f457

2014-01-06 11:43

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check return values of spool functions

We now check the return values of

* begin_data_spool()
* begin_attribute_spool()

as otherwise the job hangs until eternety if there is a problem with the
spool file.

Fixes: 0000265: job hangs and cannot be terminated if spool file is not writable
Affected Issues
0000265
mod - src/stored/append.c Diff File
mod - src/stored/mac.c Diff File
mod - src/stored/ndmp_tape.c Diff File

master 20a46676

2013-12-27 14:07

Marco van Wieringen

Ported: N/A

Details Diff
Change getJobType() == JT_XX into is_JobType(JT_XX)
mod - src/dird/backup.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/filed/verify.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/mac.c Diff File

master 7202a401

2013-12-27 14:07

Marco van Wieringen

Ported: N/A

Details Diff
First attempt at proper support for JS_Warnings

Hopefully fixes a TODO from March 2009 when the first attempt was made
to introduce JS_Warnings but things never finished.

Fixes 0000255: Bad mail subject when an backup terminates with warnings
mod - src/cats/bvfs.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/jobq.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/runscript.c Diff File
mod - src/qt-console/util/comboutil.cpp Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/ndmp_tape.c Diff File

master 68bd762f

2013-12-27 13:07

mvwieringen

Ported: N/A

Details Diff
Change getJobType() == JT_XX into is_JobType(JT_XX)
mod - src/dird/backup.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/filed/verify.c Diff File
mod - src/stored/askdir.c Diff File
mod - src/stored/block.c Diff File
mod - src/stored/mac.c Diff File

master d45b3c75

2013-12-27 13:07

mvwieringen

Ported: N/A

Details Diff
First attempt at proper support for JS_Warnings

Hopefully fixes a TODO from March 2009 when the first attempt was made
to introduce JS_Warnings but things never finished.

Fixes 0000255: Bad mail subject when an backup terminates with warnings
Affected Issues
0000255
mod - src/cats/bvfs.c Diff File
mod - src/dird/backup.c Diff File
mod - src/dird/jobq.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/runscript.c Diff File
mod - src/qt-console/util/comboutil.cpp Diff File
mod - src/stored/bscan.c Diff File
mod - src/stored/ndmp_tape.c Diff File

master 41127f7b

2013-12-26 20:09

Marco van Wieringen

Ported: N/A

Details Diff
Allow history file and size to be configurable.

Up until now the readline history file always had a fixed name and size
of 100 entries in memory and 200 on disk. You could always configure a
name for the history file but it was never used. We now also always
truncate the history size to the configured size before reading it into
memory.
mod - src/console/console.c Diff File
mod - src/console/console_conf.c Diff File
mod - src/console/console_conf.h Diff File

master 6a2f04a2

2013-12-26 19:09

mvwieringen

Ported: N/A

Details Diff
Allow history file and size to be configurable.

Up until now the readline history file always had a fixed name and size
of 100 entries in memory and 200 on disk. You could always configure a
name for the history file but it was never used. We now also always
truncate the history size to the configured size before reading it into
memory.
mod - src/console/console.c Diff File
mod - src/console/console_conf.c Diff File
mod - src/console/console_conf.h Diff File

master 73d26a5e

2013-12-23 17:50

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
added depency to openssl

bareos-config call openssl to generate passwords.
This patch added the package depency to openssl.

Fixes 0000262: debian packages missing openssl dependency
mod - debian/control Diff File
mod - platforms/packaging/bareos.spec Diff File

master 1c97eb0d

2013-12-23 17:41

Philipp Storz


Committer: Marco van Wieringen

Ported: N/A

Details Diff
Fixed build problem on centos5/rhel5

We had a packaging problem on those dists
as the python scripts are intalled during
make install but not packaged.

now we remove them in those dists.
mod - platforms/packaging/bareos.spec Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 570 571 572 573 574 575 576 ... 600 ... 610 611 612  Next  Last