Changesets: bareos
master 9633aa12 2013-05-04 21:02
Ported: N/A Details Diff |
Tweak compiler warning. | ||
mod - src/lib/crypto_cache.c | Diff File | ||
master d8342666 2013-05-04 21:02
Ported: N/A Details Diff |
Fix printing of crypto cache. Also fixed input to always clean the input buffer so we don't read garbage and added a -r option to be able to reset the expiry time of all entries in the cache by setting the time they were added to the current time. Updated manpage to document the new flags. |
||
mod - src/tools/bscrypto.c | Diff File | ||
mod - src/lib/crypto_cache.h | Diff File | ||
mod - src/lib/crypto_cache.c | Diff File | ||
mod - manpages/bscrypto.8 | Diff File | ||
master 7b39d70c 2013-05-04 21:02
Ported: N/A Details Diff |
Fix layout when printing crypto keys. First determine what size the volumename and cryptokey column needs before printing the data. This way we always print the data in a readable fashion. |
||
mod - src/lib/crypto_cache.c | Diff File | ||
master 1c657d72 2013-05-04 21:02
Ported: N/A Details Diff |
Tweak typo. | ||
mod - scripts/bareos-ctl-funcs | Diff File | ||
master 43f118fd 2013-05-04 21:02
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
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
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
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
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
Ported: N/A Details Diff |
Fix typo. | ||
mod - scripts/btraceback.in | Diff File | ||
master 559d76ad 2013-05-04 21:01
Ported: N/A Details Diff |
Rebuild configure | ||
mod - configure | Diff File | ||
master ee70b877 2013-05-04 21:01
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 Committer: 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
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
Ported: N/A Details Diff |
Rebuild configure. | ||
mod - configure | Diff File | ||
master 2e6cd73f 2013-05-04 21:01 Committer: 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
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
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
Ported: N/A Details Diff |
Fix compiler warning. | ||
mod - src/stored/bextract.c | Diff File | ||
master 0df113a4 2013-05-04 21:00 Committer: 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 Committer: 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
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
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
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
Ported: N/A Details Diff |
Drop LDFLAGS unset. | ||
mod - debian/rules | Diff File |