]> git.sur5r.net Git - bacula/bacula/log
bacula/bacula
14 years agoTweak keep readall error messages
Kern Sibbald [Sun, 20 Sep 2009 07:41:47 +0000 (09:41 +0200)]
Tweak keep readall error messages

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

14 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

14 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

14 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.

14 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

14 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).

14 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).

14 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

14 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

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

14 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

14 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

14 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

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

14 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

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

14 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

14 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

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

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

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

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

14 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

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

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

14 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

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

14 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

14 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

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

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

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

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

14 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

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

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

14 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

14 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

14 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

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

14 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

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

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

14 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

14 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.

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

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

14 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.

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

14 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

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

14 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.

14 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

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

14 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

14 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>
14 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>
14 years agoupdate technotes
Eric Bollengier [Tue, 8 Sep 2009 15:01:32 +0000 (17:01 +0200)]
update technotes

14 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.

14 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

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

14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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

14 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>
14 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>
14 years agoCommit Mac pathlen patch
Kern Sibbald [Sun, 6 Sep 2009 09:09:41 +0000 (11:09 +0200)]
Commit Mac pathlen patch

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

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

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

14 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

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

14 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

14 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

14 years agoTweak btape.c
Kern Sibbald [Thu, 3 Sep 2009 17:52:37 +0000 (19:52 +0200)]
Tweak btape.c

14 years agobtape: tweak output
Eric Bollengier [Thu, 3 Sep 2009 16:37:55 +0000 (18:37 +0200)]
btape: tweak output

14 years agobtape: Make zero test first (fastest)
Eric Bollengier [Thu, 3 Sep 2009 16:36:31 +0000 (18:36 +0200)]
btape: Make zero test first (fastest)
btape: tweak ouputs

14 years agobtape: Add speed command
Eric Bollengier [Thu, 3 Sep 2009 16:16:39 +0000 (18:16 +0200)]
btape: Add speed command

14 years agobtape: Add speed information on qfill and raw command
Eric Bollengier [Thu, 3 Sep 2009 15:04:18 +0000 (17:04 +0200)]
btape: Add speed information on qfill and raw command

14 years agoUse MaxFileSize device configuration in btape
Eric Bollengier [Thu, 3 Sep 2009 12:39:09 +0000 (14:39 +0200)]
Use MaxFileSize device configuration in btape
Make less tweaks in random buffer in btape

14 years agoMerge branch 'master' of ssh://kerns@bacula.git.sourceforge.net/gitroot/bacula/bacula
Kern Sibbald [Thu, 3 Sep 2009 11:42:55 +0000 (13:42 +0200)]
Merge branch 'master' of ssh://kerns@bacula.git.sourceforge.net/gitroot/bacula/bacula

14 years agoEliminate btape flush + tweak btape regression scripts
Kern Sibbald [Thu, 3 Sep 2009 11:42:27 +0000 (13:42 +0200)]
Eliminate btape flush + tweak btape regression scripts

14 years agoCommit patch for: Fix bug #1355 Director crashes with double free in Accurate SQL...
Kern Sibbald [Thu, 3 Sep 2009 09:07:03 +0000 (11:07 +0200)]
Commit patch for: Fix bug #1355 Director crashes with double free in Accurate SQL query

14 years agoInclude file,blk in btape fill output
Kern Sibbald [Thu, 3 Sep 2009 09:06:26 +0000 (11:06 +0200)]
Include file,blk in btape fill output

14 years agoCreate exit_code for fill with multiple tapes
Kern Sibbald [Thu, 3 Sep 2009 09:01:37 +0000 (11:01 +0200)]
Create exit_code for fill with multiple tapes