Changesets: bareos

bareos-14.2 ee7d4f4f

2016-04-08 14:40

Dirk Wilske


Committer: mvwieringen

Ported: N/A

Details Diff
dird: Adjust the output of show jobs for client run before
mod - src/dird/dird_conf.c Diff File

master 44b9534d

2016-04-08 14:40

Dirk Wilske


Committer: mvwieringen

Ported: N/A

Details Diff
bcommand: JSON support for wait_cmd
mod - src/dird/ua_cmds.c Diff File

master 93c4a5d0

2016-04-07 19:03

mvwieringen

Ported: N/A

Details Diff
win32: Fix crash on restore of sparse files.

See
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364596%28v=vs.85%29.aspx
[^] see we need to provide a bytesreturned variable
to the DeviceIoControl call when lpOverlapped is NULL

From the API page:

If lpOverlapped is NULL, lpBytesReturned cannot be NULL. Even when an
operation returns no output data and lpOutBuffer is NULL, DeviceIoControl
makes use of lpBytesReturned. After such an operation, the value of
lpBytesReturned is meaningless.

Fixes 0000640: File daemon crashed after restoring sparse file on windows
Affected Issues
0000640
mod - src/win32/compat/compat.c Diff File

bareos-14.2 93e5f8f7

2016-04-07 19:03

mvwieringen

Ported: N/A

Details Diff
win32: Fix crash on restore of sparse files.

See
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364596%28v=vs.85%29.aspx
[^] see we need to provide a bytesreturned variable
to the DeviceIoControl call when lpOverlapped is NULL

From the API page:

If lpOverlapped is NULL, lpBytesReturned cannot be NULL. Even when an
operation returns no output data and lpOutBuffer is NULL, DeviceIoControl
makes use of lpBytesReturned. After such an operation, the value of
lpBytesReturned is meaningless.

Fixes 0000640: File daemon crashed after restoring sparse file on windows
Affected Issues
0000640
mod - src/win32/compat/compat.c Diff File

master 0e17729e

2016-04-06 14:20

Frank Bergkemper

Ported: N/A

Details Diff
bump version 16.2.1
mod - module/Application/view/layout/login.phtml Diff File

master 048c47cc

2016-04-05 17:40

mvwieringen

Ported: N/A

Details Diff
lmdb: Sync to upstream.
mod - src/lmdb/mdb.c Diff File

master 58e0d3b8

2016-04-04 21:56

mvwieringen


Committer: joergs

Ported: N/A

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

master 796290a7

2016-04-01 19:35

joergs

Ported: N/A

Details Diff
make glob() for Windows compile and work
mod - LICENSE Diff File
mod - debian/copyright Diff File
mod - debian/copyright.footer Diff File
mod - debian/copyright.header Diff File
mod - src/win32/compat/glob.c Diff File
mod - src/win32/compat/include/glob.h Diff File
mod - src/win32/lib/Makefile Diff File

master 0767a0ed

2016-04-01 19:03

joergs

Ported: N/A

Details Diff
added glob() for Windows

This patch integrates globbing from the mingw.org project,
specifically mingw-org-wsl, release 4.0.2.
The two files come from
https://raw.githubusercontent.com/mirror/mingw-org-wsl/4.0.2/include/glob.h
https://raw.githubusercontent.com/mirror/mingw-org-wsl/4.0.2/src/libcrt/misc/glob.c

In this form, it does NOT compile in the Bareos mingw-w64 environment.
add - src/win32/compat/glob.c Diff File
add - src/win32/compat/include/glob.h Diff File

master c626a26c

2016-03-29 19:34

pstorz

Ported: N/A

Details Diff
Remove doublets of Emsg and Dmsg

Emsg now automtatically does Dmsg, so we would then get
double output.
mod - src/lib/bsys.c Diff File
mod - src/lib/crypto_cache.c Diff File
mod - src/lib/scsi_lli.c Diff File
mod - src/plugins/stored/scsicrypto-sd.c Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File

master cb19f48c

2016-03-29 13:29

pstorz

Ported: N/A

Details Diff
Adaption for POOLMEM ** instead of POOLMEM *&

compat.c changes need to be adapted for the new
POOLMEM world
mod - src/lib/unittests/junction_test.c Diff File
mod - src/win32/compat/compat.c Diff File

master c7520418

2016-03-29 12:09

pstorz

Ported: N/A

Details Diff
Merge branch 'bareos-15.2'
mod - platforms/win32/winbareos.nsi Diff File
mod - src/dird/ua.h Diff File
mod - src/dird/ua_run.c Diff File
mod - src/lib/unittests/Makefile.in Diff File
add - src/lib/unittests/junction_test.c Diff File
mod - src/lib/unittests/protos.h Diff File
mod - src/lib/unittests/test_lib.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File
mod - src/win32/lib/unittests/Makefile Diff File

master fb1b7dd4

2016-03-24 19:14

joergs

Ported: N/A

Details Diff
configure
mod - configure Diff File

master 53b7180a

2016-03-24 14:43

Frank Bergkemper

Ported: N/A

Details Diff
Job: job details view tweaks

- Changes to one expandable datatable for the job details
- Adds missing links to client, fileset and pool
mod - module/Job/view/job/job/details.phtml Diff File
mod - module/Job/view/job/job/index.phtml Diff File

master 7d83a521

2016-03-24 11:16

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
stored: Use logical drive numbers and not drive indexes

Currently the mount protocol between the director and the storage daemon
passes a logical drive number (as seen from the end-user) but the search
algorithm uses the drive index in the autochanger to find the right
drive.

We should number the drives logically and perform the search using that
number. This patch removes the use of any drive index which is a
physical number only needed for external programs that address the drive
via its physical drive index. After this change there is only one place
where the drive index is used and that is in edit_device_codes() which
creates the cmdline for the external programs like mtx-changer etc.

Fixes 0000634: Storage daemon should use logical drive numbers and not
drive indexes
Affected Issues
0000634
mod - src/stored/autochanger.c Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/status.c Diff File
mod - src/stored/stored_conf.h Diff File

master cf11d580

2016-03-23 17:35

Frank Bergkemper

Ported: N/A

Details Diff
Volumes: Display volume jobs

Displays a listing about which jobs are on a volume
in our volume details view.

Also, volume details are now presented via a datatable
with expandable detailed volume information.
mod - module/Media/src/Media/Controller/MediaController.php Diff File
mod - module/Media/src/Media/Model/MediaModel.php Diff File
mod - module/Media/view/media/media/details.phtml Diff File

master 8fb9b1b2

2016-03-22 19:20

Frank Bergkemper

Ported: N/A

Details Diff
Layout changes and cleanup
mod - module/Application/config/module.config.php Diff File
mod - module/Application/view/layout/layout.phtml Diff File
mod - module/Job/view/job/job/details.phtml Diff File
mod - module/Job/view/job/job/run.phtml Diff File
mod - module/Media/view/media/media/details.phtml Diff File
mod - module/Media/view/media/media/index.phtml Diff File
mod - module/Pool/view/pool/pool/details.phtml Diff File
mod - module/Pool/view/pool/pool/index.phtml Diff File
mod - module/Storage/view/storage/storage/details.phtml Diff File
mod - module/Storage/view/storage/storage/index.phtml Diff File
mod - public/css/style.css Diff File

master 7bc356f4

2016-03-22 15:14

Joerg Steffens

Ported: N/A

Details Diff
added tls-client-initiated-connection-backup-test

Tests the Client Initiated Connection with TLS connections.
It uses a separate TLS certificate for every daemon (this is not the
case for other tests).

It also adds the configs/tls/ directoy, with certificates for all
daemon, to be used by other tests.
mod - DartTestfile.txt.in Diff File
add - configs/tls-client-initiated-connection-backup-test/bareos-dir.conf.in Diff File
add - configs/tls-client-initiated-connection-backup-test/bareos-fd.conf.in Diff File
add - configs/tls-client-initiated-connection-backup-test/bareos-sd.conf.in Diff File
add - configs/tls/bareos-ca.pem Diff File
add - configs/tls/bareos-dir.bareos.org-cert.pem Diff File
add - configs/tls/bareos-dir.bareos.org-key.pem Diff File
add - configs/tls/bareos-sd1.bareos.org-cert.pem Diff File
add - configs/tls/bareos-sd1.bareos.org-key.pem Diff File
add - configs/tls/bareos-sd2.bareos.org-cert.pem Diff File
add - configs/tls/bareos-sd2.bareos.org-key.pem Diff File
add - configs/tls/client1.bareos.org-cert.pem Diff File
add - configs/tls/client1.bareos.org-key.pem Diff File
add - configs/tls/console.bareos.org-cert.pem Diff File
add - configs/tls/console.bareos.org-key.pem Diff File
mod - tests/backup-bareos-client-initiated-connection-test Diff File
add - tests/tls-client-initiated-connection-backup-test Diff File

bareos-15.2 97161d30

2016-03-22 13:06

pstorz

Ported: N/A

Details Diff
Fix problems with wide char symlinks and junctions

There were some problems since the last change to
the junctions and symlink code on windows to support
wide characters.

This fixes these problems so that we now can create correct
wide character symlinks and junctions.

This commit also adds a unit test for creating junctions and
changes what is needed for that.

Fixes 0000615: symlinks/junctions wrong target path on restore
Affected Issues
0000615
mod - platforms/win32/winbareos.nsi Diff File
mod - src/lib/unittests/Makefile.in Diff File
add - src/lib/unittests/junction_test.c Diff File
mod - src/lib/unittests/protos.h Diff File
mod - src/lib/unittests/test_lib.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File
mod - src/win32/lib/unittests/Makefile Diff File

bareos-14.2 15659e4a

2016-03-22 13:06

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
Fix problems with wide char symlinks and junctions

There were some problems since the last change to
the junctions and symlink code on windows to support
wide characters.

This fixes these problems so that we now can create correct
wide character symlinks and junctions.

Fixes 0000615: symlinks/junctions wrong target path on restore
Affected Issues
0000615
add - src/lib/unittests/junction_test.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/compat.h Diff File

master 7994bbdb

2016-03-21 16:20

frank


Committer: mvwieringen

Ported: N/A

Details Diff
Univention: Updates the long description text for the AppCenter
mod - platforms/univention/AppCenter/univention-bareos.ini.in Diff File

master b39591ee

2016-03-21 15:07

mvwieringen


Committer: pstorz

Ported: N/A

Details Diff
dird: Interactive run doesn't update pool on level change.

In interactive mode when changing the level we correctly call
apply_pool_overrides() which sets the new pool right but then we
call reset_restore_context() which sets the pool back to rc.pool
(e.g. restore context pool definition which still points to the original
pool defined in the Job resource.)

This patch updates the rc.pool to point to the pool which was set by
the call to apply_pool_overrides() and set a variable in the restore
context which keeps track that we got a level override so we don't
overwrite the pool_source which is also set by apply_pool_overrides()
in reset_restore_context().

When we get a real pool override via the mod pool option we reset this
level override flag so we set the right pool_source in
reset_restore_context() again.

Fixes 0000633: Interactive run doesn't update pool on level change.
Affected Issues
0000633
mod - src/dird/ua.h Diff File
mod - src/dird/ua_run.c Diff File

bareos-14.2 1b085aed

2016-03-21 15:07

mvwieringen

Ported: N/A

Details Diff
dird: Interactive run doesn't update pool on level change.

In interactive mode when changing the level we correctly call
apply_pool_overrides() which sets the new pool right but then we
call reset_restore_context() which sets the pool back to rc.pool
(e.g. restore context pool definition which still points to the original
pool defined in the Job resource.)

This patch updates the rc.pool to point to the pool which was set by
the call to apply_pool_overrides() and set a variable in the restore
context which keeps track that we got a level override so we don't
overwrite the pool_source which is also set by apply_pool_overrides()
in reset_restore_context().

When we get a real pool override via the mod pool option we reset this
level override flag so we set the right pool_source in
reset_restore_context() again.

Fixes 0000633: Interactive run doesn't update pool on level change.
Affected Issues
0000633
mod - src/dird/ua.h Diff File
mod - src/dird/ua_run.c Diff File

master 0e14f2ec

2016-03-18 23:14

mvwieringen

Ported: N/A

Details Diff
bcommand: Fix .authorized command.
mod - src/dird/ua_dotcmds.c Diff File

master e108159d

2016-03-17 18:30

mvwieringen

Ported: N/A

Details Diff
bcommand: Add .authorized command.

Query command that allows you to query the different User Agent Access
Control List and see if a certain command or object is accesable or not
by the current available ACL rights.
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 494 495 496 497 498 499 500 ... 540 ... 600 ... 641 642 643  Next  Last