Changesets: bareos

bareos-13.2 68e6fa85

2013-10-01 15:54

Marco van Wieringen

Ported: N/A

Details Diff
When using multiple catalogs always the first is chosen.

With the introduction of the autoselection of the right catalog when
none is selected we also auto select a catalog in the pool resource.
That is of course wrong as that means every pool always has an
explicit override of the catalog to use to the first catalog which
makes the override in the client useless.

Fixes 0000229: When using multiple catalogs always the first is chosen.
mod - src/dird/dird_conf.c Diff File

bareos-12.4 d8191b14

2013-10-01 13:54

mvwieringen

Ported: N/A

Details Diff
When using multiple catalogs always the first is chosen.

With the introduction of the autoselection of the right catalog when
none is selected we also auto select a catalog in the pool resource.
That is of course wrong as that means every pool always has an
explicit override of the catalog to use to the first catalog which
makes the override in the client useless.

Fixes 0000229: When using multiple catalogs always the first is chosen.
Affected Issues
0000229
mod - src/dird/dird_conf.c Diff File

bareos-13.2 5b9f9f57

2013-10-01 13:54

mvwieringen

Ported: N/A

Details Diff
When using multiple catalogs always the first is chosen.

With the introduction of the autoselection of the right catalog when
none is selected we also auto select a catalog in the pool resource.
That is of course wrong as that means every pool always has an
explicit override of the catalog to use to the first catalog which
makes the override in the client useless.

Fixes 0000229: When using multiple catalogs always the first is chosen.
Affected Issues
0000229
mod - src/dird/dird_conf.c Diff File

master feef1bbc

2013-10-01 13:50

mvwieringen

Ported: N/A

Details Diff
When using multiple catalogs always the first is chosen.

With the introduction of the autoselection of the right catalog when
none is selected we also auto select a catalog in the pool resource.
That is of course wrong as that means every pool always has an
explicit override of the catalog to use to the first catalog which
makes the override in the client useless.

Fixes 0000229: When using multiple catalogs always the first is chosen.
Affected Issues
0000229
mod - src/dird/dird_conf.c Diff File

master d72c5178

2013-10-01 10:12

Marco van Wieringen

Ported: N/A

Details Diff
See if enabling hardening on Ubuntu is now fixed.

We remove the unsetting of the LDFLAGS so on Ubuntu it should now start
using the default hardening flags again.
mod - debian/rules Diff File

master d6bf486f

2013-10-01 08:12

mvwieringen

Ported: N/A

Details Diff
See if enabling hardening on Ubuntu is now fixed.

We remove the unsetting of the LDFLAGS so on Ubuntu it should now start
using the default hardening flags again.
mod - debian/rules Diff File

master 144e8f3c

2013-10-01 08:12

mvwieringen

Ported: N/A

Details Diff
See if enabling hardening on Ubuntu is now fixed.

We remove the unsetting of the LDFLAGS so on Ubuntu it should now start
using the default hardening flags again.
mod - debian/rules Diff File

master 21b23fa3

2013-09-30 22:32

mvwieringen

Ported: N/A

Details Diff
Fix to get ride of last MAXSTRING variables.

And fixes to make testfind work again after some time. As no one
probably uses this ever it was broken for some time already.
mod - src/dird/testfind.c Diff File
mod - src/qt-console/restore/restore.cpp Diff File

master 1e036223

2013-09-30 20:07

mvwieringen

Ported: N/A

Details Diff
Fix problems in qt programs with new config engine.
mod - src/console/console_conf.c Diff File
mod - src/qt-console/bat_conf.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.cpp Diff File

master 4d771cb9

2013-09-30 19:23

mvwieringen

Ported: N/A

Details Diff
Enable __builtin_va_copy on mingw.
mod - src/win32/compat/include/mingwconfig.h Diff File

master d2ce847c

2013-09-29 10:53

mvwieringen

Ported: N/A

Details Diff
Updated version to 13.4.0
mod - configure Diff File
mod - platforms/packaging/bareos-Debian_6.0.dsc Diff File
mod - platforms/packaging/bareos-Debian_7.0.dsc Diff File
mod - platforms/packaging/bareos-Univention_3.1.dsc Diff File
mod - platforms/packaging/bareos-xUbuntu_10.04.dsc Diff File
mod - platforms/packaging/bareos-xUbuntu_12.04.dsc Diff File
mod - platforms/packaging/bareos.changes Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/include/version.h Diff File

master 0689de6e

2013-09-29 09:57

mvwieringen

Ported: N/A

Details Diff
Get ride of the dreaded my_compare function.

Give the function a somewhat better name so you at least get a clue as
to what its doing.
mod - src/dird/ua_status.c Diff File
mod - src/stored/vol_mgr.c Diff File

bareos-13.2 ba23c5d9

2013-09-28 19:23

Marco van Wieringen

Ported: N/A

Details Diff
Fix some complains by NSIS.

And document why we have two libgcc names (32/64 bits).
mod - platforms/win32/winbareos.nsi Diff File

master 3242efe7

2013-09-28 17:23

mvwieringen

Ported: N/A

Details Diff
Fix some complains by NSIS.

And document why we have two libgcc names (32/64 bits).
mod - platforms/win32/winbareos.nsi Diff File

bareos-12.4 cf557e06

2013-09-28 17:23

mvwieringen

Ported: N/A

Details Diff
Fix some complains by NSIS.

And document why we have two libgcc names (32/64 bits).
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 10cefebe

2013-09-28 17:23

mvwieringen

Ported: N/A

Details Diff
Fix some complains by NSIS.

And document why we have two libgcc names (32/64 bits).
mod - platforms/win32/winbareos.nsi Diff File

master d6a687f0

2013-09-28 16:51

mvwieringen

Ported: N/A

Details Diff
Fix error.
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 ca5393c1

2013-09-28 13:32

Marco van Wieringen

Ported: N/A

Details Diff
Fix windows installer.

Explicitly do SetOutPath to the right directory for all sections
so files end up in the right directory and not in the last set output
dir. Also autoselect the install of the plugins. And some cleanup of
old debug and unneeded comments.
mod - platforms/win32/winbareos.nsi Diff File

master 91d558e3

2013-09-28 11:32

mvwieringen

Ported: N/A

Details Diff
Fix windows installer.

Explicitly do SetOutPath to the right directory for all sections
so files end up in the right directory and not in the last set output
dir. Also autoselect the install of the plugins. And some cleanup of
old debug and unneeded comments.
mod - platforms/win32/winbareos.nsi Diff File

bareos-12.4 b1f04233

2013-09-28 11:32

mvwieringen

Ported: N/A

Details Diff
Fix windows installer.

Explicitly do SetOutPath to the right directory for all sections
so files end up in the right directory and not in the last set output
dir. Also autoselect the install of the plugins. And some cleanup of
old debug and unneeded comments.
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 a056fa1b

2013-09-28 11:32

mvwieringen

Ported: N/A

Details Diff
Fix windows installer.

Explicitly do SetOutPath to the right directory for all sections
so files end up in the right directory and not in the last set output
dir. Also autoselect the install of the plugins. And some cleanup of
old debug and unneeded comments.
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 a72b2931

2013-09-27 19:33

Marco van Wieringen

Ported: N/A

Details Diff
Fix two compile errors on AIX.
mod - src/findlib/acl.c Diff File

master f17dbca6

2013-09-27 18:00

mvwieringen

Ported: N/A

Details Diff
Rebuild configure and config.h.in
mod - autoconf/config.h.in Diff File
mod - configure Diff File

master 12a0fdd0

2013-09-27 18:00

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Config engine redesign Phase 1

This whole wad is the first phase of a bigger full overhaul of the config
engine. The following is in here:

1)
Instead of using function pointers for storing the config parser function
to call use integer types which are translated at runtime to the correct
function to call. This should work around hardening being performed on
shared libraries on some Linux platforms. On those platforms the actual
comparing of the function pointers fail, using integers for the different
data types makes it also possible to use an elegant switch to jump to the
correct parsing function instead of using an endless set of ifs needed when
comparing memory addresses of functions.

An extra side effect of not using function pointers is that the store functions
don't need to be global so the parse_conf.c in the shared library only exports
10 instead of 32 symbols and also the daemon specific store function can be
local only functions. The only thing needed is a callback to a dispatch function
in the daemon when it uses non standard config items which are not of a generic
type (e.g. not bool, integer etc but things like protocol etc.) which leads to a
very small extra payload which is probably not even measurable.

2)
Bring config engine to 2013 and don't polute namespace.

Implement a TODO from June 2008 and get ride of a slack of global
variables used by the config engine. The code seems to be have been
refactored in 2008 to access most configfile parsing via the CONFIG
class and it already has most of the needed structures which also were
kept as global variables. From now on the config engine is accessed via
the CONFIG class and only res_all is left as global variable. As a side
effect the config CLASS is now available as my_config and is a global
variable.

Global variable introduced:

- CLASS CONFIG *my_config (Global configuration)

Global variables removed:

- res_all_size
- r_first
- r_last
- resources
- res_head

It should be possible also to get ride of res_all but that needs some
more testing. And is currently not very high on our urgency map.

3)
Fix long standing TODO to remove the MAXSTRING definition.
Use POOLMEM and POOL_MEM to replace the fixed sized buffers.

4)
First basic part of printing config information out from the internal
tables. We will enhance this in the second phase to be more generic
and to allow it to write out the config maybe in different formats.
(JSON/XML comes to mind).

Fixes 0000059: bareos failed to start when linked with hardening linker flags LDFLAGS
Fixes 0000164: Remove MAXSTRING variable
Fixes 0000202: Config engine redesign
Affected Issues
0000059, 0000164, 0000202
mod - autoconf/configure.in Diff File
mod - src/console/console.c Diff File
mod - src/console/console_conf.c Diff File
mod - src/console/console_conf.h Diff File
mod - src/dird/authenticate.c Diff File
mod - src/dird/bsr.c Diff File
mod - src/dird/dbcheck.c Diff File
mod - src/dird/dird.c Diff File
mod - src/dird/dird.h Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/dird/expand.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/inc_conf.c Diff File
add - src/dird/inc_conf.h Diff File
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/newvol.c Diff File
mod - src/dird/run_conf.c Diff File
mod - src/dird/scheduler.c Diff File
mod - src/dird/testfind.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_label.c Diff File
mod - src/dird/ua_output.c Diff File
mod - src/dird/ua_prune.c Diff File
mod - src/dird/ua_restore.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/ua_select.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_status.c Diff File
mod - src/dird/verify.c Diff File
mod - src/filed/authenticate.c Diff File
mod - src/filed/backup.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/restore.c Diff File
mod - src/filed/verify.c Diff File
mod - src/filed/verify_vol.c Diff File
mod - src/findlib/xattr.c Diff File
mod - src/include/baconfig.h Diff File
mod - src/lib/address_conf.c Diff File
mod - src/lib/address_conf.h Diff File
mod - src/lib/cram-md5.c Diff File
mod - src/lib/edit.c Diff File
add - src/lib/generic_res.h Diff File
mod - src/lib/ini.c Diff File
mod - src/lib/ini.h Diff File
mod - src/lib/lex.c Diff File
mod - src/lib/lex.h Diff File
mod - src/lib/message.c Diff File
mod - src/lib/parse_bsr.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/protos.h Diff File
mod - src/lib/res.c Diff File
mod - src/lib/runscript.c Diff File
mod - src/lib/util.c Diff File
mod - src/plugins/filed/test-plugin-fd.c Diff File
mod - src/qt-console/bat.h Diff File
mod - src/qt-console/bat_conf.cpp Diff File
mod - src/qt-console/bat_conf.h Diff File
mod - src/qt-console/bcomm/dircomm.cpp Diff File
mod - src/qt-console/main.cpp Diff File
mod - src/qt-console/mainwin.cpp Diff File
mod - src/qt-tray-monitor/authenticate.cpp Diff File
mod - src/qt-tray-monitor/monitoritemthread.cpp Diff File
mod - src/qt-tray-monitor/tray-monitor.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.cpp Diff File
mod - src/qt-tray-monitor/tray_conf.h Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/authenticate.c Diff File
mod - src/stored/autochanger.c 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/butil.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/reserve.c Diff File
mod - src/stored/status.c Diff File
mod - src/stored/stored.c 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

master e3713ddd

2013-09-27 17:39

mvwieringen

Ported: N/A

Details Diff
Merge branch 'mvw/pruning'
mod - src/dird/ua_prune.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 598 599 600 601 602 603 604 ... 628 629 630  Next  Last