Changesets: bareos

bareos-12.4 92d628dc

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-12.4 57e2c162

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Switch to new version 12.4.3
mod - configure Diff File
mod - debian/changelog Diff File
mod - platforms/deb/bareos-Debian_6.0.dsc Diff File
mod - platforms/deb/bareos-xUbuntu_12.04.dsc Diff File
mod - platforms/rpms/bareos.spec Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - src/include/version.h Diff File
mod - src/win32/filed/icon.rc Diff File

master 3dd3e35c

2013-05-04 13:15

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
traymonitor redesign

- traymonitor redesign by Frank Ueberschar
- traymon animated shows
- added bareos icon to traymon, installer
and fd executable

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - src/win32/qt-tray-monitor/tray-monitor.pro Diff File
mod - src/win32/qt-console/bat.pro Diff File
add - src/win32/filed/icon.rc Diff File
mod - src/win32/filed/Makefile Diff File
mod - src/win32/Makefile.inc Diff File
add - src/qt-tray-monitor/traymenu.h Diff File
add - src/qt-tray-monitor/traymenu.cpp Diff File
add - src/qt-tray-monitor/tray-monitor.h Diff File
add - src/qt-tray-monitor/tray-monitor.cpp Diff File
add - src/qt-tray-monitor/systemtrayicon.h Diff File
add - src/qt-tray-monitor/systemtrayicon.cpp Diff File
add - src/qt-tray-monitor/monitortab.h Diff File
add - src/qt-tray-monitor/monitoritemthread.h Diff File
add - src/qt-tray-monitor/monitoritemthread.cpp Diff File
add - src/qt-tray-monitor/monitoritem.h Diff File
add - src/qt-tray-monitor/monitoritem.cpp Diff File
add - src/qt-tray-monitor/mainwindow.ui Diff File
add - src/qt-tray-monitor/mainwindow.h Diff File
add - src/qt-tray-monitor/mainwindow.cpp Diff File
add - src/qt-tray-monitor/main.qrc Diff File
add - src/qt-tray-monitor/bareos-tray-monitor.desktop Diff File
add - src/qt-tray-monitor/authenticate.h Diff File
rm - src/qt-console/tray-monitor/tray-ui.h Diff File
rm - src/qt-console/tray-monitor/tray-monitor.h Diff File
rm - src/qt-console/tray-monitor/tray-monitor.cpp Diff File
mod - src/qt-console/mainwin.cpp Diff File
mod - src/qt-console/main.qrc Diff File
mod - src/qt-console/bat.pro.in Diff File
mod - src/include/baconfig.h Diff File
add - src/images/bat.svg Diff File
mod - src/console/console.c Diff File
mod - platforms/win32/winbareos64.spec Diff File
mod - platforms/win32/winbareos32.spec Diff File
mod - platforms/win32/winbareos.nsi Diff File
mod - platforms/win32/winbareos-nsi.spec Diff File
mod - platforms/win32/tray-monitor-conf.patch Diff File
mod - autoconf/configure.in Diff File
mod - AUTHORS Diff File

bareos-12.4 40953f53

2013-05-04 13:15

mvwieringen adm

Ported: N/A

Details Diff
Remove obscure beef variable.

As we don't have an enterprise version we don't need a bareos
enable enterprise feature flag.
mod - scripts/btraceback.dbx Diff File
mod - scripts/btraceback.gdb Diff File
mod - src/dird/ua_status.c Diff File
mod - src/filed/fd_plugins.c Diff File
mod - src/filed/fd_plugins.h Diff File
mod - src/include/version.h Diff File
mod - src/lib/message.c Diff File
mod - src/stored/status.c Diff File
mod - src/win32/lib/make_def Diff File

bareos-12.4 d8d10637

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
mig_jcr is freed to early.

Because the mig_jcr is already freed in the migration_cleanup() function
all info is lost when we get to the after runscript. This is a design
error so we moved the freeing of the mig_jcr now to just before the Job
actually exits and has done all its work.

Fixes 0000139: export command in a RunScript ressource does not get the
correct volume when doing scheduled JobType Copy
Affected Issues
0000139
mod - src/dird/job.c Diff File
mod - src/dird/migrate.c Diff File

bareos-12.4 9f6b0e85

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix memory leak.
mod - src/lib/bnet_server.c Diff File
mod - src/lib/bsock.c Diff File

bareos-12.4 bc8dd47d

2013-05-04 13:14

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
bareos-director requires bareos-database-tools

make_catalog_backup.pl (from bareos-director) requires bareso-dbcheck (from bareos-database-tools).

Fixes 0000148: bareos-director requires bareos-database-tools

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000148
mod - debian/control Diff File
mod - platforms/rpms/bareos.spec Diff File

bareos-12.4 8ef93394

2013-05-04 13:14

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Better handling of existing config files

When existing configuration files are found, in interactive mode the
user is asked if the existing config file should be kept and the newly
generated file is stored aside as config.new.

Also, the user can choose to move the existing file to config.old, and
install the new one in the original place.
This is what is done in silent installation mode.

The default for the uninstaller is now to keep existing config files.
In silent mode, the uninstaller will remove existing config files.

Fixes 0000140: Winbareos installer renames old config when updating

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

bareos-12.4 7e0c09d1

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Tweak layout.
mod - src/dird/ua_cmds.c Diff File

bareos-12.4 dd6abc89

2013-05-04 13:14

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Switch to gcc 4.8

Unfortunately, with gcc 4.8, libc now is called
- libgcc_s_sjlj-1.dll on 32Bit Windows
- libgcc_s_seh-1.dll on 64Bit Windows

This patch adapts to that fact.

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

bareos-12.4 8b23951f

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
For migration/copy Jobs need to look at mig_jcr.

Added new %V option to expansion variables which is the same as %v
but always prints the destination Volumes a Job used. For migration
and copy Jobs this expansion looks at the mig_jcr pointer in the JCR.

As this mig_jcr only exists in the director the %V is expanded in
the callback expansion function in the director as in the generic
expansion function is compiled as part of the generic shared library
we are missing that variable there.

While implementing this expansion also reformated the whole function
as the switch statement was wrongly indented. Removed unneeded break
statements after a return. Document what is expanded in the callback
expansion function.

Fixes 0000139: export command in a RunScript ressource does not get the
correct volume when doing scheduled JobType Copy
Affected Issues
0000139
mod - src/dird/dird_conf.c Diff File
mod - src/lib/util.c Diff File

bareos-12.4 dff45e8e

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix statistics retention default value.

60s * 60m * 24h * 31d * 12m * 5 != 5 years
60s * 60m * 365d * 5 != 5 years

But the second value is much closer then using 12 months with
31 days of which 4 months have 30 days and one has either 28
e.g. 3 days less or at best 29 days so 2 days less. When multiplied
with 5 years this mean you calculate something 30+ days to much.
mod - src/dird/dird_conf.c Diff File

bareos-12.4 7b74ae08

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix problem on OSX due to refactoring.
mod - src/findlib/find_one.c Diff File

bareos-12.4 0f4b3c43

2013-05-04 13:14

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Reject incorrect modulo specifications

Now the parser rejects incorrect modulo specifications
with an error and a hint to the correct format.

Fixes 0000135: modulo scheduler does not work with weeks

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000135
mod - src/dird/run_conf.c Diff File

bareos-12.4 c9685b49

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix MaxRunSchedTime to cancel Job in time.

Modified the code so MaxRunSchedTime will use the new
initial_sched_time when checking to see if a job should be canceled.

We have a set of jobs that we want to definitely end at a known
time - Z hours after they've been initially scheduled - no matter what
state the job is in.

Patch by Thomas Lohman from bacula devel mailinglist.
mod - AUTHORS Diff File
mod - src/dird/job.c Diff File
mod - src/dird/jobq.c Diff File
mod - src/include/jcr.h Diff File
mod - src/lib/jcr.c Diff File

bareos-12.4 db4bc7ba

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix wrong default timeouts.

When converting the default timeouts in the config engine set them
to 180 instead of the wanted 1800 seconds.
mod - src/filed/filed_conf.c Diff File
mod - src/stored/stored_conf.c Diff File

bareos-12.4 d2c7ea7b

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Fix comments so that we know what the value actually means.
mod - src/dird/dird_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/include/host.h.in Diff File
mod - src/stored/stored_conf.c Diff File

bareos-12.4 eed17424

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

bareos-12.4 50a1f18e

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Sync some fixes from Amanda.
mod - src/ndmp/ndma_noti_calls.c Diff File
mod - src/ndmp/ndmjob_job.c Diff File

bareos-12.4 c8fb9f2b

2013-05-04 13:14

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
more deterministic

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

bareos-12.4 3889f487

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
Upgraded jobs use wrong pool

With the introduction of a fix for "#1679 Job Overrides are Not listed
In Manual Run Confirmation" we introduced a bug in an interactive run
as we do an pool override early and ignore any changes later on by
setting a suppress boolean value. This doesn't work when a job gets
upgraded later on to lets say Full because no earlier Full was found
but it started out as an incremental Job.

Moved get_level_since_time() from fd_cmds.c to job.c where it
makes much more sense. Fixed comments and let it return a boolean
which is true when it updated the pool due to a missing
full/differential etc. Now when get_level_since_time() returns true
we force apply_pool_overrides() to ignore any overrides and always
reevaluate the pool it needs to save too (fullpool/diffpool/incpool)

Also moved the call to get_level_since_time() and apply_pool_overrides()
into setup_job() so we don't have to code it twice in
do_native_backup_init() and do_ndmp_backup_init().

get_level_since_time() now always encodes the since value into the
jcr->since variable so we only need one argument to the function
being the jcr and no longer a char pointer and size which for most
calls were pointing to something in the jcr anyway.

Fixes 0000088: Upgraded jobs use wrong pool
Affected Issues
0000088
mod - src/dird/backup.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ua_cmds.c Diff File

bareos-12.4 05dde077

2013-05-04 13:14

mvwieringen adm

Ported: N/A

Details Diff
add daemon user to required groups

bareos storage daemon user must be in groups tape and/or disk
to be able to access tape devices.
Due to different behavior of different distributions
(install order if not always the same),
every package that requires a specific group/user set this up on its own.

preinstall:
bareos-common: setup default daemon group bareos and user bareos
bareos-filedaemon: setup fd group (bareos) and user (root)
bareos-storage: setup sd group (bareos) and user (bareos)
bareos-director: setup dir group (bareos) and user (bareos)

postinstall:
bareos-storage:
call bareos-config setup_sd_user, which
checks if sd group and user exists, otherwise it creates them,
and add the sd user (bareos) to the groups tape and disk, if they exists.

Tested on: Debian 6, Ubuntu 12.04 (32bit), SLES11SP2, Centos5

Fixes 0000099: user bareos unable to operate tape changer due to wrong permissions

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
Affected Issues
0000099
mod - autoconf/configure.in Diff File
rm - debian/bareos-director.preinst Diff File
add - debian/bareos-director.preinst.in Diff File
rm - debian/bareos-filedaemon.preinst Diff File
add - debian/bareos-filedaemon.preinst.in Diff File
mod - debian/bareos-storage.postinst Diff File
rm - debian/bareos-storage.preinst Diff File
add - debian/bareos-storage.preinst.in Diff File
mod - platforms/rpms/bareos.spec Diff File
mod - scripts/bareos-config.in Diff File

bareos-12.4 b3b744e3

2013-05-04 13:14

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
travis: update to preinst script modified by configure

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

bareos-12.4 7dfcb332

2013-05-04 13:14

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
automatically open the windows firewall

During installation, we now open the firewallport 9102 for bareos-fd.exe
per default. This can be disabled during installation.

During uninstall, this firewallrule is removed again.

Fixes 0000079: configure Windows firewall with package installation

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

bareos-12.4 0d372260

2013-05-04 13:14

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
text format

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - README.md Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 636 637 638 639 640 641 642 643 644  Next  Last