Changesets: bareos

master 75c043e8

2019-03-01 11:51

pstorz

Ported: N/A

Details Diff
systemtests: speedup backup-bareos-test
mod - systemtests/tests/backup-bareos-passive-test/testrunner Diff File

master e2b8393f

2019-03-01 11:45

pstorz

Ported: N/A

Details Diff
systemtest: cmake cleanup
mod - systemtests/CMakeLists.txt Diff File

master 28f3a91e

2019-03-01 10:20

pstorz

Ported: N/A

Details Diff
cmake: add default build type
mod - CMakeLists.txt Diff File
mod - webui/cmake/BareosExtractVersionInfo.cmake Diff File

master 3b5e538b

2019-03-01 00:40

pstorz

Ported: N/A

Details Diff
systemtests: fix restore directory
mod - systemtests/CMakeLists.txt Diff File
mod - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
mod - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File

master 374ee4d6

2019-03-01 00:07

pstorz

Ported: N/A

Details Diff
systemtests: added backup-bareos-passive-test
mod - systemtests/CMakeLists.txt Diff File
mod - systemtests/tests/TODO.txt Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/fileset/Catalog.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/fileset/SelfTest.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-sd.d/device/FileStorage.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/tray-monitor.d/director/Director-local.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in Diff File
add - systemtests/tests/backup-bareos-passive-test/testrunner Diff File
mod - systemtests/tests/backup-bareos-test/testrunner Diff File

master 925cfa27

2019-02-28 23:44

pstorz

Ported: N/A

Details Diff
systemtests: added TODO file to track ported regress tests
add - systemtests/tests/TODO.txt Diff File

master 23bcebc6

2019-02-28 23:25

pstorz

Ported: N/A

Details Diff
systemtests: create bin/ directory in each test dir
mod - systemtests/CMakeLists.txt Diff File

master 84b42874

2019-02-28 23:23

pstorz

Ported: N/A

Details Diff
systemtests: remove backup-bareos-test2
mod - systemtests/CMakeLists.txt Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/Catalog.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/SelfTest.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/device/FileStorage.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/bconsole.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/director/Director-local.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in Diff File
rm - systemtests/tests/backup-bareos-test2/testrunner Diff File

bareos-18.2 4b26eaf5

2019-02-28 20:13

joergs

Ported: N/A

Details Diff
docs: (Sphinx) added autogenerated files that describe configuration directives

These files have been created from the *-config-schema.json files
by the generate-resoure-descriptions.py script.
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-catalog-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-client-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-console-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-counter-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-device-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-director-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-fileset-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-job-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-jobdefs-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-messages-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-pool-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-profile-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-schedule-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-dir-resource-storage-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-fd-resource-client-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-fd-resource-director-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-fd-resource-filedaemon-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-fd-resource-messages-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-sd-resource-autochanger-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-sd-resource-device-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-sd-resource-director-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-sd-resource-messages-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-sd-resource-ndmp-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-sd-resource-storage-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-tray-monitor-resource-client-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-tray-monitor-resource-consolefont-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-tray-monitor-resource-director-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-tray-monitor-resource-monitor-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bareos-tray-monitor-resource-storage-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bconsole-resource-console-description.rst Diff File
add - docs/manuals/en/main/autogenerated/bconsole-resource-director-description.rst Diff File

bareos-18.2 e7f36f75

2019-02-28 19:30

joergs

Ported: N/A

Details Diff
docs: (Sphinx) store converted images

In the LaTex documentation, the images have been stored in the
docs/manuals/images/ directory.
During build of the documentation,
the images have been converted to the appropiate formats
and temporarly stored in the
docs/manuals/images/conv/ directory.

The current build process to not allow the conversion step
and therefore the relevant images are now also stored in
docs/manuals/en/new_main_reference/source/_static/images/
directory.
rm - docs/manuals/en/new_main_reference/source/_static/images Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/Bareos-tray-monitor.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/Conf-Diagram.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/ai-transfer-first-backup1.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/ai-transfer-first-backup2.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/ai-transfer-first-backup3.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental-copy-job-archiving.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental-jobdata-AlwaysIncrementalMaxFullAge_21_days.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental-jobdata.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental-jobs_available-AlwaysIncrementalMaxFullAge_21_days.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental-virtualfull-job-archiving.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental-with-pause-7days-retention-7days-keep.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental-with-pause-7days-retention-no-keep.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/always-incremental.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/autoxflate-functionblocks.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/bareos-full-logo.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/bareos-read-configuration.dot Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/bareos-read-configuration.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/bareos-webui-jobs.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/blocksize-decisionchart.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/dbconfig-1-enable.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/dbconfig-2-select-database-type.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/dbconfig-3-postgresql-password.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/different_time.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/duplicate-real.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/flow.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/inc-diff-full-jobdata.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/inc-diff-full-jobs_available-zoom.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/inc-diff-full-jobs_available.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/jobdata_multiple_clients.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/jobdata_multiple_clients_maxfullconsilidate.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/jobs_available_multiple_clients_maxfullconsolidate.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/ndmp-backup.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/ndmp-cfg.svg Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/passive-client-communication.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/univention-client-job-activation.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/univention-configuration-registry-settings.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/univention-ucs-overview-administration.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/win-install-1.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/win-install-2.png Diff File
add - docs/manuals/en/new_main_reference/source/_static/images/win-install-3.png Diff File

bareos-18.2 c6da8917

2019-02-28 18:12

joergs

Ported: N/A

Details Diff
docs: added config schema files from Bareos 18.2.6

These scheam files can be automatically genered by the Bareos daemons.
However, in our current build system, it is easier to use these existing files instead of creating them newly.

However, it is important to update these files as soon as a configuration directive in the daemons have changed.
add - docs/manuals/en/main/autogenerated/bareos-dir-config-schema.json Diff File
add - docs/manuals/en/main/autogenerated/bareos-fd-config-schema.json Diff File
add - docs/manuals/en/main/autogenerated/bareos-sd-config-schema.json Diff File
add - docs/manuals/en/main/autogenerated/bareos-tray-monitor-config-schema.json Diff File
add - docs/manuals/en/main/autogenerated/bconsole-config-schema.json Diff File

master 45e9c418

2019-02-28 15:09

pstorz

Ported: N/A

Details Diff
systemtests: wait before starting restore
mod - systemtests/tests/backup-bareos-test/testrunner Diff File
mod - systemtests/tests/backup-bareos-test2/testrunner Diff File

master e0fdc1e1

2019-02-27 23:01

pstorz

Ported: N/A

Details Diff
systemtests: configure file bconsole and bareos
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/bin/bareos Diff File
add - systemtests/bin/bconsole Diff File

master 1f5a77ef

2019-02-27 22:53

pstorz


Committer: franku

Ported: N/A

Details Diff
bareos-ctr-dir.in: remove -x setting in a shell script
mod - core/scripts/bareos-ctl-dir.in Diff File

master 1e1f86b1

2019-02-27 16:02

franku

Ported: N/A

Details Diff
systemtests: added script check_for_zombie_jobs
add - systemtests/scripts/check_for_zombie_jobs Diff File

master 610a5170

2019-02-27 13:09

franku

Ported: N/A

Details Diff
regress: do not git pull during build setup
mod - regress/scripts/setup Diff File

bareos-18.2 e762edaf

2019-02-27 13:09

franku

Ported: N/A

Details Diff
regress: do not git pull during build setup
mod - regress/scripts/setup Diff File

master 7d31bf68

2019-02-26 23:41

pstorz

Ported: N/A

Details Diff
Enable Include What You Use and Link What You Use
mod - core/CMakeLists.txt Diff File
add - core/cmake/BareosFindStaticCodeAnalysisTools.cmake Diff File
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File

master dfe0d1b7

2019-02-26 17:38

pstorz

Ported: N/A

Details Diff
tests: do not add the google test binaries themselves

As we now automatically detect tests inside of google test
binaries, we do not need to run the binaries themselves anymore.

All auto discovered google tests have the "gtest:" prefix
mod - core/src/tests/CMakeLists.txt Diff File

master 8eba6073

2019-02-26 16:15

arogge_adm

Ported: N/A

Details Diff
stored: don't touch devices that were not acquired

when one of acquire_device_for_read() or
acquire_device_for_append() in do_mac_run()
returned false, the code still touched the
devices eventually failing another job that
had the device currently acquired.
This patch makes sure do_mac_run() does not
touch any device it couldn't aquire.
mod - core/src/stored/mac.cc Diff File

master a09298eb

2019-02-26 12:14

pstorz

Ported: N/A

Details Diff
gfapi-fd: avoid "missing config.h" problem on Debian 8 and Ubuntu 16

On Debian 8 and Ubuntu 16, /usr/include/glusterfs/compat-errno.h
contains the following lines:

#ifndef _CONFIG_H
#define _CONFIG_H
#include "config.h"
#endif

As config.h is not existent, building fails.

By defining _CONFIG_H we avoid this problem and can successfully build
the gfapi-fd plugin.
mod - core/src/plugins/filed/gfapi-fd.cc Diff File

bareos-18.2 ff56949f

2019-02-26 12:14

pstorz


Committer: arogge

Ported: N/A

Details Diff
gfapi-fd: avoid "missing config.h" problem on Debian 8 and Ubuntu 16

On Debian 8 and Ubuntu 16, /usr/include/glusterfs/compat-errno.h
contains the following lines:

#ifndef _CONFIG_H
#define _CONFIG_H
#include "config.h"
#endif

As config.h is not existent, building fails.

By defining _CONFIG_H we avoid this problem and can successfully build
the gfapi-fd plugin.

(cherry picked from commit a09298ebb9f976efb5da28f2476994c64c3a59ee)
mod - core/src/plugins/filed/gfapi-fd.cc Diff File

master e8c9b1a0

2019-02-25 19:29

pstorz

Ported: N/A

Details Diff
regress: first commit to modernize regress tests

We will move the exising "regression" tests test by test
into the "systemtests" directory finally removing the
regress folder completely.

The systemtests tests are part of the cmake project
and so can be executed with "make test" directly.

The tests run on the compiled binaries inside of the
CMAKE_BINARY_DIR without needing a "make install" at all.

The idea is to have an individual folder inside of systemtests
for every test that has the tests name.

The first example for how that works is the
systemtests/tests/backup-bareos-test folder.

- Each test folder needs to be indipendent from the other, so that
ctest can execute each of the tests in parallel.

- The full configuration for each test is stored in etc/bareos
as .conf.in template files that are edited by cmake during the cmake
run.

- each test has a "testrunner" script file that executes the test
itself.

- The "testrunner" sources an individual environment shell script that
contains the variables that are used for this test.
mod - CMakeLists.txt Diff File
mod - core/cmake/BareosSetVariableDefaults.cmake Diff File
mod - core/scripts/bareos-config-lib.sh.in Diff File
mod - core/scripts/bareos-config.in Diff File
mod - core/scripts/bareos-ctl-dir.in Diff File
mod - core/scripts/bareos-ctl-fd.in Diff File
mod - core/scripts/bareos-ctl-funcs Diff File
mod - core/scripts/bareos-ctl-sd.in Diff File
mod - core/scripts/bareos.in Diff File
mod - core/src/cats/create_bareos_database.in Diff File
mod - core/src/cats/drop_bareos_database.in Diff File
mod - core/src/cats/drop_bareos_tables.in Diff File
mod - core/src/cats/grant_bareos_privileges.in Diff File
mod - core/src/cats/make_bareos_tables.in Diff File
mod - core/src/cats/update_bareos_tables.in Diff File
add - systemtests/CMakeLists.txt Diff File
add - systemtests/data/flat-c.tgz Diff File
add - systemtests/data/index.txt Diff File
add - systemtests/data/po.tgz Diff File
add - systemtests/data/small.tgz Diff File
add - systemtests/environment.in Diff File
add - systemtests/scripts/cleanup Diff File
add - systemtests/scripts/diff.pl.in Diff File
add - systemtests/scripts/functions Diff File
add - systemtests/scripts/setup Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/fileset/Catalog.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/fileset/SelfTest.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-sd.d/device/FileStorage.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/tray-monitor.d/director/Director-local.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in Diff File
add - systemtests/tests/backup-bareos-test/testrunner Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/Catalog.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/LinuxAll.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/SelfTest.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/fileset/Windows All Drives.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/schedule/WeeklyCycle.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/schedule/WeeklyCycleAfterBackup.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/device/FileStorage.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/director/Director-local.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in Diff File
add - systemtests/tests/backup-bareos-test2/testrunner Diff File

master 6c346ded

2019-02-25 18:27

pstorz

Ported: N/A

Details Diff
lib: fix buffer overrun in PathAppend(PoolMem& path, const char* extra)

The size is calculated one too low and so the buffer end is overrun.

This only becomes a problem when the configuration path is bigger than
N_LEN (130) and a reallocation happens.
mod - core/src/lib/bsys.cc Diff File

bareos-18.2 5c21168a

2019-02-25 18:27

pstorz

Ported: N/A

Details Diff
lib: fix buffer overrun in PathAppend(PoolMem& path, const char* extra)

The size is calculated one too low and so the buffer end is overrun.

This only becomes a problem when the configuration path is bigger than
N_LEN (130) and a reallocation happens.
mod - core/src/lib/bsys.cc Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 337 338 339 340 341 342 343 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last