Changesets: bareos2015

bareos-12.4 75d981c6

2013-05-04 15:14

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-12.4 709a966e

2013-05-04 15:14

mvwieringen

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-12.4 88f0ba7a

2013-05-04 15:14

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-12.4 efd7fad7

2013-05-04 15:14

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-12.4 463f2efb

2013-05-04 15:14

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-12.4 d7a07c27

2013-05-04 15:14

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-12.4 d41d9771

2013-05-04 15:14

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-12.4 6ee33be6

2013-05-04 15:14

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-12.4 e3140cf7

2013-05-04 15:14

mvwieringen

Ported: N/A

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

bareos-12.4 bce6dcb8

2013-05-04 15:14

mvwieringen

Ported: N/A

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

bareos-12.4 4574f146

2013-05-04 15:14

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-12.4 73877655

2013-05-04 15:14

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-12.4 7ccab8a4

2013-05-04 15:14

mvwieringen

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/btape.c Diff File
mod - src/stored/butil.c Diff File

bareos-12.4 df363abd

2013-05-04 15:14

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

bareos-12.4 6a41c855

2013-05-04 15:14

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

bareos-12.4 6289816c

2013-05-04 15:14

mvwieringen

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.
mod - Makefile.in Diff File

bareos-12.4 4f7e9380

2013-05-04 15:14

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Cleanup

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - debian/control Diff File
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File

bareos-12.4 6eb61fd1

2013-05-04 15:14

joergs


Committer: mvwieringen

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>
add - debian/bareos-bat.postinst Diff File
mod - debian/bareos-bconsole.postinst Diff File
add - debian/bareos-traymonitor.postinst Diff File
mod - platforms/rpms/bareos.spec Diff File

bareos-12.4 09a8fb0d

2013-05-04 15:14

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Reduce dependencies

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - .travis.yml Diff File
mod - debian/control Diff File
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File

bareos-12.4 0232df73

2013-05-04 15:14

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
Debian packages for bareos-bat and bareos-traymonitor

Debian packages for bareos-bat, bareos-traymonitor and bareos-devel.
Added configure opition --enable-traymonitor (again).
Uses qmake "make" and "make install" instead of special handling in SPEC file.
Moved files belonging to BAT and traymonitor from directory scripts
to source directories.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - Makefile.in Diff File
mod - autoconf/config.h.in Diff File
mod - autoconf/configure.in Diff File
add - debian/bareos-bat.install Diff File
mod - debian/bareos-common.install Diff File
add - debian/bareos-devel.install Diff File
mod - debian/bareos-traymonitor.install Diff File
mod - debian/rules Diff File
mod - platforms/gentoo/bareos.ebuild Diff File
mod - platforms/rpms/bareos.spec Diff File
rm - scripts/bat.desktop.consolehelper.in Diff File
rm - scripts/bat.desktop.xsu.in Diff File
mod - src/qt-console/bat.pro.in Diff File
mod - src/qt-console/main.qrc Diff File
mod - src/qt-console/tray-monitor/tray-monitor.pro.in Diff File

bareos-12.4 fd46b30e

2013-05-04 15:14

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
make test script a bit more deterministic

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

bareos-12.4 cf797cf9

2013-05-04 15:14

mvwieringen

Ported: N/A

Details Diff
Backport changes for bscrypto from master.
mod - manpages/bscrypto.8 Diff File
mod - src/lib/crypto_cache.c Diff File
mod - src/lib/crypto_cache.h Diff File
mod - src/tools/bscrypto.c Diff File

bareos-12.4 3dee76db

2013-05-04 15:14

mvwieringen

Ported: N/A

Details Diff
Tweak layout.
mod - debian/changelog Diff File

bareos-12.4 a42a9dc5

2013-05-04 15:14

mvwieringen

Ported: N/A

Details Diff
Add support for starting/stopping deamons.

On debian and ubuntu the init scripts are not registered on install and
unregistered on deinstall of the package. Added the right calls to the
postint script of the different daemons and added prerm scripts to do
the right thing on deinstall.

Fixes 0000086: No start scripts created during installation
Affected Issues
0000086
mod - debian/bareos-director.postinst Diff File
add - debian/bareos-director.prerm Diff File
mod - debian/bareos-filedaemon.postinst Diff File
add - debian/bareos-filedaemon.prerm Diff File
mod - debian/bareos-storage.postinst Diff File
add - debian/bareos-storage.prerm Diff File

bareos-12.4 c4334c79

2013-05-04 15:14

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
move make_catalog_backup.pl to bareos-director

move make_catalog_backup.pl to bareos-director, as in the Debian packages.
Also done some cleanup.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - platforms/rpms/bareos.spec Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 30 ... 40 ... 50 ... 52 53 54 55 56 57 58 59  Next  Last