Changesets: bareos

master 03d68733

2019-12-17 18:25

arogge

Ported: N/A

Details Diff
findlib: parent dirs should have consistent mode

Fixes 0001162: When restoring files without directories, the permissions
of the immediate parent directory are wrong

Previously when creating parent directories Bareos handled the deepest
parent directory special and set permissions on it.
This surfaced when selecting only files, but not directories to restore.
In that case the directory that contains the files got a mode that was
derived from the file mode of the file being restored when the parent
directory was created.
While this in itself is already inconsistent, the effective mode was
also calculated by adding S_IWUSR and S_IXUSR which did not take group
or other in account.

This patch now makes sure that no permission on parent directories is
set explicitly, so you just get what the effective uid, gid and umask
will produce.
Affected Issues
0001162
mod - core/src/findlib/mkpath.cc Diff File

bareos-16.2 5eb993c4

2019-12-17 18:25

arogge

Ported: N/A

Details Diff
findlib: parent dirs should have consistent mode

Previously when creating parent directories Bareos handled the deepest
parent directory special and set permissions on it.
This surfaced when selecting only files, but not directories to restore.
In that case the directory that contains the files got a mode that was
derived from the file mode of the file being restored when the parent
directory was created.
While this in itself is already inconsistent, the effective mode was
also calculated by adding S_IWUSR and S_IXUSR which did not take group
or other in account.

This patch now makes sure that no permission on parent directories is
set explicitly, so you just get what the effective uid, gid and umask
will produce.

(cherry picked from commit 705860721722284540ef8d74461c5a7b772c6da1)
Affected Issues
0001162
mod - src/findlib/mkpath.c Diff File

bareos-17.2 1b5ff848

2019-12-17 18:25

arogge

Ported: N/A

Details Diff
findlib: parent dirs should have consistent mode

Previously when creating parent directories Bareos handled the deepest
parent directory special and set permissions on it.
This surfaced when selecting only files, but not directories to restore.
In that case the directory that contains the files got a mode that was
derived from the file mode of the file being restored when the parent
directory was created.
While this in itself is already inconsistent, the effective mode was
also calculated by adding S_IWUSR and S_IXUSR which did not take group
or other in account.

This patch now makes sure that no permission on parent directories is
set explicitly, so you just get what the effective uid, gid and umask
will produce.

(cherry picked from commit 705860721722284540ef8d74461c5a7b772c6da1)
Affected Issues
0001162
mod - src/findlib/mkpath.c Diff File

bareos-18.2 68c99eb5

2019-12-17 18:25

arogge

Ported: N/A

Details Diff
findlib: parent dirs should have consistent mode

Previously when creating parent directories Bareos handled the deepest
parent directory special and set permissions on it.
This surfaced when selecting only files, but not directories to restore.
In that case the directory that contains the files got a mode that was
derived from the file mode of the file being restored when the parent
directory was created.
While this in itself is already inconsistent, the effective mode was
also calculated by adding S_IWUSR and S_IXUSR which did not take group
or other in account.

This patch now makes sure that no permission on parent directories is
set explicitly, so you just get what the effective uid, gid and umask
will produce.

(cherry picked from commit 705860721722284540ef8d74461c5a7b772c6da1)
Affected Issues
0001162
mod - core/src/findlib/mkpath.cc Diff File

master d5cb61dd

2019-12-17 18:01

pstorz

Ported: N/A

Details Diff
adapt spec file for percona plugin
mod - core/platforms/packaging/bareos.spec Diff File

bareos-19.2 1b5fe6dc

2019-12-17 18:01

pstorz


Committer: franku

Ported: N/A

Details Diff
adapt spec file for percona plugin
mod - core/platforms/packaging/bareos.spec Diff File

master caefb25c

2019-12-17 17:59

franku

Ported: N/A

Details Diff
systemtests: add reload-works-on-adding-empty-job-resource
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-empty-job-resource/testrunner Diff File

master 54e4d4fd

2019-12-17 17:28

franku

Ported: N/A

Details Diff
systemtests: add reload-works-on-adding-uncommented-string
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-uncommented-string/testrunner Diff File

master 763686d6

2019-12-17 16:56

pstorz

Ported: N/A

Details Diff
imported Percona Xtrabackup Plugin Readme
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

bareos-19.2 867750ca

2019-12-17 16:56

pstorz


Committer: franku

Ported: N/A

Details Diff
imported Percona Xtrabackup Plugin Readme
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

master 605cfb88

2019-12-17 16:50

readonly


Committer: pstorz

Ported: N/A

Details Diff
filed: import percona plugin from contrib
add - core/src/plugins/filed/BareosFdPercona.py Diff File
mod - core/src/plugins/filed/CMakeLists.txt Diff File
add - core/src/plugins/filed/bareos-fd-percona.py Diff File

bareos-19.2 01e24eeb

2019-12-17 16:50

readonly


Committer: franku

Ported: N/A

Details Diff
filed: import percona plugin from contrib
add - core/src/plugins/filed/BareosFdPercona.py Diff File
mod - core/src/plugins/filed/CMakeLists.txt Diff File
add - core/src/plugins/filed/bareos-fd-percona.py Diff File

master f4e6c8c1

2019-12-17 16:44

franku

Ported: N/A

Details Diff
systemtests: add reload-works-on-unchanged-config
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/reload-works-on-unchanged-config/testrunner Diff File

master 278e0552

2019-12-17 16:33

franku

Ported: N/A

Details Diff
systemtests: add "set -u" to cleanup-script
mod - systemtests/scripts/cleanup Diff File

master 2173e6fd

2019-12-17 16:11

frank


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000372 from fbergkemper/dev/fbergkemper/master/cli-improvements

dird: Sort resource names in prompt lists
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_select.h Diff File
mod - core/src/lib/util.cc Diff File
mod - core/src/lib/util.h Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/sort_stringvector.cc Diff File

master 8280df45

2019-12-17 15:43

franku

Ported: N/A

Details Diff
systemtests: add dedicated director config directory "additional_test_config"

- the extra directory "additional_test_config" is prepared and cleaned for
configuration enhancements that are only used in systemtests
mod - systemtests/CMakeLists.txt Diff File
mod - systemtests/environment.in Diff File
mod - systemtests/scripts/cleanup Diff File

master 012fe927

2019-12-17 13:03

frank

Ported: N/A

Details Diff
dird: Change the volume selection dialog text

Change the volume selection dialog text,
to clarify how the asterisk is used.
mod - core/src/dird/ua_select.cc Diff File

master ea327fe3

2019-12-17 12:12

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000374 : clarify_windows_support

docs: clarify the windows support status of tapes and changers
mod - docs/manuals/source/TasksAndConcepts/TheWindowsVersionOfBareos.rst Diff File

master 3baa9682

2019-12-17 09:44

pstorz

Ported: N/A

Details Diff
docs: clarify the windows support status of tapes and changers

Also the abbreviations for sd and dir are not expanded in admonitions.
mod - docs/manuals/source/TasksAndConcepts/TheWindowsVersionOfBareos.rst Diff File

master d3cdca38

2019-12-17 00:01

stephand

Ported: N/A

Details Diff
docs: Documentation of the oVirt Plugin

Initial documentation of the oVirt plugin
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

master a128f8db

2019-12-16 16:28

franku

Ported: N/A

Details Diff
systemtests: add quotes to test operands in a shell script

- the estat, zstat, dstat and so on and the tested values were missing quotes
mod - systemtests/scripts/functions Diff File

master caef8c1e

2019-12-16 13:38

franku

Ported: N/A

Details Diff
systemtests: add reload-works-on-adding-duplicate-job-resource
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/reload-works-on-adding-duplicate-job-resource/testrunner Diff File

master 51a98f9d

2019-12-15 21:19

frank

Ported: N/A

Details Diff
core: reword how to cancel a command
mod - core/src/console/console.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File

master 82c730d1

2019-12-15 19:53

frank

Ported: N/A

Details Diff
dird: Sort resource names in prompt lists
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_select.h Diff File
mod - core/src/lib/util.cc Diff File
mod - core/src/lib/util.h Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/sort_stringvector.cc Diff File

master 99a37714

2019-12-14 13:09

franku


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000371 from bareos/dev/franku/master/bugfixes

dev/franku/master/bugfixes
mod - core/scripts/btraceback.gdb Diff File
mod - core/src/lib/thread_list.cc Diff File
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/tests/webui-common/webui.in Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 286 287 288 289 290 291 292 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last