Changesets: bareos

bareos-14.2 6dd8b299

2015-08-04 22:22

mvwieringen

Ported: N/A

Details Diff
Fix state file truncation when running bareos-dir -t

When bareos-dir -t is run (which is done from the systemd startup) we
never read the state-file nor create a pid-file but in the
terminate_dird() function we unconditionally write a new state-file
which means we clobber its content.

We now keep track of the test_config flag using a static global variable
and don't try updating the state-file nor removing the pid-file in
terminate_dird() when we are in test_config mode.

Also made the terminate_dird() and terminate_stored() static as they are
not referenced from anywhere else anyway so lets not clobber the
namespace with it.

Fixes 0000499: Director state file gets truncated
Affected Issues
0000499
mod - src/dird/dird.c Diff File
mod - src/stored/stored.c Diff File

master 9d303b21

2015-08-04 20:54

mvwieringen

Ported: N/A

Details Diff
Fix problem reported by coverity.
mod - src/dird/sd_cmds.c Diff File

master c0ad310a

2015-08-04 16:56

mvwieringen

Ported: N/A

Details Diff
Don't use DmsgX macros in plugins but Dmsg(ctx, ...
mod - src/plugins/filed/cephfs-fd.c Diff File
mod - src/plugins/filed/gfapi-fd.c Diff File

master c034edde

2015-08-04 15:00

pstorz

Ported: N/A

Details Diff
Install and remove python plugin .py files

Now that we do have the python-xx.dll for windows, we also need to
install the corresponding .py files.
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File

master 88765d11

2015-08-04 12:07

mvwieringen

Ported: N/A

Details Diff
Fix state file truncation when running bareos-dir -t

When bareos-dir -t is run (which is done from the systemd startup) we
never read the state-file nor create a pid-file but in the
terminate_dird() function we unconditionally write a new state-file
which means we clobber its content.

We now keep track of the test_config flag using a static global variable
and don't try updating the state-file nor removing the pid-file in
terminate_dird() when we are in test_config mode.

Also made the terminate_dird() and terminate_stored() static as they are
not referenced from anywhere else anyway so lets not clobber the
namespace with it.

Fixes 0000499: Director state file gets truncated
Affected Issues
0000499
mod - src/dird/dird.c Diff File
mod - src/stored/stored.c Diff File

master 5378785e

2015-08-04 10:01

Evgeni Golov

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.1 Diff File
mod - manpages/bregex.1 Diff File
mod - manpages/btraceback.8 Diff File
mod - manpages/bwild.1 Diff File

bareos-14.2 ac8379b3

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.1 Diff File
mod - manpages/bregex.1 Diff File
mod - manpages/btraceback.8 Diff File
mod - manpages/bwild.1 Diff File

bareos-13.2 e74b3f8e

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

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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 522 523 524 525 526 527 528 ... 540 ... 600 ... 641 642 643  Next  Last