Changesets: bareos

master b765842f

2013-05-04 21:11

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

master 251a8bcf

2013-05-04 21:11

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master 4b5f1db7

2013-05-04 21:11

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

master 86b7b807

2013-05-04 21:11

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 - scripts/bareos-config.in Diff File
mod - platforms/rpms/bareos.spec Diff File
add - debian/bareos-storage.preinst.in Diff File
rm - debian/bareos-storage.preinst Diff File
mod - debian/bareos-storage.postinst Diff File
add - debian/bareos-filedaemon.preinst.in Diff File
rm - debian/bareos-filedaemon.preinst Diff File
add - debian/bareos-director.preinst.in Diff File
rm - debian/bareos-director.preinst Diff File
mod - autoconf/configure.in Diff File

master c3864814

2013-05-04 21:11

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master 26ae9991

2013-05-04 21:11

mvwieringen adm

Ported: N/A

Details Diff
Allow for relaxed TLS configuration.

Current the verify_peer flag is hardcoded to true for the console
programs. It would be nice if we would allow a somewhat relaxed
TLS mode that allows to establish a TLS connection without the
need for very strict certificate checking which is done now. The
default setting is the same as before but the administrator can
relax this setting by setting the "TLS Verify Peer" option to
false in a definition of the client connection.

This doesn't have severe security implications as the authorization
with challenge response (md5 hashes) is done before the TLS handshake.
So this means you can have the same security as a non TLS connection
but with a relaxed config which means you get a encrypted datastream
even when you haven't put the whole certificate enrollment in place
e.g. CA certificate and potentially client certificates. Protocols
like LDAPS and ESMTP also allow this.

This is also the first version of the GNUTLS code that allows an
TLS encrypted session with the GNUTLS library as a replacement for
the openssl code. This currently is only tested with the relaxed
TLS configuration options set e.g. TLS Verify Peer = no

Fixes 0000122: Allow for relaxed TLS configuration.
Affected Issues
0000122
mod - src/stored/stored_conf.h Diff File
mod - src/qt-console/bcomm/dircomm.cpp Diff File
mod - src/qt-console/bat_conf.h Diff File
mod - src/qt-console/bat_conf.cpp Diff File
mod - src/lib/tls_openssl.c Diff File
mod - src/lib/tls_nss.c Diff File
mod - src/lib/tls_gnutls.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed.c Diff File
mod - src/dird/dird_conf.h Diff File
mod - src/console/console_conf.h Diff File
mod - src/console/console_conf.c Diff File
mod - src/console/console.c Diff File
mod - autoconf/configure.in Diff File

master dff7954e

2013-05-04 21:11

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/ua_cmds.c Diff File
mod - src/dird/protos.h Diff File
mod - src/dird/ndmp_dma.c Diff File
mod - src/dird/job.c Diff File
mod - src/dird/fd_cmds.c Diff File
mod - src/dird/backup.c Diff File

master 66f52c4a

2013-05-04 21:11

mvwieringen adm

Ported: N/A

Details Diff
Add copies to the allowed keyword for restore.

Its seems that you can use a set of copy jobs to do a restore when you
specify the copies keyword on the restore commandline.

e.g. restore copies will select instead of the normal
full/differential/incremental jobs the copies of those Jobs. When doing
offsite SD-SD replication this can be a good selection criteria when you
lost your primay storage daemon but can restore from the secondary
or standby storage daemon. As long as you have a working database this
is a good DR procedure. You still need a working director and database
but as the database can be replicated as an HA solution and a director
also have a cold standby this could be part of a solution.

Fixes 0000036: Implementation of restore using a set of copies of an original job
Affected Issues
0000036
mod - src/dird/ua_cmds.c Diff File

master afdb9d22

2013-05-04 21:11

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

master 240eccc2

2013-05-04 21:10

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
travis build status

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

master b5af0aee

2013-05-04 21:10

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

master 6bccb74e

2013-05-04 21:10

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Mostly cosmetic enhancements of windows installer

- using the right icons in the dialogs
- cleanup of text formatting
- added help text for /D, /S and /? params
- commented out catalog directive in generated config
this is also described in a comment
- fixes uninstall problem on win64

Fixes: 0000049 : Install Parameters and Helptext for cmd installation
Fixes: 0000121 : Deinstallation of windows installer works, but is not removed from the software list in windows.

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

master 8e151791

2013-05-04 21:10

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
apt-get install: automatic configure

always assume "no" when updating packages.
Also add a workaround of sending carrage returns,
because of a problem with updating the mysql-common package.

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

master 9f069b24

2013-05-04 21:10

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
xUbuntu_10.04

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
add - platforms/deb/bareos-xUbuntu_10.04.dsc Diff File

master 918f4bda

2013-05-04 21:10

mvwieringen adm

Ported: N/A

Details Diff
Fix some bugs in non supported sql pooling code.
mod - src/dird/dird.c Diff File
mod - src/cats/sql_pooling.c Diff File

master 70a9b4a3

2013-05-04 21:10

mvwieringen adm

Ported: N/A

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

master 51e7ee26

2013-05-04 21:10

mvwieringen adm

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
mod - src/filed/job.c Diff File

master 49537898

2013-05-04 21:10

mvwieringen adm

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

master 886323f6

2013-05-04 21:10

mvwieringen adm

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/stored/stored_conf.c Diff File
mod - src/lib/parse_conf.c Diff File

master c70f762c

2013-05-04 21:10

mvwieringen adm

Ported: N/A

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

master aa81e107

2013-05-04 21:09

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master dbdd1ffc

2013-05-04 21:09

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

master e603d304

2013-05-04 21:09

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 21:09

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master b118348a

2013-05-04 21:09

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.
mod - autoconf/bareos/db.m4 Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 629 630 631 632 633 634 635 ... 641 642 643  Next  Last