]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
11 years agoMake sysconfdir belong to Bacula user/group and exclude others
Kern Sibbald [Sun, 9 Dec 2012 15:59:13 +0000 (16:59 +0100)]
Make sysconfdir belong to Bacula user/group and exclude others

11 years agoEnhance mount message to include read/append
Kern Sibbald [Fri, 7 Dec 2012 14:50:21 +0000 (15:50 +0100)]
Enhance mount message to include read/append

11 years agoImprove vol_mgr swap messages
Kern Sibbald [Thu, 6 Dec 2012 11:37:16 +0000 (12:37 +0100)]
Improve vol_mgr swap messages

11 years agoAdd Jmsg7 and Jmsg8
Kern Sibbald [Thu, 6 Dec 2012 11:36:20 +0000 (12:36 +0100)]
Add Jmsg7 and Jmsg8

11 years agoTweak update copyright date
Kern Sibbald [Thu, 6 Dec 2012 09:20:57 +0000 (10:20 +0100)]
Tweak update copyright date

11 years agoEnhance output of Using Device to include for read/write
Kern Sibbald [Thu, 6 Dec 2012 09:19:38 +0000 (10:19 +0100)]
Enhance output of Using Device to include for read/write

11 years agoAdd jobid to Pmsg output
Kern Sibbald [Tue, 4 Dec 2012 11:11:04 +0000 (12:11 +0100)]
Add jobid to Pmsg output

11 years agoTweak fix comment typo
Kern Sibbald [Sat, 24 Nov 2012 09:48:42 +0000 (10:48 +0100)]
Tweak fix comment typo

11 years agoAdd workaround for #5507 where autoprune and reload are in deadlock
Eric Bollengier [Fri, 23 Nov 2012 16:30:15 +0000 (17:30 +0100)]
Add workaround for #5507 where autoprune and reload are in deadlock

11 years agoForce DEVELOPER on during regression setup
Kern Sibbald [Fri, 21 Dec 2012 14:45:57 +0000 (15:45 +0100)]
Force DEVELOPER on during regression setup

11 years agoTweak debug message in ua_label
Eric Bollengier [Mon, 12 Nov 2012 13:59:00 +0000 (14:59 +0100)]
Tweak debug message in ua_label

11 years agoAvoid seg fault by checking for NULL client -- reported by Arno
Kern Sibbald [Sat, 17 Nov 2012 08:11:32 +0000 (09:11 +0100)]
Avoid seg fault by checking for NULL client -- reported by Arno

11 years agoAllow conf file quoted strings to be used in a list
Kern Sibbald [Wed, 21 Nov 2012 12:38:35 +0000 (13:38 +0100)]
Allow conf file quoted strings to be used in a list

11 years agoMake bfgets handle very long lines
Kern Sibbald [Wed, 21 Nov 2012 17:26:37 +0000 (18:26 +0100)]
Make bfgets handle very long lines

11 years agoFix bug #1959 input validation on delete of jobs.
Marco van Wieringen [Thu, 29 Nov 2012 17:40:46 +0000 (18:40 +0100)]
Fix bug #1959 input validation on delete of jobs.

The current code doesn't check on delete of a Job if the given JobId is
a number. Things changed are:

- Use str_to_uint64 casted to uint32_t to match JobId_t
- Validate all tokens parsed to be a valid number.
- Check the range to be increasing.
- Ask for confirmation when the range is more then 25 jobs.
- Reindented some wrongly indented code (2 vs 3 spaces)

11 years agoFix bug #1956 Authorization Errors false
Marco van Wieringen [Sat, 24 Nov 2012 08:53:30 +0000 (09:53 +0100)]
Fix bug #1956 Authorization Errors false

The url used for the Authorization Errors messages is false
and doesn't take you to the right FAQ.

11 years agoBackport from Enterprise
Kern Sibbald [Wed, 21 Nov 2012 07:05:51 +0000 (08:05 +0100)]
Backport from Enterprise

11 years agoFinal fix of bug #1943
Marco van Wieringen [Sat, 10 Nov 2012 09:36:10 +0000 (10:36 +0100)]
Final fix of bug #1943

We cannot check if the db is connected in the library as that has no
full B_DB class structure. So we now check the connected state of
the database connection in the escape and insert handler which are
registered by the director.

11 years agoFix bug #1948 MailOnSuccess get executed on error.
Marco van Wieringen [Thu, 8 Nov 2012 09:10:40 +0000 (10:10 +0100)]
Fix bug #1948 MailOnSuccess get executed on error.

MailOnSuccess running when Job is cancelled or ends with errors.

11 years agoFix missing index on Media table
Eric Bollengier [Wed, 7 Nov 2012 15:03:46 +0000 (16:03 +0100)]
Fix missing index on Media table

11 years agoFix bug #1943 no message storage on closed database connection.
Marco van Wieringen [Tue, 6 Nov 2012 14:22:26 +0000 (15:22 +0100)]
Fix bug #1943 no message storage on closed database connection.

Bacula director crashes if it reaches the max number connections to
MySQL server. (Or any other database) as it tries to store the
failure to connect to the database in the database over a non
connected database connection. Things like mysql_real_escape_string
which is used in that code path depend on a connected database
connection which we don't have.

11 years agoFix bug #1946 Fix problem with MySQL with big Base jobs.
Marco van Wieringen [Tue, 6 Nov 2012 13:29:19 +0000 (14:29 +0100)]
Fix bug #1946 Fix problem with MySQL with big Base jobs.

This patch adds an index on the temporary table "basefilesXXX",
where XXX is the JobId. This index reduce heavily the time for full
backups with big BaseJobs with bacula 5.2 and MySQL backend.

11 years agoFix #5346 .bvfs_lsfiles and .bvfs_restore to handle deleted files
Eric Bollengier [Fri, 2 Nov 2012 09:08:06 +0000 (10:08 +0100)]
Fix #5346 .bvfs_lsfiles and .bvfs_restore to handle deleted files

11 years agoregress: Add test for bvfs-test with deleted files
Eric Bollengier [Thu, 1 Nov 2012 20:42:04 +0000 (21:42 +0100)]
regress: Add test for bvfs-test with deleted files

11 years agoFix spooldata, accurate and ingnoreduplicate run argument
Eric Bollengier [Thu, 1 Nov 2012 19:40:40 +0000 (20:40 +0100)]
Fix spooldata, accurate and ingnoreduplicate run argument

When using "run accurate=yes job=MyJob yes", the job was not
using the accurate option. This is now fixed.

11 years agoAdd remote regress test script
Kern Sibbald [Sun, 21 Oct 2012 08:35:03 +0000 (10:35 +0200)]
Add remote regress test script

11 years agoFix messages segfault
Eric Bollengier [Tue, 16 Oct 2012 07:00:20 +0000 (09:00 +0200)]
Fix messages segfault

11 years agoFix #4996 about MaxRunTime canceling the job too early
Eric Bollengier [Tue, 25 Sep 2012 10:16:17 +0000 (12:16 +0200)]
Fix #4996 about MaxRunTime canceling the job too early

11 years agoFix race condition in close_msg that causes seg fault
Kern Sibbald [Tue, 18 Sep 2012 10:24:14 +0000 (12:24 +0200)]
Fix race condition in close_msg that causes seg fault

11 years agobweb: Set POST_MAX and DISABLE_UPLOADS as advised in CGI module documentation
Eric Bollengier [Sat, 22 Sep 2012 07:54:55 +0000 (09:54 +0200)]
bweb: Set POST_MAX and DISABLE_UPLOADS as advised in CGI module documentation

11 years agoAdd ujobid to .bvfs_get_jobids
Eric Bollengier [Mon, 3 Sep 2012 09:36:49 +0000 (11:36 +0200)]
Add ujobid to .bvfs_get_jobids

11 years agoDo not try to strip RestoreObject during attribute encoding
Eric Bollengier [Tue, 28 Aug 2012 12:15:02 +0000 (14:15 +0200)]
Do not try to strip RestoreObject during attribute encoding

11 years agoAvoid problem when stripping a relative path
Eric Bollengier [Tue, 28 Aug 2012 09:39:12 +0000 (11:39 +0200)]
Avoid problem when stripping a relative path

11 years agobweb: Display plugin command in the fileset_view page
Eric Bollengier [Fri, 24 Aug 2012 12:46:53 +0000 (14:46 +0200)]
bweb: Display plugin command in the fileset_view page

11 years agoFix #4513 about HIDDEN attribute set to parent directory during restore
Eric Bollengier [Mon, 16 Jul 2012 19:51:23 +0000 (21:51 +0200)]
Fix #4513 about HIDDEN attribute set to parent directory during restore

11 years agoTweak add some more missing xattr streams for bscan.
Marco van Wieringen [Thu, 11 Oct 2012 11:42:26 +0000 (13:42 +0200)]
Tweak add some more missing xattr streams for bscan.

11 years agoTweak also allow restore of Hurd acl and xattr streams.
Marco van Wieringen [Thu, 11 Oct 2012 11:16:39 +0000 (13:16 +0200)]
Tweak also allow restore of Hurd acl and xattr streams.

11 years agoRecompile configure.in
Marco van Wieringen [Wed, 10 Oct 2012 14:15:28 +0000 (16:15 +0200)]
Recompile configure.in

11 years agoImplement feature request #1939
Marco van Wieringen [Wed, 10 Oct 2012 14:13:25 +0000 (16:13 +0200)]
Implement feature request #1939

ACL and XATTR support for GNU/Hurd and autoconf support for
detecting GNU Hurd and setting the correct DISTNAME etc. and
proper platform support for GNU hurd.

11 years agofix #1938 about PATH_MAX on hurd
Marco van Wieringen [Sun, 7 Oct 2012 19:32:18 +0000 (21:32 +0200)]
fix #1938 about PATH_MAX on hurd

11 years agofix #1938 about MAXPATHLEN on hurd
Eric Bollengier [Sun, 7 Oct 2012 14:03:31 +0000 (16:03 +0200)]
fix #1938 about MAXPATHLEN on hurd

11 years agoFix bug #1937 OpenBSD autochanger example script
Marco van Wieringen [Fri, 5 Oct 2012 14:31:39 +0000 (16:31 +0200)]
Fix bug #1937 OpenBSD autochanger example script

Make the OpenBSD autochanger script cope with a non fully load
autochanger.

Imported patch in bug report 1937.

11 years agoFix bug #1934 Wrong values at media list in BAT
Marco van Wieringen [Wed, 19 Sep 2012 08:14:59 +0000 (10:14 +0200)]
Fix bug #1934 Wrong values at media list in BAT

11 years agoFix double unlink
Kern Sibbald [Sun, 16 Sep 2012 10:39:54 +0000 (12:39 +0200)]
Fix double unlink

11 years agoMore tests for freeing NULL pointers
Kern Sibbald [Sun, 16 Sep 2012 10:22:29 +0000 (12:22 +0200)]
More tests for freeing NULL pointers

11 years agoAdd MaximumConcurrentReadJobs directive to Storage resource
Kern Sibbald [Fri, 14 Sep 2012 20:49:13 +0000 (22:49 +0200)]
Add MaximumConcurrentReadJobs directive to Storage resource

11 years agoTweak error handling should return just as all others.
Marco van Wieringen [Thu, 13 Sep 2012 09:22:53 +0000 (11:22 +0200)]
Tweak error handling should return just as all others.

11 years agoTweak update notes
Kern Sibbald [Thu, 13 Sep 2012 08:51:19 +0000 (10:51 +0200)]
Tweak update notes

11 years agoTweak update version date
Kern Sibbald [Thu, 13 Sep 2012 08:48:10 +0000 (10:48 +0200)]
Tweak update version date

11 years agoFix accurate option in the estimate command
Eric Bollengier [Thu, 13 Sep 2012 06:49:44 +0000 (08:49 +0200)]
Fix accurate option in the estimate command

11 years agoFix bug #1932 director crash.
Marco van Wieringen [Thu, 13 Sep 2012 05:43:32 +0000 (07:43 +0200)]
Fix bug #1932 director crash.

11 years agobweb: Fix patch for #1909 about bad expire value
Eric Bollengier [Wed, 12 Sep 2012 11:14:22 +0000 (13:14 +0200)]
bweb: Fix patch for #1909 about bad expire value

11 years agoregress: tweak big-files-test
Eric Bollengier [Tue, 11 Sep 2012 15:42:20 +0000 (17:42 +0200)]
regress: tweak big-files-test

11 years agoTweak turn off DEVELOPER
Kern Sibbald [Tue, 11 Sep 2012 09:26:24 +0000 (11:26 +0200)]
Tweak turn off DEVELOPER

11 years agoTweak update po
Kern Sibbald [Tue, 11 Sep 2012 07:10:49 +0000 (09:10 +0200)]
Tweak update po

11 years agoTweak ChangeLog ReleaseNotes
Kern Sibbald [Tue, 11 Sep 2012 07:03:48 +0000 (09:03 +0200)]
Tweak ChangeLog ReleaseNotes

11 years agoTweak previous patch on batch insert
Eric Bollengier [Mon, 10 Sep 2012 19:44:15 +0000 (21:44 +0200)]
Tweak previous patch on batch insert

11 years agoregress: change /bin/sleep to sleep
Eric Bollengier [Mon, 10 Sep 2012 19:41:56 +0000 (21:41 +0200)]
regress: change /bin/sleep to sleep

11 years agoAdd JobId to SD debug output
Kern Sibbald [Mon, 10 Sep 2012 15:41:25 +0000 (17:41 +0200)]
Add JobId to SD debug output

11 years agoCommit batch session every 800,000 files
Eric Bollengier [Mon, 10 Sep 2012 13:41:45 +0000 (15:41 +0200)]
Commit batch session every 800,000 files

11 years agoTweak update version date
Kern Sibbald [Mon, 10 Sep 2012 10:02:40 +0000 (12:02 +0200)]
Tweak update version date

11 years agoSimplify safer delete code using a single regex
Kern Sibbald [Mon, 10 Sep 2012 10:01:45 +0000 (12:01 +0200)]
Simplify safer delete code using a single regex

11 years agoRewrite cleanup_old_files() and add safe_unlink() to make unlinking temp files more...
Kern Sibbald [Sun, 9 Sep 2012 18:21:50 +0000 (20:21 +0200)]
Rewrite cleanup_old_files() and add safe_unlink() to make unlinking temp files more secure

11 years agoTypo fixes to manpages
Kern Sibbald [Sat, 8 Sep 2012 13:17:48 +0000 (15:17 +0200)]
Typo fixes to manpages

11 years agoUpdate ChangeLog and Release Notes
Kern Sibbald [Sat, 8 Sep 2012 12:56:22 +0000 (14:56 +0200)]
Update ChangeLog and Release Notes

11 years agoClean up error message generation during update attributes -- should fix bug #1823
Kern Sibbald [Sat, 8 Sep 2012 12:20:02 +0000 (14:20 +0200)]
Clean up error message generation during update attributes -- should fix bug #1823

11 years agoEliminate heartbeat error messages. Fixes bug #1925
Kern Sibbald [Sat, 8 Sep 2012 10:20:53 +0000 (12:20 +0200)]
Eliminate heartbeat error messages. Fixes bug #1925

11 years agoUpdate version date
Kern Sibbald [Fri, 7 Sep 2012 16:31:24 +0000 (18:31 +0200)]
Update version date

11 years agoTweak recompile configure.in
Kern Sibbald [Fri, 7 Sep 2012 14:47:17 +0000 (16:47 +0200)]
Tweak recompile configure.in

11 years agoSet bsrdir default to workingdir
Kern Sibbald [Fri, 7 Sep 2012 14:46:56 +0000 (16:46 +0200)]
Set bsrdir default to workingdir

11 years agoRecompile configure.in
Kern Sibbald [Fri, 7 Sep 2012 13:28:32 +0000 (15:28 +0200)]
Recompile configure.in

11 years agoApply patch from bug #1911 to implement --with-logdir
Kern Sibbald [Fri, 7 Sep 2012 13:28:19 +0000 (15:28 +0200)]
Apply patch from bug #1911 to implement --with-logdir

11 years agoAdd chio-changer-openbsd submitted in bug #1903
Kern Sibbald [Thu, 6 Sep 2012 17:25:45 +0000 (19:25 +0200)]
Add chio-changer-openbsd submitted in bug #1903

11 years agomysql database install/update scripts patch. Fixes bug #1901
Kern Sibbald [Thu, 6 Sep 2012 17:21:58 +0000 (19:21 +0200)]
mysql database install/update scripts patch. Fixes bug #1901

11 years agoDelegate uid/gid changing to systemd. Fixes bug #1905
Alexander Golovko [Thu, 6 Sep 2012 17:16:26 +0000 (19:16 +0200)]
Delegate uid/gid changing to systemd. Fixes bug #1905

11 years agoFix bug #1906
Marco van Wieringen [Wed, 5 Sep 2012 07:51:40 +0000 (09:51 +0200)]
Fix bug #1906

Fix provided by Jan Hauke Rahm <jhr@debian.org>

11 years agoFix manpage errors, fixes bug #1907
Marco van Wieringen [Wed, 5 Sep 2012 07:45:59 +0000 (09:45 +0200)]
Fix manpage errors, fixes bug #1907

Applied patches supplied in bug 1907. Patch originally provided by
Jan Hauke Rahm <jhr@debian.org>

11 years agoTweak typo.
Marco van Wieringen [Wed, 5 Sep 2012 07:24:33 +0000 (09:24 +0200)]
Tweak typo.

11 years agoFinal fix for #1859 missed one query.
Marco van Wieringen [Wed, 5 Sep 2012 07:22:52 +0000 (09:22 +0200)]
Final fix for #1859 missed one query.

11 years agobpluginfo - Utility tool display various information
Radoslaw Korzeniewski [Thu, 30 Aug 2012 13:07:11 +0000 (15:07 +0200)]
bpluginfo - Utility tool display various information

11 years agoTweak restore path prompt
Kern Sibbald [Mon, 20 Aug 2012 06:10:32 +0000 (08:10 +0200)]
Tweak restore path prompt

11 years agoBackport more master code
Kern Sibbald [Sun, 19 Aug 2012 11:16:58 +0000 (13:16 +0200)]
Backport more master code

11 years agoFix Makefile.in so that testfind builds with acl dependency
Kern Sibbald [Sun, 19 Aug 2012 06:33:15 +0000 (08:33 +0200)]
Fix Makefile.in so that testfind builds with acl dependency

11 years agoMake dump_resource respect console ACL's
Kern Sibbald [Sat, 18 Aug 2012 13:46:03 +0000 (15:46 +0200)]
Make dump_resource respect console ACL's

11 years agoBackport more from master
Kern Sibbald [Sat, 18 Aug 2012 13:45:32 +0000 (15:45 +0200)]
Backport more from master

11 years agobackport code from master
Kern Sibbald [Fri, 17 Aug 2012 18:11:23 +0000 (20:11 +0200)]
backport code from master

11 years agoFix #1923 about MySQL 4 support for BVFS
Eric Bollengier [Thu, 16 Aug 2012 09:30:00 +0000 (11:30 +0200)]
Fix #1923 about MySQL 4 support for BVFS

11 years agobweb: Fix #1909 about expire calculation
Eric Bollengier [Tue, 10 Jul 2012 15:49:26 +0000 (17:49 +0200)]
bweb: Fix #1909 about expire calculation

11 years agoFix #1902 about bad status slots output
Eric Bollengier [Thu, 5 Jul 2012 07:58:43 +0000 (09:58 +0200)]
Fix #1902 about bad status slots output

11 years agoFix Sigma Copy bug #4377
Kern Sibbald [Thu, 5 Jul 2012 06:49:11 +0000 (08:49 +0200)]
Fix Sigma Copy bug #4377

11 years agoTweak debug
Kern Sibbald [Thu, 5 Jul 2012 06:48:46 +0000 (08:48 +0200)]
Tweak debug

11 years agobweb: Fix #1904 about sql problem
Eric Bollengier [Thu, 5 Jul 2012 07:02:42 +0000 (09:02 +0200)]
bweb: Fix #1904 about sql problem

11 years agoFix bsmtp
Marco van Wieringen [Tue, 3 Jul 2012 15:31:27 +0000 (17:31 +0200)]
Fix bsmtp

Add extra option -4 and -6 like most cmds do nowadays. Fixed usage
message, manpage and some other small bugs.

11 years agoTweak layout.
Marco van Wieringen [Tue, 3 Jul 2012 14:23:56 +0000 (16:23 +0200)]
Tweak layout.

11 years agoReset bsmtp to only send to IPv4 mailhosts.
Marco van Wieringen [Tue, 3 Jul 2012 14:11:12 +0000 (16:11 +0200)]
Reset bsmtp to only send to IPv4 mailhosts.

As part of the support for getaddrinfo which replaces the obsolete
gethostbyname interface in POSIX we can now connect to IPv6 mailhosts.
As it seems on a lot of hosts localhost is defined first as IPv6
address and then as IPv4 address. As a result of this bsmtp tries
to connect to a local mailhost using the ipv6 protocol but most
people forget to allow relay rights for IPv6 local SMTP traffic
and as such the mail is dropped. So for now we revert the behaviour
of bsmtp to only connect to IPv4 mailhosts unless the -a option
is given which will query the name service for any suitable protocol.

11 years agoUpdate version date
Kern Sibbald [Thu, 28 Jun 2012 14:52:03 +0000 (16:52 +0200)]
Update version date

11 years agoTweak ReleaseNotes
Kern Sibbald [Thu, 28 Jun 2012 14:51:33 +0000 (16:51 +0200)]
Tweak ReleaseNotes

11 years agoTweak release + update po
Kern Sibbald [Wed, 27 Jun 2012 13:42:07 +0000 (15:42 +0200)]
Tweak release + update po

11 years agoAdd extra test for unsupported Protocol Families.
Marco van Wieringen [Wed, 27 Jun 2012 13:32:38 +0000 (15:32 +0200)]
Add extra test for unsupported Protocol Families.

With getaddrinfo we could get back theorethically
an protocol family that we don't support on the
local client. Now we set our hints better we are
probably safe but lets put in some extra safeguards.

11 years agoCreate ChangeLog Release notes and update version.h
Kern Sibbald [Wed, 27 Jun 2012 11:48:03 +0000 (13:48 +0200)]
Create ChangeLog Release notes and update version.h