]>
git.sur5r.net Git - bacula/bacula/log
Kern Sibbald [Sun, 19 Nov 2017 17:56:54 +0000 (18:56 +0100)]
Tweak update ReleaseNotes and ChangeLog
Marcin Haba [Sun, 19 Nov 2017 17:24:56 +0000 (18:24 +0100)]
baculum: Support sending config as serialized array for older version
Marcin Haba [Sun, 19 Nov 2017 17:22:40 +0000 (18:22 +0100)]
baculum: Use api client version and introduce api server version
Kern Sibbald [Sun, 19 Nov 2017 17:19:16 +0000 (18:19 +0100)]
Cleanup ./configure Qt4/5 bat
Kern Sibbald [Sun, 19 Nov 2017 16:11:33 +0000 (17:11 +0100)]
Update AUTHORS for recent commits
Sebastian Andrzej Siewior [Thu, 9 Nov 2017 20:55:20 +0000 (21:55 +0100)]
crypto: remove most of OpenSSL initcallbacks for 1.1
In OpenSSL 1.1 the thread model atomically initialized the library so
there is no need to invoke the init calls, like it was needed for 1.0.2
and earlier. The may be needed for non-standard inits like no-error
strings or so (not the case here). So the ifdef avoids them.
Also, in 1.1 there is no need to teach OpenSSL how to do locking and so
on. Infect, those functions are null-macros as for 1.0.2 compat. So
another ifdef avoids them, too.
I made four function static and removed them the header file since they
don't seem to be used outside of that openssl.c file.
This leaves us the 1.1 init part down to openssl_seed_prng(). I would
actually suggest to get rid of it. OpenSSL is able to gather some
entropy if needed. I don't think reading 2x 1024KiB from system's
entropy on each invocation of the program is wise. But I leave it to
the maintainer to make a decision, I just point it out.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Kern Sibbald [Sun, 19 Nov 2017 16:00:53 +0000 (17:00 +0100)]
Remove incorrecly placed openssl-compat.h
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 20:08:10 +0000 (21:08 +0100)]
crypto: convert EVP_PKEY access and remainings bits for OpenSSL 1.1
EVP_PKEY became opaque and can not be dereferences in OpenSSL 1.1 and
accessor functions need to be used. This is also true for X509_EXTENSION
relevant access.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 20:01:45 +0000 (21:01 +0100)]
crypto: convert EVP_MD_CTX + EVP_CIPHER_CTX to OpenSSL 1.1
Those digest structs became opaque and now they need to be allocated
and for access we need to use accessor functions.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Kern Sibbald [Sun, 19 Nov 2017 15:58:35 +0000 (16:58 +0100)]
Add openssl-compat.h which went in wrong directory
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 13:42:22 +0000 (14:42 +0100)]
crypto: Use DEFINE_STACK_OF()
OpenSSL 1.1 makes it possible to use DEFINE_STACK_OF() instead of
IMPLEMENT_STACK_OF() + mkstack.pl's output.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 13:40:12 +0000 (14:40 +0100)]
crypto: Add a tiny OpenSSL compat level
This header file provides a few OpenSSL 1.1 functions which are not
available in OpenSSL 1.0.2 and earlier. The body of the function
implements the pre-1.1 version of the function provided in 1.1.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sebastian Andrzej Siewior [Wed, 8 Nov 2017 13:37:31 +0000 (14:37 +0100)]
crypto: remove support for ancient openssl
OpenSSL 1.0.2 is still supported. Everything earlier is not so the old
code for compat can be thrown away, especially the 0.9.8 support.
TLSv1_method() should not be used and SSLv23_method() should be
preferred because the latter supports TLS1.0…1.2 while the former _only_
tries TLS1.0.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Marcin Haba [Sun, 19 Nov 2017 14:04:46 +0000 (15:04 +0100)]
baculum: Add removing single resource
Marcin Haba [Sun, 19 Nov 2017 14:00:33 +0000 (15:00 +0100)]
baculum: Add module to check resource dependencies
Marcin Haba [Sun, 19 Nov 2017 13:54:17 +0000 (14:54 +0100)]
baculum: Fix saving names with spaces inside schedule Run directive
Marcin Haba [Sun, 19 Nov 2017 13:51:59 +0000 (14:51 +0100)]
baculum: Fix saving entire config by api request
Kern Sibbald [Sun, 19 Nov 2017 13:43:12 +0000 (14:43 +0100)]
Backout vol size tests in previous attempt to fix bug #2349
Kern Sibbald [Sun, 19 Nov 2017 13:41:05 +0000 (14:41 +0100)]
Fix compiler warning in previous patch
V. Novy [Sun, 19 Nov 2017 11:57:03 +0000 (12:57 +0100)]
Apply patches from bugs #2325 and #2326 to fix FIFO bugs
Kern Sibbald [Sun, 19 Nov 2017 11:26:52 +0000 (12:26 +0100)]
Fix bug #2315 INTEGER misspelled in update_sqlite3_tables.in
Kern Sibbald [Sun, 19 Nov 2017 10:46:33 +0000 (11:46 +0100)]
Tweak update version + date
Kern Sibbald [Sun, 19 Nov 2017 10:45:14 +0000 (11:45 +0100)]
Try to fix bug #2349 multiple recycle messages
Marcin Haba [Wed, 15 Nov 2017 20:54:21 +0000 (21:54 +0100)]
baculum: Throw 404 error if service not known
Marcin Haba [Tue, 14 Nov 2017 17:31:32 +0000 (18:31 +0100)]
baculum: Use home page url when an error is shown
Kern Sibbald [Sun, 12 Nov 2017 17:26:02 +0000 (18:26 +0100)]
Fix bug #2346 Dir blocks when max reloads reached
Kern Sibbald [Sun, 12 Nov 2017 17:17:01 +0000 (18:17 +0100)]
regress: add new many-reload-test to standard scripts
Kern Sibbald [Sun, 12 Nov 2017 17:10:44 +0000 (18:10 +0100)]
regress: Add test to do more than max reloads
Marcin Haba [Sun, 12 Nov 2017 15:58:55 +0000 (16:58 +0100)]
baculum: Send config to api server as json
Kern Sibbald [Sun, 12 Nov 2017 16:03:23 +0000 (17:03 +0100)]
Remove enterprise code that breaks Mac install -- fixes bug #2351
Eric Bollengier [Fri, 3 Nov 2017 14:13:40 +0000 (15:13 +0100)]
regress: Move aligned-test to the aligned block in the cdash DartTestfile
Eric Bollengier [Fri, 3 Nov 2017 08:20:35 +0000 (09:20 +0100)]
regress: Tweak scripts/cleanup with FORCE_CLOUD to not report an error
Sometime, the test finishes with the follwing:
===== bsr-opt-test Bacula source OK 21:31:22 =====
Missing access_key
Missing access_key
=> exit status != 0
Norbert Bizet [Fri, 20 Oct 2017 08:29:16 +0000 (10:29 +0200)]
Make qt-console compatible to Qt5 (Qt4 still work)
Replace #include <QtGui> with #include <QtWidgets>
Replace toAscii with toLatin1 (deprecated)
Obsolete Plastic theme and SetCodecForCString
Norbert Bizet [Fri, 20 Oct 2017 08:29:16 +0000 (10:29 +0200)]
Make qt-console compatible to Qt5 (Qt4 still work)
Replace #include <QtGui> with #include <QtWidgets>
Replace toAscii with toLatin1 (deprecated)
Obsolete Plastic theme and SetCodecForCString
Norbert Bizet [Thu, 2 Nov 2017 14:26:40 +0000 (15:26 +0100)]
Add restore wizard to the tray monitor.
Norbert Bizet [Thu, 2 Nov 2017 14:25:47 +0000 (15:25 +0100)]
Preparation fixes: remove some warning
Eric Bollengier [Thu, 2 Nov 2017 15:35:41 +0000 (16:35 +0100)]
regress: Fix truncate-test with FORCE_CLOUD=yes
Eric Bollengier [Thu, 2 Nov 2017 09:10:59 +0000 (10:10 +0100)]
Add ASSERTD() to track NULL Volume name error
Eric Bollengier [Thu, 2 Nov 2017 08:51:52 +0000 (09:51 +0100)]
regress: Reduce the output of 2drive-concurrent-test and bsr-opt-test
Eric Bollengier [Tue, 24 Oct 2017 12:10:43 +0000 (14:10 +0200)]
Add "noautoparent" restore command option to disable the automatic parent directory selection
At this time, when we select a directory, we mark parent directories for
the restore automatically.
In the NDMP restore process, at this time, when we select a directory
entry, the entire content is restored recursively.
This option can be used to not select automatically parent directories
during a restore session.
Kern Sibbald [Sun, 12 Nov 2017 09:15:59 +0000 (10:15 +0100)]
Correct FS size calculation for FreeBSD, Solaris, and Windows
Marcin Haba [Sat, 11 Nov 2017 15:26:00 +0000 (16:26 +0100)]
baculum: Enable Portuguese language support in makefile
Marcin Haba [Fri, 10 Nov 2017 18:27:49 +0000 (19:27 +0100)]
baculum: Fix required directives in schedule resource configuration
Marcin Haba [Fri, 10 Nov 2017 18:10:11 +0000 (19:10 +0100)]
baculum: Fix saving messages resource
Kern Sibbald [Sat, 11 Nov 2017 14:56:57 +0000 (15:56 +0100)]
Tweak update version + date
Radosław Korzeniewski [Thu, 9 Nov 2017 11:26:11 +0000 (12:26 +0100)]
Update ACL/XATTR code and define new ACL/XATTR API for Plugins.
The patch redesign ACL/XATTR code separating acl functionality from xattr.
It allows for full conditional compilation on any supported OS. It closes issue: #2295.
The patch adds a new ACl/XATTR API for Plugins.
A new Plugin callback: bRC (*handleXACLdata)(bpContext *ctx, struct xacl_pkt *xacl);
and support data:
- BACL_BACKUP - Plugin ACL data backup,
- BACL_RESTORE - Plugin ACL data restore,
- BXATTR_BACKUP - Plugin XATTR data backup,
- BXATTR_RESTORE - Plugin XATTR data restore
struct xacl_pkt {
int32_t pkt_size; /* Size of this packet */
int32_t func; /* Function code */
int32_t count; /* read/write count */
char *content; /* read/write buffer */
int32_t pkt_end; /* end packet sentinel */
};
Bacula will call handleXACLdata with xacl.func set to one of the defined enum's
and for backup requires xacl.count and xacl.content to be set by a plugin and
if xacl.content is allocated by plugin he is responsible for free and for restore
will setup xacl.count and xacl.content to the data restored.
The Bacula Plugin API will call handleXACLdata during backup with specific xacl.func
multiple times for every file, until a plugin return xacl.count == 0
(similar to pluginIO where no more data to backup is signalled by io->status = 0).
And as usual handleXACLdata has to return bRC_OK when operation was successful
(acl/xattr to backup/restore is a success) or other (bRC_Error) when operation was
unsuccessful. In this case no acl/xattr data will be saved.
Marcin Haba [Fri, 10 Nov 2017 17:53:01 +0000 (18:53 +0100)]
baculum: Improve slow reloading config resource list
Marcin Haba [Fri, 10 Nov 2017 17:48:11 +0000 (18:48 +0100)]
baculum: Tweak add missing properties to integer control type validator
Marcin Haba [Fri, 10 Nov 2017 17:47:09 +0000 (18:47 +0100)]
baculum: Tweak fix missing closing html tag
Marcin Haba [Thu, 9 Nov 2017 20:14:23 +0000 (21:14 +0100)]
baculum: Fix numeric password setting bug reported by Heitor Faria
Add integer type control.
Kern Sibbald [Thu, 2 Nov 2017 06:58:17 +0000 (07:58 +0100)]
Update ChangeLog, ReleaseNotes, and version date
Marcin Haba [Wed, 1 Nov 2017 19:28:03 +0000 (20:28 +0100)]
baculum: Enable Portuguese language setting in the api config wizard
Wanderlei Huttel [Wed, 1 Nov 2017 19:26:23 +0000 (20:26 +0100)]
baculum: Add Portuguese language support to the api part
Wanderlei Huttel [Wed, 1 Nov 2017 19:25:34 +0000 (20:25 +0100)]
baculum: Update Portuguese translation in the web part
Wanderlei Huttel [Wed, 1 Nov 2017 18:24:16 +0000 (19:24 +0100)]
baculum: Add default paths to json tools and configs in api config wizard
Kern Sibbald [Wed, 1 Nov 2017 17:30:55 +0000 (18:30 +0100)]
Use if exists on dropping MAC table in postgres. Fixes bug #2314
Kern Sibbald [Wed, 1 Nov 2017 17:25:03 +0000 (18:25 +0100)]
Fix bdirjson display of Minutes. Fixes bug #2318
Marcin Haba [Wed, 1 Nov 2017 17:10:03 +0000 (18:10 +0100)]
baculum: Set default language if no language set
Marcin Haba [Wed, 1 Nov 2017 16:49:22 +0000 (17:49 +0100)]
baculum: Tweak add static text to translation files
Marcin Haba [Wed, 1 Nov 2017 16:38:10 +0000 (17:38 +0100)]
baculum: Fix language setting in api
Marcin Haba [Wed, 1 Nov 2017 15:44:26 +0000 (16:44 +0100)]
baculum: Update generated .mo files for api
Marcin Haba [Wed, 1 Nov 2017 15:38:33 +0000 (16:38 +0100)]
baculum: Add missing texts to translations
Marcin Haba [Wed, 1 Nov 2017 15:35:25 +0000 (16:35 +0100)]
baculum: Fix add to translation static texts on the api default page
Marcin Haba [Wed, 1 Nov 2017 15:31:48 +0000 (16:31 +0100)]
baculum: Fix missing session start
Kern Sibbald [Wed, 1 Nov 2017 17:05:22 +0000 (18:05 +0100)]
Make verify job log same as other logs -- fixes bug #2328
Kern Sibbald [Wed, 1 Nov 2017 08:40:34 +0000 (09:40 +0100)]
Take a more conservative approach for setting killable true
Kern Sibbald [Wed, 1 Nov 2017 07:55:12 +0000 (08:55 +0100)]
Add extra safety for readdir buffer
Kern Sibbald [Tue, 31 Oct 2017 12:54:43 +0000 (13:54 +0100)]
Retab systemd/Makefile.in
Sven Hartge [Tue, 31 Oct 2017 12:17:54 +0000 (13:17 +0100)]
Don't require mount for @piddir@
The systemd units don't use PID files and the daemons don't write them.
Remove the RequiresMount option for them to unclutter the units.
Signed-off-by: Sven Hartge <sven@svenhartge.de>
Kern Sibbald [Tue, 31 Oct 2017 10:04:46 +0000 (11:04 +0100)]
Use Debian systemd start/stop scripts supplied by Sven Hartge
Eric Bollengier [Mon, 16 Oct 2017 16:08:55 +0000 (18:08 +0200)]
regress: Fix error with new perl systems
Kern Sibbald [Sun, 29 Oct 2017 16:25:14 +0000 (17:25 +0100)]
Fix bug #2316 add CacheRetention to Pool
Kern Sibbald [Sun, 29 Oct 2017 16:12:33 +0000 (17:12 +0100)]
Skip tape ioctls on FreeBSD when using a FIFO fixes bug #2324
Kern Sibbald [Sun, 29 Oct 2017 11:37:29 +0000 (12:37 +0100)]
Fix bug #2338 to not truncate already truncated volumes
Kern Sibbald [Sun, 29 Oct 2017 11:36:41 +0000 (12:36 +0100)]
regress: make truncate-test check for wrongly truncating an already truncated volume
Kern Sibbald [Sun, 29 Oct 2017 08:26:05 +0000 (09:26 +0100)]
Remove some old C int code and use bool
Kern Sibbald [Sat, 28 Oct 2017 18:45:10 +0000 (20:45 +0200)]
Remove unused lib/lz4.c.orig file
Kern Sibbald [Sat, 28 Oct 2017 17:03:10 +0000 (19:03 +0200)]
Update AUTHORS file
Kern Sibbald [Sat, 28 Oct 2017 16:40:04 +0000 (18:40 +0200)]
Tweak update version date
Kern Sibbald [Sat, 28 Oct 2017 16:39:12 +0000 (18:39 +0200)]
Mark Volume read-only only if no access rights or read-only partition
Kern Sibbald [Sat, 28 Oct 2017 16:35:50 +0000 (18:35 +0200)]
Add -P daemon option to supress creating PID file
Kern Sibbald [Sat, 28 Oct 2017 16:34:17 +0000 (18:34 +0200)]
regress: enhance short-incremental-test
Kern Sibbald [Sat, 28 Oct 2017 05:28:55 +0000 (07:28 +0200)]
Fix too big copy to test FD plugin_ctx
Kern Sibbald [Thu, 26 Oct 2017 05:51:42 +0000 (07:51 +0200)]
Backport Enterprise code
Kern Sibbald [Mon, 23 Oct 2017 17:22:52 +0000 (19:22 +0200)]
When read-only volume found mark it in catalog -- fixes bug #2337
Kern Sibbald [Mon, 23 Oct 2017 16:47:28 +0000 (18:47 +0200)]
Tweak update version + date
Kern Sibbald [Mon, 23 Oct 2017 16:45:57 +0000 (18:45 +0200)]
Make out of space on partition fatal
Kern Sibbald [Mon, 23 Oct 2017 16:39:36 +0000 (18:39 +0200)]
Fix bug 2323 -- loop exit condition was backward and add error message
Kern Sibbald [Mon, 23 Oct 2017 16:26:02 +0000 (18:26 +0200)]
Add missing copy-plugin-confs for regress
Kern Sibbald [Mon, 23 Oct 2017 15:11:51 +0000 (17:11 +0200)]
Fix bug reported by jesper@schmitz.computer where bat hangs on FreeBSD
Marcin Haba [Wed, 11 Oct 2017 18:18:24 +0000 (20:18 +0200)]
baculum: Tweak remove message about separate bconsole configs
Marcin Haba [Sun, 8 Oct 2017 16:11:30 +0000 (18:11 +0200)]
baculum: Fix reading and writing schedule resource
Marcin Haba [Fri, 15 Sep 2017 05:51:54 +0000 (07:51 +0200)]
baculum: Fix undefined offset error during saving director config
Marcin Haba [Fri, 15 Sep 2017 05:49:44 +0000 (07:49 +0200)]
baculum: Fix listing days of week in schedule setting
Marcin Haba [Fri, 15 Sep 2017 05:48:34 +0000 (07:48 +0200)]
baculum: Fix typo in schedule option text
Marcin Haba [Thu, 14 Sep 2017 18:07:50 +0000 (20:07 +0200)]
baculum: Fix saving schedule run directive value
Davide Franco [Tue, 12 Sep 2017 12:24:01 +0000 (14:24 +0200)]
rpm: Add missing script baculabackupreport and query.sql for Suse
Davide Franco [Tue, 12 Sep 2017 11:51:11 +0000 (13:51 +0200)]
rpm: Add missing libbacsd* file and tapealert script to Suse rpm spec
file
Davide Franco [Tue, 12 Sep 2017 11:45:17 +0000 (13:45 +0200)]
rpm: Add missing libs bbconsjson, bdirjson and bsdjson to Suse rpm spec
file
Davide Franco [Tue, 12 Sep 2017 11:41:07 +0000 (13:41 +0200)]
rpm: Update changelog for Bacula Suse rpm spec file