Changesets: bareos2015

bareos-13.2 75218a61

2013-05-04 23:10

mvwieringen

Ported: N/A

Details Diff
Fix btraceback script.
mod - scripts/btraceback.in Diff File

bareos-13.2 c2b36397

2013-05-04 23:10

mvwieringen

Ported: N/A

Details Diff
Add some safeguards for checking if we have a director.

When we never authenticated with an director the jcr->director pointer
will be NULL. When we then try to run the after runscripts (which are
not there also as they are passed in by the director we crash. So added
some extra safeguards and don't call the runscript at all when there
are not set.

Fix 0000103: bareos-fd 13.1 on ubuntu 10.04.4 crashes with segmentation violation
Affected Issues
0000103
mod - src/filed/job.c Diff File

bareos-13.2 f9e13fe0

2013-05-04 23:10

mvwieringen

Ported: N/A

Details Diff
Fix encrypted compressed data in compatible mode.

Forgot to setup the cipher buffer.
mod - src/filed/compression.c Diff File

bareos-13.2 e932ae32

2013-05-04 23:10

mvwieringen

Ported: N/A

Details Diff
Make default intialization somewhat more robust.

A config entry with a default value but without the ITEM_DEFAULT
flag is almost always an error so just warn about it and set the flag so
we no longer get nasty surprises. Also found one additional error.
mod - src/lib/parse_conf.c Diff File
mod - src/stored/stored_conf.c Diff File

bareos-13.2 4bebcfe2

2013-05-04 23:10

mvwieringen

Ported: N/A

Details Diff
Fix using default but not setting ITEM_DEFAULT flag.
mod - src/dird/dird_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/stored/stored_conf.c Diff File

bareos-13.2 2fd297d3

2013-05-04 23:09

mvwieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-13.2 824fc603

2013-05-04 23:09

mvwieringen

Ported: N/A

Details Diff
Fix database detection macros.

Some platforms have a lying mysql_config which says libs are somewhere
they are not. Also did some reindenting of the text and now only set
that we have a certain backend if we really found a libdir with some
libraries.
mod - autoconf/bareos/db.m4 Diff File

bareos-13.2 7f8ad5d8

2013-05-04 23:09

mvwieringen

Ported: N/A

Details Diff
Fix floating point exception.

dev->max_file_size = 2 * num_recs * dev->max_block_size;

max_block_size can be 0

which gives a max_file_size which is 0

when you then calculate

write_eof = dev->max_file_size / REC_SIZE; /*compute when we add EOF*/

then write_eof = 0 and when you then do

if ((block->BlockNumber % write_eof) == 0) {

You get a nice Floating Point Execption.

We now set max_file_size to something more appropriate and assert on
write_eof being bigger then 0 so we never do a divide by zero again.

Fixes 0000096: btape crashes using multiple tape test when tape was written by a fill test before.
Affected Issues
0000096
mod - src/stored/btape.c Diff File

bareos-13.2 5c71e418

2013-05-04 23:09

mvwieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-13.2 74ea6e57

2013-05-04 23:09

mvwieringen

Ported: N/A

Details Diff
Try using mysql_config if its available.

As there are different versions of mysql_config depending on the version
we test to see what works. This seems to be mostly ok for the current
platforms we build on but we hope for a somewhat stable ABI of the
mysql_config program in the future. This should hopefully save us from
needing to do lots of maintenance on configure for the exotic
distributions out there who put libs in the most exotic places.
mod - autoconf/bareos/db.m4 Diff File

bareos-13.2 24fde0d2

2013-05-04 23:09

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
adapted configure to debian configure (bat, tray-monitor)

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - .travis.yml Diff File

bareos-13.2 63071d66

2013-05-04 23:09

mvwieringen

Ported: N/A

Details Diff
test -e is not portable.

-e file True if file exists. (Not available in sh.)
mod - scripts/mtx-changer.in Diff File

bareos-13.2 6149c67a

2013-05-04 23:09

mvwieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-13.2 b356ff5c

2013-05-04 23:09

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
added check for mtx program

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - scripts/mtx-changer.in Diff File

bareos-13.2 82b14279

2013-05-04 23:08

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
configure finds mtx also at /usr/sbin/mtx

some distribution store mtx under /usr/sbin/mtx.
As configure runs as normal user, this path is not set.
This patch let configure also look at sbin paths.

fixes 0000101: variable MTX is not defined

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000101
mod - autoconf/configure.in Diff File

bareos-13.2 b3df190a

2013-05-04 23:08

mvwieringen

Ported: N/A

Details Diff
Update README.md
mod - README.md Diff File

bareos-13.2 e6c5c6fa

2013-05-04 23:08

mvwieringen

Ported: N/A

Details Diff
Use open_bpipe wrapper in bpipe plugin.

Instead of using popen and pclose use the Bareos wrappers open_bpipe
and close_bpipe. This way the unneeded filedescriptors are closed
on fork of the program ran under the bpipe plugin.

Fixes 0000104: Use open_bpipe wrapper in bpipe plugin.
Affected Issues
0000104
mod - src/plugins/fd/bpipe-fd.c Diff File

bareos-13.2 0923a4a8

2013-05-04 23:08

pstorz


Committer: mvwieringen

Ported: N/A

Details Diff
check for windows version (32 or 64 Bits)

Starting the wrong installer will create a warning and
abort the installation.

Fixes 0000087: Winbareos installer 64 bit does not check, if windows is 64 bit

This patch should also set the right installation dir
for the different windows Versions.
( Program Files / Program Files (x86)

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000087
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File

bareos-13.2 c53012dd

2013-05-04 23:08

mvwieringen

Ported: N/A

Details Diff
Fix segmentation fault when running fill multiple times.

Code frees block but doesn't set the pointer to NULL so a next run of
the code thinks that everything is already allocated but all pointers
point to already freed memory which gives some firework.

Fixes 0000096: Running fill test twice leads to segmentation violation.
Affected Issues
0000096
mod - src/stored/btape.c Diff File

bareos-13.2 470ffb1b

2013-05-04 23:07

mvwieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-13.2 8e1f5d3b

2013-05-04 23:07

mvwieringen

Ported: N/A

Details Diff
Fix indent.
mod - autoconf/configure.in Diff File

bareos-13.2 0c509157

2013-05-04 23:07

mvwieringen

Ported: N/A

Details Diff
Tweak Make.common.in with somewhat more usable info.
mod - autoconf/Make.common.in Diff File

bareos-13.2 55e84a8c

2013-05-04 23:07

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
keep permissions on var/log/bareos/

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - debian/rules Diff File

bareos-13.2 e2621083

2013-05-04 23:07

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
fixes the paths to the config file and the log file

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - scripts/mtx-changer.in Diff File

bareos-13.2 1b8fcb16

2013-05-04 23:07

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
should work with /bin/sh and not only with /bin/bash

fixes 0000078: bareos-config is not portable

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000078
mod - autoconf/configure.in Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 30 ... 40 ... 46 47 48 49 50 51 52 ... 57 58 59  Next  Last