Changesets: bareos

dev 26f38a79

2018-08-31 14:48:44

joergs

Ported: N/A

Details Diff
droplet: improves handling when truncating volumes

Without this change, errors when truncating a droplet volume are silently ignored.
This has resulted in errors afterwards
(After truncating done by automatic recycling, some of the chunks did still exist.
When using the volume afterwards, Bareos complains about not matching volume sizes.)

Now, if truncating fails,
the job fails and the volume state is set to Error.
Attach Issues:
mod - src/stored/backends/droplet_device.c Diff File
mod - src/stored/backends/droplet_device.h Diff File

bareos-16.2-droplet b1a7e785

2018-08-31 14:48:44

joergs

Ported: N/A

Details Diff
droplet: improves handling when truncating volumes

Without this change, errors when truncating a droplet volume are silently ignored.
This has resulted in errors afterwards
(After truncating done by automatic recycling, some of the chunks did still exist.
When using the volume afterwards, Bareos complains about not matching volume sizes.)

Now, if truncating fails,
the job fails and the volume state is set to Error.

Accessing the chunks of a volume have been done by dpl_opendir before.
Unfortenatly, this function has a bug and returns only the first 1000 entries.

As we know, that chunks are always named as 4 digit numbers from 0000 to 9999
we now iterate through them.

Be default, iterating the chunks of a volume stops if a chunk does not exist.

However, the truncate function iterate through all possible chunks, from 0000 to 9999
This should cover the case, that an old volume exists with gaps in the chunk list.

This commit also fixes the check_remote function.
Before, if droplet have already be initialized
but connection to backend stops operating,
check_remote still return true. This is now fixed.
Attach Issues:
mod - src/stored/backends/droplet_device.c Diff File
mod - src/stored/backends/droplet_device.h Diff File

dev 2e82d697

2018-08-31 13:47:24

franku

Ported: N/A

Details Diff
config: added global and static methods from res.cc to ConfigurationParser

- methods now working on the respective object instead of one global object
(that was at this point my_config)
- left methods from BareosResource untouched
Attach Issues:
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/include/baconfig.h Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 3238244b

2018-08-31 13:47:24

franku

Ported: N/A

Details Diff
config: added global and static methods from res.cc to ConfigurationParser

- methods now working on the respective object instead of one global object
(that was at this point my_config)
- left methods from BareosResource untouched
Attach Issues:
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/include/baconfig.h Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev b53d741d

2018-08-31 10:45:57

franku

Ported: N/A

Details Diff
config: GetResWithName is now a member of ConfigurationParser

- access GetResWithName using my_config->GetResWithName at all daemons
Attach Issues:
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/bsr.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/getmsg.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/run_conf.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/testfind.cc Diff File
mod - core/src/dird/ua_acl.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/filed/authenticate.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/lib/unittests/bsock_test.cc Diff File
mod - core/src/stored/authenticate.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev baede470

2018-08-31 10:45:57

franku

Ported: N/A

Details Diff
config: GetResWithName is now a member of ConfigurationParser

- access GetResWithName using my_config->GetResWithName at all daemons
Attach Issues:
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/bsr.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/fd_cmds.cc Diff File
mod - core/src/dird/getmsg.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/run_conf.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/testfind.cc Diff File
mod - core/src/dird/ua_acl.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/filed/authenticate.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/lib/unittests/bsock_test.cc Diff File
mod - core/src/stored/authenticate.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 7a5fb381

2018-08-30 17:09:06

franku

Ported: N/A

Details Diff
config: GetNextRes is now a member of ConfigurationParser

- access GetNextRes using my_config->GetNextRes at all daemons
Attach Issues:
mod - core/src/console/console.cc Diff File
mod - core/src/dird/consolidate.cc Diff File
mod - core/src/dird/dbcheck.cc Diff File
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/expand.cc Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_dotcmds.cc Diff File
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_server.cc Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/verify_vol.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/monitoritemthread.cc Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 9747774a

2018-08-30 17:09:06

franku

Ported: N/A

Details Diff
config: GetNextRes is now a member of ConfigurationParser

- access GetNextRes using my_config->GetNextRes at all daemons
Attach Issues:
mod - core/src/console/console.cc Diff File
mod - core/src/dird/consolidate.cc Diff File
mod - core/src/dird/dbcheck.cc Diff File
mod - core/src/dird/dird.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/expand.cc Diff File
mod - core/src/dird/job.cc Diff File
mod - core/src/dird/scheduler.cc Diff File
mod - core/src/dird/stats.cc Diff File
mod - core/src/dird/storage.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/dird/ua_dotcmds.cc Diff File
mod - core/src/dird/ua_select.cc Diff File
mod - core/src/dird/ua_server.cc Diff File
mod - core/src/filed/backup.cc Diff File
mod - core/src/filed/filed.cc Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/restore.cc Diff File
mod - core/src/filed/verify_vol.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/qt-tray-monitor/monitoritemthread.cc Diff File
mod - core/src/stored/stored.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev e92f463a

2018-08-30 16:52:40

franku

Ported: N/A

Details Diff
config: added GetTlsPskByFullyQualifiedResourceName-callbacks for stored and filed
Attach Issues:
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 132056a2

2018-08-30 16:52:40

franku

Ported: N/A

Details Diff
config: added GetTlsPskByFullyQualifiedResourceName-callbacks for stored and filed
Attach Issues:
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File

dev 304df42d

2018-08-30 14:50:45

franku

Ported: N/A

Details Diff
tlsopenssl: for psk added a dynamic callback

- GetTlsPskByFullyQualifiedResourceNameCb should give back the psk
for a given identity based on the appropriate config-resource
- first implementation in director
- unittest covers console-director connection
Attach Issues:
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/filed_conf.h Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/tls.h Diff File
mod - core/src/lib/tls_conf_psk.h Diff File
add - core/src/lib/tls_conf_psk_callback.h Diff File
mod - core/src/lib/tls_gnutls.cc Diff File
mod - core/src/lib/tls_gnutls.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File
mod - core/src/lib/unittests/create_resource.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/stored/stored_conf.h Diff File

dev 23b0064d

2018-08-30 14:50:45

franku

Ported: N/A

Details Diff
tlsopenssl: for psk added a dynamic callback

- GetTlsPskByFullyQualifiedResourceNameCb should give back the psk
for a given identity based on the appropriate config-resource
- first implementation in director
- unittest covers console-director connection
Attach Issues:
mod - core/src/console/console_conf.cc Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/filed/filed_conf.cc Diff File
mod - core/src/filed/filed_conf.h Diff File
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/tls.h Diff File
mod - core/src/lib/tls_conf_psk.h Diff File
add - core/src/lib/tls_conf_psk_callback.h Diff File
mod - core/src/lib/tls_gnutls.cc Diff File
mod - core/src/lib/tls_gnutls.h Diff File
mod - core/src/lib/tls_openssl.cc Diff File
mod - core/src/lib/tls_openssl.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File
mod - core/src/lib/unittests/create_resource.cc Diff File
mod - core/src/qt-tray-monitor/tray_conf.cc Diff File
mod - core/src/stored/stored_conf.cc Diff File
mod - core/src/stored/stored_conf.h Diff File

dev 85bd139d

2018-08-30 10:33:50

franku

Ported: N/A

Details Diff
tlsopenssl: deleted an unused map for psk server context
Attach Issues:
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File

dev 41cc5686

2018-08-30 10:33:50

franku

Ported: N/A

Details Diff
tlsopenssl: deleted an unused map for psk server context
Attach Issues:
mod - core/src/lib/tls_openssl_private.cc Diff File
mod - core/src/lib/tls_openssl_private.h Diff File

master 12e6863b

2018-08-29 14:14:04

frank


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000109 from bareos/dev/fbergkemper/master/fix-undefined-var-msg

webui: variable not initialized properly
Attach Issues:
mod - webui/module/Job/src/Job/Controller/JobController.php Diff File

dev cdf26a00

2018-08-29 13:51:30

frank

Ported: N/A

Details Diff
webui: variable not initialized properly

$jobdefaults was not initialzed properly and could lead to a PHP notice.
Attach Issues:
mod - webui/module/Job/src/Job/Controller/JobController.php Diff File

dev 9fa51075

2018-08-29 13:51:30

frank


Committer: franku

Ported: N/A

Details Diff
webui: variable not initialized properly

$jobdefaults was not initialzed properly and could lead to a PHP notice.
Attach Issues:
mod - webui/module/Job/src/Job/Controller/JobController.php Diff File

dev 3a389067

2018-08-29 13:51:30

frank


Committer: franku

Ported: N/A

Details Diff
webui: variable not initialized properly

$jobdefaults was not initialzed properly and could lead to a PHP notice.
Attach Issues:
mod - webui/module/Job/src/Job/Controller/JobController.php Diff File

dev dab3aebf

2018-08-29 13:37:19

pstorz

Ported: N/A

Details Diff
AuthenticateUserAgent: use callback for GetResWithname
Attach Issues:
mod - core/src/dird/authenticate.cc Diff File
mod - core/src/dird/authenticate.h Diff File
mod - core/src/dird/ua_server.cc Diff File

dev 051657fe

2018-08-28 21:23:03

franku

Ported: N/A

Details Diff
libbareos: solve the undefined reference by a weak attribute

- this is probably not protable
- GetTlsResourceByFullyQualifiedResourceName is not known when linking libbareos
Attach Issues:
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File

dev b675aee5

2018-08-28 21:23:03

franku

Ported: N/A

Details Diff
libbareos: solve the undefined reference by a weak attribute

- this is probably not protable
- GetTlsResourceByFullyQualifiedResourceName is not known when linking libbareos
Attach Issues:
mod - core/src/lib/parse_conf.h Diff File
mod - core/src/lib/tls_openssl_private.cc Diff File

master 615ff580

2018-08-28 13:08:08

frank


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000108 from bareos/dev/fbergkemper/master/documentation

dev/fbergkemper/master/documentation
Attach Issues:
mod - docs/manuals/en/developers/source/messages.rst Diff File
mod - docs/manuals/en/developers/source/storage.rst Diff File

dev fcafbb10

2018-08-28 12:52:36

frank

Ported: N/A

Details Diff
docs: WARNING: Unknown target name: "or"

Fixes broken table, which caused the warning.
Attach Issues:
mod - docs/manuals/en/developers/source/messages.rst Diff File

dev f359caba

2018-08-28 12:52:36

frank


Committer: franku

Ported: N/A

Details Diff
docs: WARNING: Unknown target name: "or"

Fixes broken table, which caused the warning.
Attach Issues:
mod - docs/manuals/en/developers/source/messages.rst Diff File

dev fd2b59b1

2018-08-28 12:52:36

frank


Committer: franku

Ported: N/A

Details Diff
docs: WARNING: Unknown target name: "or"

Fixes broken table, which caused the warning.
Attach Issues:
mod - docs/manuals/en/developers/source/messages.rst Diff File
 First  Prev  1 2 3 ... 40 ... 80 ... 120 ... 157 158 159 160 161 162 163 ... 200 ... 240 ... 280 ... 320 ... 360 ... 400 401 402 403  Next  Last