]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
15 years agotweak comment
Eric Bollengier [Tue, 22 Sep 2009 21:20:41 +0000 (23:20 +0200)]
tweak comment

15 years agoRemove the file_fp_idx index for Postgresql (FilenameId, PathId) on
Eric Bollengier [Tue, 22 Sep 2009 21:17:03 +0000 (23:17 +0200)]
Remove the file_fp_idx index for Postgresql (FilenameId, PathId) on
File table.
It is useless for common usage, and causes performance issues.
This index fragments over the time and the update cost grows
very quickly. (This index is not present on Mysql schema)

15 years agoregress: Add small perl lib for speed testing
Eric Bollengier [Tue, 22 Sep 2009 14:15:35 +0000 (16:15 +0200)]
regress: Add small perl lib for speed testing

15 years agoupdate technotes
Eric Bollengier [Tue, 22 Sep 2009 12:46:20 +0000 (14:46 +0200)]
update technotes

15 years agobweb: Fix float usage for LIMIT sql query
Eric Bollengier [Tue, 22 Sep 2009 12:44:59 +0000 (14:44 +0200)]
bweb: Fix float usage for LIMIT sql query

15 years agotweak drop_bacula_xxx script ouput
Eric Bollengier [Mon, 21 Sep 2009 20:42:23 +0000 (22:42 +0200)]
tweak drop_bacula_xxx script ouput

15 years agoupdate speed-test
Eric Bollengier [Mon, 21 Sep 2009 20:41:28 +0000 (22:41 +0200)]
update speed-test

15 years agoupdate speedtest
Eric Bollengier [Fri, 18 Sep 2009 16:54:57 +0000 (18:54 +0200)]
update speedtest

15 years agospeed-test: small fix
Eric Bollengier [Thu, 17 Sep 2009 21:07:26 +0000 (23:07 +0200)]
speed-test: small fix

15 years agoUpdate to slightly newer config.guess and config.sub
Kern Sibbald [Sun, 20 Sep 2009 15:31:55 +0000 (17:31 +0200)]
Update to slightly newer config.guess and config.sub

15 years agoFix compile error on Mac
Kern Sibbald [Sun, 20 Sep 2009 12:03:45 +0000 (14:03 +0200)]
Fix compile error on Mac

15 years agoTweak keep readall error messages
Kern Sibbald [Sun, 20 Sep 2009 07:41:47 +0000 (09:41 +0200)]
Tweak keep readall error messages

15 years agoGenerate new configure
Kern Sibbald [Sun, 20 Sep 2009 07:36:16 +0000 (09:36 +0200)]
Generate new configure

15 years agoReorder configure test for cleaner print output
Kern Sibbald [Sun, 20 Sep 2009 07:36:00 +0000 (09:36 +0200)]
Reorder configure test for cleaner print output

15 years agoTweak auto-label-test exit on failure
Kern Sibbald [Sun, 20 Sep 2009 07:35:00 +0000 (09:35 +0200)]
Tweak auto-label-test exit on failure

15 years agoImplement support of keeping readall capabilities after UID/GID switch
Dmitry V. Levin [Fri, 18 Sep 2009 16:32:38 +0000 (16:32 +0000)]
Implement support of keeping readall capabilities after UID/GID switch

Extend drop() function interface to accept 3rd parameter specifying
whether process should keep capabilities required to read and search
files and directories regardless of their access permissions.

Introduce new bacula-fd option (-k) specifying that readall capabilities
should be kept after UID/GID switch.

The change moves drop() definition from bsys.c to new file priv.c,
which is necessary to avoid linking every bacula executable with -lcap.
If drop() would remain in bsys.c, then every executable which directly
or indirectly uses other functions defined in bsys.c would have to be
linked with -lcap, unless libbac is built as a shared library.

While the change itself is portable, the implementation is Linux
specific, it uses libcap to keep CAP_DAC_READ_SEARCH capability.
If libcap is not available, or OS does not have sys/prctl.h,
sys/capability.h, prctl(2), setreuid(2) and PR_SET_KEEPCAPS, then
this change is almost noop.

15 years agoRemove redundant includes of pwd.h and grp.h headers
Dmitry V. Levin [Fri, 18 Sep 2009 15:38:53 +0000 (15:38 +0000)]
Remove redundant includes of pwd.h and grp.h headers

15 years agofind_one_file: Remove unreliable and redundant access(2) directory check
Dmitry V. Levin [Thu, 17 Sep 2009 22:35:13 +0000 (22:35 +0000)]
find_one_file: Remove unreliable and redundant access(2) directory check

From one side, access(2) is not reliable by definition.  According to
specification, access(2) uses process's real UID and GID instead of
effective IDs, and it ignores process capabilities.  Consequently,
privileged process with unprivileged real IDs cannot use access(2) to
check its access to files.

From another side, the access(2) directory check looks redundant
because the directory is opened right below using opendir(3).

15 years agoFix link rules
Dmitry V. Levin [Thu, 17 Sep 2009 22:02:11 +0000 (22:02 +0000)]
Fix link rules

Ensure that common library names defined in $(LIBS) are passed to the
linker after -lbac.  With this change, libbac is allowed to safely use
static libraries defined in $(LIBS).

15 years agoForce nightly-disk regress to 3.0.3
Kern Sibbald [Fri, 18 Sep 2009 14:20:48 +0000 (16:20 +0200)]
Force nightly-disk regress to 3.0.3

15 years agospeed-test: Add basejob argument to test basejob speed
Eric Bollengier [Thu, 17 Sep 2009 21:00:19 +0000 (23:00 +0200)]
speed-test: Add basejob argument to test basejob speed

15 years agoAdd new test
Eric Bollengier [Thu, 17 Sep 2009 20:49:27 +0000 (22:49 +0200)]
Add new test

15 years agoFix warning typo pointed out by Phil Stracchino
Kern Sibbald [Thu, 17 Sep 2009 20:05:53 +0000 (22:05 +0200)]
Fix warning typo pointed out by Phil Stracchino

15 years agoFix typo that prevented older SD from working with DIR
Kern Sibbald [Thu, 17 Sep 2009 19:23:54 +0000 (21:23 +0200)]
Fix typo that prevented older SD from working with DIR

15 years agoFix conf to use make as requested by Martin Simmons a long time ago
Kern Sibbald [Thu, 17 Sep 2009 19:19:59 +0000 (21:19 +0200)]
Fix conf to use make as requested by Martin Simmons a long time ago

15 years agoUpdate technotes
Kern Sibbald [Thu, 17 Sep 2009 14:22:15 +0000 (16:22 +0200)]
Update technotes

15 years agoFix seg fault in ignoredir code
Kern Sibbald [Thu, 17 Sep 2009 14:21:03 +0000 (16:21 +0200)]
Fix seg fault in ignoredir code

15 years agomore mkdir -p changes
Kern Sibbald [Thu, 17 Sep 2009 13:59:48 +0000 (15:59 +0200)]
more mkdir -p changes

15 years agoMake several dir names unique to avoid test collisions
Kern Sibbald [Thu, 17 Sep 2009 13:18:40 +0000 (15:18 +0200)]
Make several dir names unique to avoid test collisions

15 years agoChange regression scripts to use mkdir -p to avoid spurious errors
Kern Sibbald [Thu, 17 Sep 2009 12:14:47 +0000 (14:14 +0200)]
Change regression scripts to use mkdir -p to avoid spurious errors

15 years agoFix some job-start changes
Kern Sibbald [Thu, 17 Sep 2009 12:14:05 +0000 (14:14 +0200)]
Fix some job-start changes

15 years agomore job-restart code
Kern Sibbald [Tue, 15 Sep 2009 18:01:37 +0000 (11:01 -0700)]
more job-restart code

15 years agoUpdate restore menu 12 explanation
Eric Bollengier [Tue, 15 Sep 2009 18:27:17 +0000 (20:27 +0200)]
Update restore menu 12 explanation

15 years agocleanup patches/testing dir
Eric Bollengier [Tue, 15 Sep 2009 12:51:00 +0000 (14:51 +0200)]
cleanup patches/testing dir

15 years agoRename .lsdirs/.lsfiles/.update to .bvfs_xxx to avoid confusion with future commands
Eric Bollengier [Mon, 14 Sep 2009 13:05:48 +0000 (15:05 +0200)]
Rename .lsdirs/.lsfiles/.update to .bvfs_xxx to avoid confusion with future commands

15 years agotweak space on projects file
Eric Bollengier [Mon, 14 Sep 2009 12:57:36 +0000 (14:57 +0200)]
tweak space on projects file

15 years agoTry to distinguish CentOS/RHEL
Kern Sibbald [Sat, 12 Sep 2009 06:13:44 +0000 (08:13 +0200)]
Try to distinguish CentOS/RHEL

15 years agoModify tools to be able to correctly install testls for regress
Kern Sibbald [Fri, 11 Sep 2009 12:26:17 +0000 (14:26 +0200)]
Modify tools to be able to correctly install testls for regress

15 years agoUpdate technotes
Kern Sibbald [Fri, 11 Sep 2009 10:28:39 +0000 (12:28 +0200)]
Update technotes

15 years agoCreate bigendian() inline to simplify code
Kern Sibbald [Fri, 11 Sep 2009 10:28:23 +0000 (12:28 +0200)]
Create bigendian() inline to simplify code

15 years agoSet Volume Poll Interval to 5 mins by default
Kern Sibbald [Fri, 11 Sep 2009 10:24:21 +0000 (12:24 +0200)]
Set Volume Poll Interval to 5 mins by default

15 years agoApply Frank's slash patch
Frank Sweetser [Fri, 11 Sep 2009 10:01:31 +0000 (12:01 +0200)]
Apply Frank's slash patch

15 years agoTweak English in bweb
Kern Sibbald [Thu, 10 Sep 2009 19:24:07 +0000 (21:24 +0200)]
Tweak English in bweb

15 years agoReduce runscript wait times
Kern Sibbald [Thu, 10 Sep 2009 19:23:17 +0000 (21:23 +0200)]
Reduce runscript wait times

15 years agoUpdate Win32 README.mingw
Kern Sibbald [Thu, 10 Sep 2009 14:32:18 +0000 (16:32 +0200)]
Update Win32 README.mingw

15 years agoAdd patch for more SD info fix
Kern Sibbald [Thu, 10 Sep 2009 13:38:44 +0000 (15:38 +0200)]
Add patch for more SD info fix

15 years agoUpdate technotes and version
Kern Sibbald [Thu, 10 Sep 2009 13:32:26 +0000 (15:32 +0200)]
Update technotes and version

15 years agoAdd patch for bug #1371
Kern Sibbald [Thu, 10 Sep 2009 13:32:13 +0000 (15:32 +0200)]
Add patch for bug #1371

15 years agoFix seg fault in SD bug #1371
Kern Sibbald [Thu, 10 Sep 2009 13:28:59 +0000 (15:28 +0200)]
Fix seg fault in SD bug #1371

15 years agoAdd append log to tape SD tests
Kern Sibbald [Thu, 10 Sep 2009 13:26:09 +0000 (15:26 +0200)]
Add append log to tape SD tests

15 years agoAdd more info when SD connection refused
Kern Sibbald [Thu, 10 Sep 2009 13:19:13 +0000 (15:19 +0200)]
Add more info when SD connection refused

as mentioned in bug #1371

15 years agoFix possible termination problem
Kern Sibbald [Thu, 10 Sep 2009 03:48:50 +0000 (05:48 +0200)]
Fix possible termination problem

15 years agoMerge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula
Kern Sibbald [Wed, 9 Sep 2009 21:14:38 +0000 (23:14 +0200)]
Merge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula

15 years agoKeep valgrind happy
Kern Sibbald [Wed, 9 Sep 2009 21:14:22 +0000 (23:14 +0200)]
Keep valgrind happy

15 years agoAdd patches and update technotes
Eric Bollengier [Wed, 9 Sep 2009 15:16:57 +0000 (17:16 +0200)]
Add patches and update technotes

15 years agoFix Exclude Dir Containing ignored when scanning the top_level dir
Eric Bollengier [Wed, 9 Sep 2009 14:46:36 +0000 (16:46 +0200)]
Fix Exclude Dir Containing ignored when scanning the top_level dir

15 years agoUpdate the new exclude-dir-test with multiple Include {} section
Eric Bollengier [Wed, 9 Sep 2009 14:44:52 +0000 (16:44 +0200)]
Update the new exclude-dir-test with multiple Include {} section
and different Exclude Dir Contain directive.

15 years agoAdd patch for #1370
Eric Bollengier [Wed, 9 Sep 2009 12:21:24 +0000 (14:21 +0200)]
Add patch for #1370

15 years agoupdate technotes
Eric Bollengier [Wed, 9 Sep 2009 12:20:48 +0000 (14:20 +0200)]
update technotes

15 years agoFix #1370 about the implementation of the "Exclude Dir Containing" option on FD.
Eric Bollengier [Wed, 9 Sep 2009 12:18:57 +0000 (14:18 +0200)]
Fix #1370 about the implementation of the "Exclude Dir Containing" option on FD.

15 years agoAdd new exclude-dir-test
Eric Bollengier [Wed, 9 Sep 2009 10:21:53 +0000 (12:21 +0200)]
Add new exclude-dir-test

15 years agoAdd patch for 3.0.2 release
Eric Bollengier [Wed, 9 Sep 2009 08:35:55 +0000 (10:35 +0200)]
Add patch for 3.0.2 release

15 years agoupdate technotes
Eric Bollengier [Wed, 9 Sep 2009 08:29:37 +0000 (10:29 +0200)]
update technotes

15 years agoFix #1369 about segfault when using ExcludeDirContaining before defining Options...
Eric Bollengier [Wed, 9 Sep 2009 08:24:20 +0000 (10:24 +0200)]
Fix #1369 about segfault when using ExcludeDirContaining before defining Options{} block.

15 years agoVerify if the Exclude Dir Containing directive does his job
Eric Bollengier [Wed, 9 Sep 2009 08:22:55 +0000 (10:22 +0200)]
Verify if the Exclude Dir Containing directive does his job

15 years agocleanup vtape-test-changer
Eric Bollengier [Wed, 9 Sep 2009 08:21:59 +0000 (10:21 +0200)]
cleanup vtape-test-changer

15 years agoAdd a regress script for Exclude Dir Containing option
Eric Bollengier [Wed, 9 Sep 2009 07:37:42 +0000 (09:37 +0200)]
Add a regress script for Exclude Dir Containing option

15 years agoRemove bigendian check from autoconfig system
Lorenz Schori [Tue, 8 Sep 2009 09:36:57 +0000 (11:36 +0200)]
Remove bigendian check from autoconfig system

Signed-off-by: Eric Bollengier <eric@eb.homelinux.org>
15 years agocheck endianness at runtime in md5.c
Lorenz Schori [Tue, 8 Sep 2009 08:40:47 +0000 (10:40 +0200)]
check endianness at runtime in md5.c

Signed-off-by: Eric Bollengier <eric@eb.homelinux.org>
15 years agoupdate technotes
Eric Bollengier [Tue, 8 Sep 2009 15:01:32 +0000 (17:01 +0200)]
update technotes

15 years agoFix minor issues in the osx installer package builder.
Lorenz Schori [Tue, 8 Sep 2009 15:00:20 +0000 (17:00 +0200)]
Fix minor issues in the osx installer package builder.

15 years agoFix -p/-P in bscan.8 man page
John Goerzen [Tue, 8 Sep 2009 14:50:30 +0000 (16:50 +0200)]
Fix -p/-P in bscan.8 man page

15 years agofix compilation warning
Eric Bollengier [Mon, 7 Sep 2009 18:38:09 +0000 (20:38 +0200)]
fix compilation warning

15 years agoMake output of new commands .lsdir/.lsfile more usable.
Eric Bollengier [Mon, 7 Sep 2009 16:28:51 +0000 (18:28 +0200)]
Make output of new commands .lsdir/.lsfile more usable.
Fix Bvfs with new db_list object

15 years agoFix header defines
Marco van Wieringen [Sun, 6 Sep 2009 18:52:43 +0000 (20:52 +0200)]
Fix header defines

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoRemove some #ifdef-ed code and make it just as the acl and xattr code use a const...
Marco van Wieringen [Sun, 6 Sep 2009 18:50:10 +0000 (20:50 +0200)]
Remove some #ifdef-ed code and make it just as the acl and xattr code use a const bool to enable the code.

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoRedone comments
Marco van Wieringen [Sun, 6 Sep 2009 18:45:12 +0000 (20:45 +0200)]
Redone comments

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoMove restore struct defintions to seperate include file. Small change to acl.h and...
Marco van Wieringen [Sun, 6 Sep 2009 18:43:48 +0000 (20:43 +0200)]
Move restore struct defintions to seperate include file. Small change to acl.h and xattr.h to use define inline with other header files.

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoMove finderinfo restore into seperate function so we can use cleaner coding in the...
Marco van Wieringen [Sun, 6 Sep 2009 18:41:38 +0000 (20:41 +0200)]
Move finderinfo restore into seperate function so we can use cleaner coding in the restore loop.

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoLoose #ifdef and use const bool wrapper for some cleaner coding.
Marco van Wieringen [Sun, 6 Sep 2009 18:39:26 +0000 (20:39 +0200)]
Loose #ifdef and use const bool wrapper for some cleaner coding.

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoAdded support for acl and xattr regression test on Solaris
Marco van Wieringen [Sun, 6 Sep 2009 09:41:03 +0000 (11:41 +0200)]
Added support for acl and xattr regression test on Solaris

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoApply Marco's git format-patch patches for bugs #1365 and #1366
Kern Sibbald [Mon, 7 Sep 2009 09:24:50 +0000 (11:24 +0200)]
Apply Marco's git format-patch patches for bugs #1365 and #1366

15 years agoThis patch should fix bug #1366
Marco van Wieringen [Sun, 6 Sep 2009 16:06:48 +0000 (18:06 +0200)]
This patch should fix bug #1366

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoThis patch should fix bug #1365
Marco van Wieringen [Sun, 6 Sep 2009 15:56:20 +0000 (17:56 +0200)]
This patch should fix bug #1365

Signed-off-by: Kern Sibbald <kern@sibbald.com>
15 years agoCommit Mac pathlen patch
Kern Sibbald [Sun, 6 Sep 2009 09:09:41 +0000 (11:09 +0200)]
Commit Mac pathlen patch

15 years agoIncrement minor version to avoid future conflict
Kern Sibbald [Sun, 6 Sep 2009 09:04:34 +0000 (11:04 +0200)]
Increment minor version to avoid future conflict

15 years agoFix bug #1368. Increase default path/file length to 2048
Kern Sibbald [Sun, 6 Sep 2009 09:03:41 +0000 (11:03 +0200)]
Fix bug #1368. Increase default path/file length to 2048

15 years agoMerge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula
Kern Sibbald [Sat, 5 Sep 2009 20:17:30 +0000 (22:17 +0200)]
Merge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula

15 years agoAdd acl script code for Mac
Marco van Wieringen [Sat, 5 Sep 2009 20:17:19 +0000 (22:17 +0200)]
Add acl script code for Mac

15 years agoMerge branch 'master' of ssh://kerns@bacula.git.sourceforge.net/gitroot/bacula/bacula
Kern Sibbald [Sat, 5 Sep 2009 19:48:28 +0000 (21:48 +0200)]
Merge branch 'master' of ssh://kerns@bacula.git.sourceforge.net/gitroot/bacula/bacula

15 years agoUp timeout for rewind and changer on btest script
Kern Sibbald [Sat, 5 Sep 2009 19:48:17 +0000 (21:48 +0200)]
Up timeout for rewind and changer on btest script

15 years agoTry to fix zombies in next-vol-test
Kern Sibbald [Sat, 5 Sep 2009 13:42:30 +0000 (15:42 +0200)]
Try to fix zombies in next-vol-test

15 years agoFix broken editing code
Kern Sibbald [Fri, 4 Sep 2009 16:07:52 +0000 (18:07 +0200)]
Fix broken editing code

15 years agoUse edit routine instead of %f for rates
Kern Sibbald [Fri, 4 Sep 2009 15:57:44 +0000 (17:57 +0200)]
Use edit routine instead of %f for rates

15 years agoImplement BlockChecksum in Device
Kern Sibbald [Fri, 4 Sep 2009 13:47:46 +0000 (15:47 +0200)]
Implement BlockChecksum in Device

15 years agoImplement BlockChecksum in Device
Kern Sibbald [Fri, 4 Sep 2009 13:46:33 +0000 (15:46 +0200)]
Implement BlockChecksum in Device

15 years agobtape: Add speed command and test drive speed with Bacula blocks
Eric Bollengier [Fri, 4 Sep 2009 12:58:18 +0000 (14:58 +0200)]
btape: Add speed command and test drive speed with Bacula blocks

15 years agobtape: cleanup
Eric Bollengier [Fri, 4 Sep 2009 08:18:45 +0000 (10:18 +0200)]
btape: cleanup

15 years agoFinal tweaks to certification btape fill scripts and code
Kern Sibbald [Fri, 4 Sep 2009 10:38:05 +0000 (12:38 +0200)]
Final tweaks to certification btape fill scripts and code

15 years agoMerge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula
Kern Sibbald [Thu, 3 Sep 2009 17:52:47 +0000 (19:52 +0200)]
Merge branch 'master' of ssh://bacula.git.sourceforge.net/gitroot/bacula/bacula