Changesets: bareos

bareos-12.4 60794520

2015-08-04 10:01

Evgeni Golov


Committer: mvwieringen

Ported: N/A

Details Diff
adjust manpage sections to match the file extensions

some manpages had section 8 in the header but a .1 extension
and vice versa. fix these to match the extension.

thanks to Debian's Lintian tool for spotting the issue
mod - manpages/bconsole.8 Diff File
mod - manpages/bregex.8 Diff File
mod - manpages/btraceback.8 Diff File
mod - manpages/bwild.8 Diff File

master 6c439cb7

2015-08-03 21:28

Evgeni Golov

Ported: N/A

Details Diff
call openssl rand with an excplicit RANDFILE=/dev/urandom

this will prevent the creation of $HOME/.rnd in the users home
mod - scripts/bareos-config-lib.sh.in Diff File

bareos-14.2 2f1ca1ea

2015-08-03 21:28

Evgeni Golov


Committer: mvwieringen

Ported: N/A

Details Diff
call openssl rand with an excplicit RANDFILE=/dev/urandom

this will prevent the creation of $HOME/.rnd in the users home
mod - scripts/bareos-config-lib.sh.in Diff File

bareos-13.2 8556e8e0

2015-08-03 21:28

Evgeni Golov


Committer: mvwieringen

Ported: N/A

Details Diff
call openssl rand with an excplicit RANDFILE=/dev/urandom

this will prevent the creation of $HOME/.rnd in the users home
mod - scripts/bareos-config-lib.sh.in Diff File

master 840ec7e3

2015-08-03 21:28

Evgeni Golov

Ported: N/A

Details Diff
set dbuser and dbname in apply_dbconfig_settings()
mod - scripts/bareos-config-lib.sh.in Diff File

master 4ab95a56

2015-07-28 18:30

pstorz

Ported: N/A

Details Diff
Remove python plugins on uninstall
mod - platforms/win32/winbareos.nsi Diff File

master b75a5b01

2015-07-28 10:29

mvwieringen

Ported: N/A

Details Diff
Fix error with list copies.

List copies without any jobid=<jobid_list> is also a valid command which
it wasn't after unwinding the old spaghetti code.
mod - src/dird/ua_output.c Diff File

master 6d12a020

2015-07-28 10:07

mvwieringen

Ported: N/A

Details Diff
Fix compiler warning due to typo.
mod - src/dird/ua_output.c Diff File

master e0f2f48d

2015-07-27 18:45

mvwieringen

Ported: N/A

Details Diff
Fix errors found by Coverity.
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_output.c Diff File

bareos-14.2 b7ea4308

2015-07-26 17:53

mvwieringen

Ported: N/A

Details Diff
Switch to bourne shell constructions.

Some platforms have only a simple bourne shell and this simple changes
make things work on those platforms too.
mod - scripts/bareos-config-lib.sh.in Diff File
mod - scripts/git-info.sh Diff File
mod - src/cats/Makefile.in Diff File
mod - src/cats/drop_bareos_tables.in Diff File
mod - src/cats/grant_bareos_privileges.in Diff File
mod - src/cats/make_bareos_tables.in Diff File

master a285fa67

2015-07-23 17:39

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
also allow system to access tray-monitor.conf
mod - platforms/win32/winbareos.nsi Diff File

master 36072105

2015-07-19 18:19

mvwieringen

Ported: N/A

Details Diff
Switch to bourne shell constructions.

Some platforms have only a simple bourne shell and this simple changes
make things work on those platforms too.
mod - scripts/bareos-config-lib.sh.in Diff File
mod - scripts/git-info.sh Diff File
mod - src/cats/Makefile.in Diff File
mod - src/cats/drop_bareos_tables.in Diff File
mod - src/cats/grant_bareos_privileges.in Diff File
mod - src/cats/make_bareos_tables.in Diff File

master 7bd052fb

2015-07-18 00:00

mvwieringen

Ported: N/A

Details Diff
Add the guid cache pointer to the useragent.

From now on useragent has a guid cache to store the uid and gid to
name mappings. The cache is freed when the useragent is destroyed.

Until now only the interactive ua_tree.c used a guid cache from
uid/gid to user/group mapping but we also want the BVFS api mode 2
(JSON) to have this information for file selection.
mod - src/dird/ua.h Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/dird/ua_server.c Diff File
mod - src/dird/ua_tree.c Diff File

master 05591370

2015-07-16 12:37

mvwieringen

Ported: N/A

Details Diff
Clear encryption and compression flags if unsupported.

Analog to how we clear the ACL and XATTR flags in a fileset if we run a
backup Job on a filed which doesn't support the wanted feature we now
also clear any compression or encryption flag. By clearing the flag
before we start the actual Job we no longer get those nasty errors
in which by the time we call blast_data_to_storage_daemon() we abort
the Job due to missing features.

Clearing compression flags should be no problem and a warning is logged
anyway. For the encryption not being available one could use the new
force encrypt flag in the fileset to fail the Job if encryption is an
absolute requirement.

Fixes 0000496: File daemon without compression support / director with
compression enabled - weird error message
Affected Issues
0000496
mod - src/filed/dir_cmd.c Diff File
mod - src/lib/compression.c Diff File
mod - src/lib/protos.h Diff File

master 39de4603

2015-07-15 18:30

mvwieringen

Ported: N/A

Details Diff
AllowCompression setting doesn't work with LZ4/LZFast

Fixes 0000497: AllowCompression setting doesn't work with LZ4/LZFast
Affected Issues
0000497
mod - src/dird/fd_cmds.c Diff File

bareos-14.2 0d84ff4d

2015-07-15 18:30

mvwieringen

Ported: N/A

Details Diff
AllowCompression setting doesn't work with LZ4/LZFast

Fixes 0000497: AllowCompression setting doesn't work with LZ4/LZFast
Affected Issues
0000497
mod - src/dird/fd_cmds.c Diff File

bareos-13.2 2bebc0da

2015-07-15 18:30

mvwieringen

Ported: N/A

Details Diff
AllowCompression setting doesn't work with LZ4/LZFast

Fixes 0000497: AllowCompression setting doesn't work with LZ4/LZFast
Affected Issues
0000497
mod - src/dird/fd_cmds.c Diff File

master 620475af

2015-07-13 12:45

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Make failing load of backend less confusing.

Change exit from M_ABORT to M_ERROR_TERM on problems with configuration
file, preventing a Segmentation Fault when running bareos-dbcheck on an
uninitialized config file.

M_ABORT forces a traceback but for some failures those only confuse end-users.
mod - src/cats/cats_backends.c Diff File
mod - src/stored/sd_backends.c Diff File

master d4dac4e4

2015-07-10 15:28

mvwieringen

Ported: N/A

Details Diff
Fix copyright.

- Major refactoring and new features contributed by Planets Communications B.V.
mod - src/filed/accurate.c Diff File
mod - src/filed/accurate.h Diff File
mod - src/filed/accurate_htable.c Diff File
mod - src/filed/accurate_lmdb.c Diff File
mod - src/lib/scsi_tapealert.c Diff File
mod - src/lib/scsi_tapealert.h Diff File
mod - src/plugins/dird/python-dir.c Diff File
mod - src/plugins/dird/python-dir.h Diff File
mod - src/plugins/filed/cephfs-fd.c Diff File
mod - src/plugins/filed/gfapi-fd.c Diff File
mod - src/plugins/filed/python-fd.c Diff File
mod - src/plugins/filed/python-fd.h Diff File
mod - src/plugins/filed/rados-fd.c Diff File
mod - src/plugins/stored/autoxflate-sd.c Diff File
mod - src/plugins/stored/python-sd.c Diff File
mod - src/plugins/stored/python-sd.h Diff File
mod - src/plugins/stored/scsitapealert-sd.c Diff File
mod - src/stored/backends/cephfs_device.c Diff File
mod - src/stored/backends/cephfs_device.h Diff File
mod - src/stored/backends/elasto_device.c Diff File
mod - src/stored/backends/elasto_device.h Diff File
mod - src/stored/backends/generic_tape_device.c Diff File
mod - src/stored/backends/generic_tape_device.h Diff File
mod - src/stored/backends/gfapi_device.c Diff File
mod - src/stored/backends/gfapi_device.h Diff File
mod - src/stored/backends/object_store_device.c Diff File
mod - src/stored/backends/object_store_device.h Diff File
mod - src/stored/backends/rados_device.c Diff File
mod - src/stored/backends/rados_device.h Diff File
mod - src/stored/backends/unix_fifo_device.c Diff File
mod - src/stored/backends/unix_fifo_device.h Diff File
mod - src/stored/backends/unix_file_device.c Diff File
mod - src/stored/backends/unix_file_device.h Diff File
mod - src/stored/backends/unix_tape_device.c Diff File
mod - src/stored/backends/unix_tape_device.h Diff File
mod - src/stored/sd_backends.c Diff File
mod - src/stored/sd_backends.h Diff File
mod - src/win32/plugins/filed/mssqlvdi-fd.c Diff File
mod - src/win32/stored/backends/win32_fifo_device.c Diff File
mod - src/win32/stored/backends/win32_fifo_device.h Diff File
mod - src/win32/stored/backends/win32_file_device.c Diff File
mod - src/win32/stored/backends/win32_file_device.h Diff File
mod - src/win32/stored/backends/win32_tape_device.c Diff File
mod - src/win32/stored/backends/win32_tape_device.h Diff File

master 8b033a3d

2015-07-08 18:18

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
JSON: write all keys in lower case

Postgresql and MySQL use different cases for database tables (lower
case vs. CamelCase).
To prevent problems, the JSON output converts all keys to
lowercase.

Fixes 0000493: bareos-webui with MySQL
Affected Issues
0000493
mod - src/lib/mem_pool.c Diff File
mod - src/lib/mem_pool.h Diff File
mod - src/lib/output_formatter.c Diff File

master 71f51db9

2015-06-30 19:00

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Allow to specify arrays in JSON output structure

Before, the JSON output handled arrays implicitly.
The result was partly unexpected behavior,
like some data was overwritten when adding several nameless objects.

The new version destinguishes between

* named objects (object_start(NAME))
* can be added to objects (named and nameless objects)

* nameless objects (object_start(NULL))
* can be added to arrays

* arrays (array_start(NAME))
* can be added by name to an object
* contain nameless objects (object_start(NULL))

The JSON result root element is now an object. It has been an array
before, but external tools (bareos-webui) normally only evaluate the first
array element.
mod - src/cats/sql.c Diff File
mod - src/cats/sql_list.c Diff File
mod - src/dird/ua_cmds.c Diff File
mod - src/dird/ua_dotcmds.c Diff File
mod - src/lib/output_formatter.c Diff File
mod - src/lib/output_formatter.h Diff File

master 7d739f07

2015-06-30 13:29

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Command .defaults: enable JSON output

This command was only indented for api mode 1,
separating the different entries only by sending them in separate
packets.

This patch makes the command also usable in other api modes,
while leaving api mode 1 unchanged.
mod - src/dird/ua_dotcmds.c Diff File

master 1011da19

2015-06-30 10:51

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Command .sql: enable JSON output

before, the .sql command was only intended for api mode 1
and printed the fields separated by tabs.

Each row was sent as seperate packet, but had no more line
separations, making the output unusable in interactive mode (api=0).

The new implementation reuses the normal sql table output for all api
modes except 1 (the output there is used by bat).

It formats the table nicely and usable in the different api modes.
mod - src/dird/ua_dotcmds.c Diff File

master 8dc1c57f

2015-06-29 19:46

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Cleanup dotcommands

added some comments, sorted commands
mod - src/cats/sql_list.c Diff File
mod - src/dird/ua_dotcmds.c Diff File

master a3f26c57

2015-06-29 15:17

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Show loglevel in debug output
mod - src/lib/message.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 546 547 548 549 550 551 552 ... 560 ... 630 ... 665 666 667  Next  Last