Changesets: bareos

master dbdd1ffc

2013-05-04 19:09:20

mvwieringen adm

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.
Attach Issues:
mod - autoconf/bareos/db.m4 Diff File

master e603d304

2013-05-04 19:09:18

mvwieringen adm

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

master e853f436

2013-05-04 19:09:16

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
Attach Issues:
mod - configure Diff File

master b118348a

2013-05-04 19:09:14

mvwieringen adm

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.
Attach Issues:
mod - autoconf/bareos/db.m4 Diff File

master 43ea464e

2013-05-04 19:09:12

joergs


Committer: mvwieringen adm

Ported: N/A

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

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

master 7cf4a623

2013-05-04 19:09:10

mvwieringen adm

Ported: N/A

Details Diff
test -e is not portable.

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

master cb3b63ef

2013-05-04 19:09:06

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
Attach Issues:
mod - configure Diff File

master 58285cd3

2013-05-04 19:09:02

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
added check for mtx program

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

master 8234b4c1

2013-05-04 19:08:47

joergs


Committer: mvwieringen adm

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

master 3a192a5b

2013-05-04 19:08:17

mvwieringen adm

Ported: N/A

Details Diff
Update README.md
Attach Issues:
mod - README.md Diff File

master 893703e8

2013-05-04 19:08:14

mvwieringen adm

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

master a6b7cade

2013-05-04 19:08:03

pstorz


Committer: mvwieringen adm

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 Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File

master 8220e6fa

2013-05-04 19:08:01

mvwieringen adm

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

master 4364b3e7

2013-05-04 19:07:58

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
Attach Issues:
mod - configure Diff File

master d4fb2e17

2013-05-04 19:07:56

mvwieringen adm

Ported: N/A

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

master dc012556

2013-05-04 19:07:54

mvwieringen adm

Ported: N/A

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

master 45603766

2013-05-04 19:07:51

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
keep permissions on var/log/bareos/

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

master 97f3ad11

2013-05-04 19:07:47

joergs


Committer: mvwieringen adm

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>
Attach Issues:
mod - scripts/mtx-changer.in Diff File

master 32bb7843

2013-05-04 19:07:41

joergs


Committer: mvwieringen adm

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

master 6a31c441

2013-05-04 19:07:39

mvwieringen adm

Ported: N/A

Details Diff
Fix btape crash on quit.

- Instead of freeing the config before tearing down the whole
setup only do it when we are really done with the config and
just before we are about to exit the program.
- don't allocate jcr->comment in butil.c as the setup_jcr function
already calls new_jcr which also allocated this member and as such
the memory is leaked and smartalloc complains on exit.

Fixed 0000091: btape crashes after quit command
Affected Issues
0000091
mod - src/stored/butil.c Diff File
mod - src/stored/btape.c Diff File

master af5129bf

2013-05-04 19:07:37

joergs


Committer: mvwieringen adm

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 - scripts/bareos-config Diff File

master 1801f529

2013-05-04 19:07:34

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
postinstall (permissions, hostname, passwords)

postinstall (permissions, hostname, passwords) for bat, bconsole and tray-monitor

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - platforms/rpms/bareos.spec Diff File
add - debian/bareos-traymonitor.postinst Diff File
mod - debian/bareos-bconsole.postinst Diff File
add - debian/bareos-bat.postinst Diff File

master a1a9cb61

2013-05-04 19:07:32

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
Attach Issues:
mod - configure Diff File

master 43b32e67

2013-05-04 19:07:30

mvwieringen adm

Ported: N/A

Details Diff
Tweak remove acconfig.h dependency

Now we use the 3 arguments AC_DEFINE there is no need for a acconfig.h
with bootstrap info for config.h.in we removed acconfig.h long time ago
but the Makefile still had a dependency.
Attach Issues:
mod - Makefile.in Diff File

master 11844c8e

2013-05-04 19:07:16

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
Cleanup

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Attach Issues:
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - debian/control Diff File
 First  Prev  1 2 3 ... 40 ... 80 ... 120 ... 160 ... 200 ... 240 ... 280 ... 320 ... 360 ... 366 367 368 369 370 371 372 ... 377 378 379  Next  Last