Changesets: bareos2015

bareos-14.2 2d1f2b03

2014-10-05 11:45:49

mvwieringen

Ported: N/A

Details Diff
Print config should suppress data from JobDefs

Some specific config items in the Job resource could be coming from a
JobDef so we should not print those values in the actual Job resource.

We add a new bitmap analog to item_present bitmap already existing in
the RES class. When we mark that bit when we populate the jobdef in the
populate_jobdefs() function in src/dird/dird_conf.c we can check this
bit in the printing function. (Overhead is currently 80 / 8 = 10 bytes)

We also use the same bitmap for defaults so we can use some shortcut
logic when printing the config as we then know that the default was
set and never replaced by an other setting. We clear the bit in all
other parse functions so we know the default is cleared. If the default
is replaced with the same value as the original default that is still
detected. Only real exception is when omit defaults is set to true
then we just like before always print the defaults (but not the data
populated from a JobDef.)

Fixes 0000343: Print config should suppress data from JobDefs
Affected Issues
0000343
mod - src/dird/dird_conf.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/run_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/stored_conf.c Diff File

bareos-14.2 4ff4435b

2014-10-03 21:52:43

mvwieringen

Ported: N/A

Details Diff
First attempt to move python-sd plugin to use plugin options.
Attach Issues:
mod - src/plugins/stored/bareos-sd.py.template Diff File
mod - src/plugins/stored/bareos_sd_consts.py Diff File
mod - src/plugins/stored/python-sd.c Diff File
mod - src/plugins/stored/python-sd.h Diff File

bareos-14.2 f3a62dbc

2014-10-03 16:12:58

mvwieringen

Ported: N/A

Details Diff
Fix SD_NR_EVENTS.
Attach Issues:
mod - src/stored/sd_plugins.h Diff File

bareos-14.2 4f105334

2014-10-02 10:02:32

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix coverity detected defects
Attach Issues:
mod - src/plugins/stored/autoxflate-sd.c Diff File

bareos-14.2 d4011026

2014-10-01 20:12:47

mvwieringen

Ported: N/A

Details Diff
First attempt to move python-dir plugin to use plugin options.
Attach Issues:
mod - src/plugins/dird/bareos-dir.py.template Diff File
mod - src/plugins/dird/bareos_dir_consts.py Diff File
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/dird/python-dir.h Diff File
mod - src/plugins/filed/bareos-fd.py.template Diff File

bareos-14.2 1da7ac07

2014-09-30 16:01:33

mvwieringen

Ported: N/A

Details Diff
Fix compiler warning.
Attach Issues:
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

bareos-14.2 769affd3

2014-09-29 17:06:28

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Dump bareos-dir configuration options

Add command line option -x to let bareos-dir dump his configuration
options in JSON format.

This output will get used to autogenerated documentation for Bareos.

Issues 0000190: Bareos director should be able to provide information
about possible configuration options
Affected Issues
0000190
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/stored_conf.h Diff File

bareos-14.2 439d4596

2014-09-29 15:06:35

mvwieringen

Ported: N/A

Details Diff
Inherit FILESETRES class from BRSRES class.
Attach Issues:
mod - src/dird/dird_conf.h Diff File
mod - src/lib/parse_conf.h Diff File

bareos-14.2 f26034dc

2014-09-27 20:39:31

mvwieringen

Ported: N/A

Details Diff
Refactor daemon plugin handling.

Major refactoring for allowing to drop the one-to-one plugin and
plugin context relationship. We eventually want to allow multiple
instances of one plugin (python plugin comes to mind). When we use
an alist for storing the plugin context which has a pointer to the
actual plugin that the context is linked to we can easily use the
actual callback we need to call in the plugin with the active context.
As we are no longer walking the shared plugin alist we also don't need
to always use the foreach_alist_index to be sure we don't run into
problems with multi threading.

Some state is captured in the shared plugin data which is used by
multiple threads in the filed. This is probably not to smart as it
means that the state is shared between multiple threads and so multiple
backup jobs what is not something you want. As this is mostly core code
and probably not used by any important plugin in the wild it might for
now not be a big problem but it may become a problem if we implement
some more filed plugins.

Added the bDirEventNewPluginOptions event which will allow the dir to
implement the loading of multiple instances of the same plugin each with
its private context.

Added the bsdEventNewPluginOptions event which will allow the storage
daemon to implement the loading of multiple instances of the same plugin
each with its private context.
Attach Issues:
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/job.c Diff File
mod - src/dird/msgchan.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/sd_cmds.c Diff File
mod - src/filed/backup.c Diff File
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/filed/restore.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/plugins.c Diff File
mod - src/lib/plugins.h Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/job.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File

bareos-14.2 79be85de

2014-09-27 19:50:47

mvwieringen

Ported: N/A

Details Diff
Add support for printing JobDefs.
Attach Issues:
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File

bareos-14.2 f083b3ee

2014-09-26 15:22:07

mvwieringen

Ported: N/A

Details Diff
Add missing config printing for new audit events configtype.
Attach Issues:
mod - src/dird/dird_conf.c Diff File

bareos-14.2 4c3bbdce

2014-09-26 11:33:51

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
print_config: check if resource it used at all

prevents a segfault on director, when running with debug >= 900

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File

bareos-14.2 3bc25c98

2014-09-26 10:42:28

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Autoxflate writes jobmessages what it does

- What compression algo is being used for deflate
- does it deflate/enflate
- what ratio was compressed/decompressed
Attach Issues:
mod - src/plugins/stored/autoxflate-sd.c Diff File

bareos-14.2 b8fbe4b8

2014-09-26 10:07:17

mvwieringen

Ported: N/A

Details Diff
Don't let sd and dir python plugins setup signalhandlers.

Just as we already did in the python-fd use Py_InitializeEx(0)
Attach Issues:
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/stored/python-sd.c Diff File

bareos-14.2 b2da40a0

2014-09-26 09:10:59

mvwieringen

Ported: N/A

Details Diff
Make comment somewhat more understandable.
Attach Issues:
mod - src/plugins/filed/python-fd.c Diff File

bareos-14.2 ff89acac

2014-09-26 09:10:54

mvwieringen

Ported: N/A

Details Diff
Allow multiple plugin names.

Next to specifying plugin names a a single colon separated plugin name
list also allow to specify multiple lines with plugin names with one or
more names.
Attach Issues:
mod - src/dird/dir_plugins.c Diff File
mod - src/dird/dir_plugins.h 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_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/plugins.c Diff File
mod - src/lib/plugins.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/sd_plugins.c Diff File
mod - src/stored/sd_plugins.h Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File

bareos-14.2 8c559e33

2014-09-24 15:27:46

mvwieringen

Ported: N/A

Details Diff
Fix typo.

Fixes 0000341: stored compile fails
Affected Issues
0000341
mod - src/stored/backends/generic_tape_device.c Diff File

bareos-14.2 a61cc5fa

2014-09-19 13:00:22

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
glusterfs backend requires expliciet dependency

otherwise only the GlusterFS libraries getting installed,
but not the support files and daemon.
Attach Issues:
mod - platforms/packaging/bareos.spec Diff File

bareos-14.2 6968cba5

2014-09-19 11:59:36

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
cleanup RPM package descriptions

Signed-off-by: Philipp Storz <philipp.storz@bareos.com>
Attach Issues:
mod - platforms/packaging/bareos.spec Diff File

bareos-14.2 d5dd92c3

2014-09-19 10:58:23

mvwieringen

Ported: N/A

Details Diff
Add console host in audit messages.

Log the remote hostname of the console session in the audit messages so
you at least know the remote host that uses the default console entry.
Attach Issues:
mod - src/dird/ua_audit.c Diff File

bareos-14.2 012e3235

2014-09-18 12:46:36

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
logrotate all logfiles named bareos*.log

not only bareos.log.
This will include bareos-audit.log (defined in the default configuration)
and possible other logfiles, that come in the future.
Time to keep logfiles increased from 5 to 6 month, to cover half a year.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - scripts/logrotate.in Diff File

bareos-14.2 aba4b306

2014-09-18 12:31:36

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
disable auditing by default, but active it in conf

auditing is a new feature.
To prevent chaniging behavior, set the default to disable,
but active it in the default configuration.
Attach Issues:
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/dird/dird_conf.c Diff File

bareos-14.2 e156f34a

2014-09-18 10:24:45

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
adding MacOS build targets nothing and all

nothing is the first target, to prevent loops
when Makefile is called again without parameter.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - platforms/osx/Makefile.in Diff File

bareos-14.2 fd00bbaf

2014-09-18 09:55:42

mvwieringen

Ported: N/A

Details Diff
Fix sample.
Attach Issues:
mod - src/defaultconfigs/bareos-sd.d/device-ceph-rados.conf Diff File

bareos-14.2 f1a167d6

2014-09-18 08:49:38

Evgeni Golov


Committer: mvwieringen

Ported: N/A

Details Diff
be more precise why files are in the public-domain

As per [1], "License: public-domain" needs an explanation why the work
is in the public-domain.

[1] https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - debian/copyright Diff File
mod - debian/copyright.footer Diff File
 First  Prev  1 2 3 ... 7 8 9 10 11 12 13 ... 20 ... 30 ... 40 ... 50 ... 57 58 59  Next  Last