Changesets: bareos

master 43f118fd

2013-05-04 21:02

mvwieringen adm

Ported: N/A

Details Diff
Add ability to dump the content of the cryptocache.

For tape encryption the storage daemon keeps a cache of recently used
data it needs when loading a crypto enabled volume and it doesn't have
a connection to the director (e.g. when starting the SD). The bscrypto
tool already had support for populating the cache with data which is
used when a Disaster Recovery is needed but it would be nice if you
could also dump the content of the cache using the bscrypto tool. There
is no real security risk as you still need read access to the cache file
and the data dumped is the wrapped/encrypted version of the key for
which you need the KeyEncryptionKey to be able to translate it to the
actual key loaded into the drive.
mod - src/tools/bscrypto.c Diff File
mod - src/lib/crypto_cache.h Diff File
mod - src/lib/crypto_cache.c Diff File

master a5dcc802

2013-05-04 21:02

mvwieringen adm

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
add - debian/bareos-storage.prerm Diff File
mod - debian/bareos-storage.postinst Diff File
add - debian/bareos-filedaemon.prerm Diff File
mod - debian/bareos-filedaemon.postinst Diff File
add - debian/bareos-director.prerm Diff File
mod - debian/bareos-director.postinst Diff File

master 5e4d55a4

2013-05-04 21:02

mvwieringen adm

Ported: N/A

Details Diff
Fix specfile cleanup for new script.
mod - platforms/rpms/bareos.spec Diff File

master b9cd4b32

2013-05-04 21:02

mvwieringen adm

Ported: N/A

Details Diff
Fix typo.
mod - scripts/bareos-ctl-sd.in Diff File
mod - scripts/bareos-ctl-fd.in Diff File
mod - scripts/bareos-ctl-dir.in Diff File

master e2c0abfc

2013-05-04 21:02

mvwieringen adm

Ported: N/A

Details Diff
Only code shell functions once.

All bareos-ctl-* scripts code the same set of functions which is kind
of stupid. This patch creates a common set of functions which are
included into the script so we only need to code them once and reuse
them. Also added support for pgrep support which is on Platforms like
Solaris and xBSD next to pidof support.
mod - scripts/bareos-ctl-sd.in Diff File
add - scripts/bareos-ctl-funcs Diff File
mod - scripts/bareos-ctl-fd.in Diff File
mod - scripts/bareos-ctl-dir.in Diff File
mod - scripts/Makefile.in Diff File
mod - autoconf/configure.in Diff File

master 40c08dc9

2013-05-04 21:02

mvwieringen adm

Ported: N/A

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

master 559d76ad

2013-05-04 21:01

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure
mod - configure Diff File

master ee70b877

2013-05-04 21:01

mvwieringen adm

Ported: N/A

Details Diff
For now disable GNUTLS support.

Until this stuff really works disable the GNUTLS detection in configure.
mod - autoconf/configure.in Diff File

master 0cec82cd

2013-05-04 21:01

joergs


Committer: mvwieringen adm

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

master 62ed8d2a

2013-05-04 21:01

mvwieringen adm

Ported: N/A

Details Diff
Remove DVD example.

As DVD support is removed it doesn't make sense to have an example for
a DVD file device.
mod - src/dird/bareos-dir.conf.in Diff File

master ad7c259c

2013-05-04 21:01

mvwieringen adm

Ported: N/A

Details Diff
Rebuild configure.
mod - configure Diff File

master 2e6cd73f

2013-05-04 21:01

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Start to create defaultconfigs

We want to create default configurations for certain use cases. This
is the first try to create a good default config for disk-only backup.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
add - src/defaultconfigs/diskonly/bareos-sd.conf.in Diff File
add - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - autoconf/configure.in Diff File

master 2b045229

2013-05-04 21:01

mvwieringen adm

Ported: N/A

Details Diff
Use the smarter filedescriptor closing in bpipe.

Instead of closing the filedescriptors ourself (and a maximum
of 29 (32 - 3)) use fcntl(F_CLOSEM) or closefrom() library call
to perform what we really want e.g. close all unneeded filedescriptors
of the forked process.
mod - src/lib/daemon.c Diff File
mod - src/lib/bpipe.c Diff File

master 9655bb34

2013-05-04 21:00

mvwieringen adm

Ported: N/A

Details Diff
Don't print password while replacing it.

The bareos-config script writes the passwords in cleartext when replacing
them in the config files.

As they are passwords, they should be kept secret so not displayed.

Fixes 0000058: Passwords are printed when they are set
Affected Issues
0000058
mod - scripts/bareos-config Diff File

master bbbb0c1e

2013-05-04 21:00

mvwieringen adm

Ported: N/A

Details Diff
Fix compiler warning.
mod - src/stored/bextract.c Diff File

master 0df113a4

2013-05-04 21:00

pstorz


Committer: mvwieringen adm

Ported: N/A

Details Diff
Force the LDFLAGS to be unset

As unfortunately the unsetting of the hardening
doesn't work, we unset the LDFLAGS right before
configure

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

master ba1bda70

2013-05-04 21:00

joergs


Committer: mvwieringen adm

Ported: N/A

Details Diff
add bareos-dbg for Debian

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

master b37a7cdc

2013-05-04 20:59

mvwieringen adm

Ported: N/A

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

master 73f3e002

2013-05-04 20:59

mvwieringen adm

Ported: N/A

Details Diff
debian/rules is a Makefile not a shell script.

The current file seems to indicate that the rules file is a shell script
by exporting all variables and using the ${} variable expansion while
the normal Makefile variable expansion uses $() and we also can have
spaces around the variable initialization as it Makefile and not shell.
mod - debian/rules Diff File

master e904851d

2013-05-04 20:59

mvwieringen adm

Ported: N/A

Details Diff
Disable debian hardening.

Enabling hardening gives the following LDFLAGS

-Wl,-Bsymbolic-functions -Wl,-z,relro

which break the config engine.
mod - debian/rules Diff File

master c6f11ff8

2013-05-04 20:59

mvwieringen adm

Ported: N/A

Details Diff
Drop LDFLAGS unset.
mod - debian/rules Diff File

master e6e8fa6f

2013-05-04 20:59

mvwieringen adm

Ported: N/A

Details Diff
Try to get ride of LDFLAGS on xUbuntu

Ubuntu compiles the shared libs with

-Wl,-Bsymbolic-functions -Wl,-z,relro

which makes the config_engine blowup as function pointers are not ok
and all offsets calculated at compile time are not right and as such
the whole config structure doesn't get initialized properly and the code
crashes at random places.
mod - debian/rules Diff File

master 57c16424

2013-05-04 20:59

mvwieringen adm

Ported: N/A

Details Diff
Tweak some Makefiles.

Drop all old GNOME menu stuff and drop all uninstall related targets.
mod - scripts/logwatch/Makefile.in Diff File
mod - scripts/Makefile.in Diff File
mod - manpages/Makefile.in Diff File
mod - Makefile.in Diff File

master 05e06ed0

2013-05-04 20:59

mvwieringen adm

Ported: N/A

Details Diff
Don't install initscripts on Solaris 10 and higher.
mod - platforms/solaris/Makefile.in Diff File

master 99c0162b

2013-05-04 20:59

mvwieringen adm

Ported: N/A

Details Diff
Tweak use CFLAGS not CXXFLAGS as we use CC not CXX

timelimit.c is compiled with the normal C compiler not with C++ so lets
use the proper set of flags e.g. CFLAGS instead of CXXFLAGS.
mod - src/tools/Makefile.in Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 597 598 599 600 601 602 603 ... 607 608 609  Next  Last