]>
git.sur5r.net Git - bacula/bacula/log
Kern Sibbald [Sun, 20 Sep 2009 07:36:00 +0000 (09:36 +0200)]
Reorder configure test for cleaner print output
Kern Sibbald [Sun, 20 Sep 2009 07:35:00 +0000 (09:35 +0200)]
Tweak auto-label-test exit on failure
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.
Dmitry V. Levin [Fri, 18 Sep 2009 15:38:53 +0000 (15:38 +0000)]
Remove redundant includes of pwd.h and grp.h headers
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).
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).
Kern Sibbald [Fri, 18 Sep 2009 14:20:48 +0000 (16:20 +0200)]
Force nightly-disk regress to 3.0.3
Eric Bollengier [Thu, 17 Sep 2009 21:00:19 +0000 (23:00 +0200)]
speed-test: Add basejob argument to test basejob speed
Eric Bollengier [Thu, 17 Sep 2009 20:49:27 +0000 (22:49 +0200)]
Add new test
Kern Sibbald [Thu, 17 Sep 2009 20:05:53 +0000 (22:05 +0200)]
Fix warning typo pointed out by Phil Stracchino
Kern Sibbald [Thu, 17 Sep 2009 19:23:54 +0000 (21:23 +0200)]
Fix typo that prevented older SD from working with DIR
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
Kern Sibbald [Thu, 17 Sep 2009 14:22:15 +0000 (16:22 +0200)]
Update technotes
Kern Sibbald [Thu, 17 Sep 2009 14:21:03 +0000 (16:21 +0200)]
Fix seg fault in ignoredir code
Kern Sibbald [Thu, 17 Sep 2009 13:59:48 +0000 (15:59 +0200)]
more mkdir -p changes
Kern Sibbald [Thu, 17 Sep 2009 13:18:40 +0000 (15:18 +0200)]
Make several dir names unique to avoid test collisions
Kern Sibbald [Thu, 17 Sep 2009 12:14:47 +0000 (14:14 +0200)]
Change regression scripts to use mkdir -p to avoid spurious errors
Kern Sibbald [Thu, 17 Sep 2009 12:14:05 +0000 (14:14 +0200)]
Fix some job-start changes
Kern Sibbald [Tue, 15 Sep 2009 18:01:37 +0000 (11:01 -0700)]
more job-restart code
Eric Bollengier [Tue, 15 Sep 2009 18:27:17 +0000 (20:27 +0200)]
Update restore menu 12 explanation
Eric Bollengier [Tue, 15 Sep 2009 12:51:00 +0000 (14:51 +0200)]
cleanup patches/testing dir
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
Eric Bollengier [Mon, 14 Sep 2009 12:57:36 +0000 (14:57 +0200)]
tweak space on projects file
Kern Sibbald [Sat, 12 Sep 2009 06:13:44 +0000 (08:13 +0200)]
Try to distinguish CentOS/RHEL
Kern Sibbald [Fri, 11 Sep 2009 12:26:17 +0000 (14:26 +0200)]
Modify tools to be able to correctly install testls for regress
Kern Sibbald [Fri, 11 Sep 2009 10:28:39 +0000 (12:28 +0200)]
Update technotes
Kern Sibbald [Fri, 11 Sep 2009 10:28:23 +0000 (12:28 +0200)]
Create bigendian() inline to simplify code
Kern Sibbald [Fri, 11 Sep 2009 10:24:21 +0000 (12:24 +0200)]
Set Volume Poll Interval to 5 mins by default
Frank Sweetser [Fri, 11 Sep 2009 10:01:31 +0000 (12:01 +0200)]
Apply Frank's slash patch
Kern Sibbald [Thu, 10 Sep 2009 19:24:07 +0000 (21:24 +0200)]
Tweak English in bweb
Kern Sibbald [Thu, 10 Sep 2009 19:23:17 +0000 (21:23 +0200)]
Reduce runscript wait times
Kern Sibbald [Thu, 10 Sep 2009 14:32:18 +0000 (16:32 +0200)]
Update Win32 README.mingw
Kern Sibbald [Thu, 10 Sep 2009 13:38:44 +0000 (15:38 +0200)]
Add patch for more SD info fix
Kern Sibbald [Thu, 10 Sep 2009 13:32:26 +0000 (15:32 +0200)]
Update technotes and version
Kern Sibbald [Thu, 10 Sep 2009 13:32:13 +0000 (15:32 +0200)]
Add patch for bug #1371
Kern Sibbald [Thu, 10 Sep 2009 13:28:59 +0000 (15:28 +0200)]
Fix seg fault in SD bug #1371
Kern Sibbald [Thu, 10 Sep 2009 13:26:09 +0000 (15:26 +0200)]
Add append log to tape SD tests
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
Kern Sibbald [Thu, 10 Sep 2009 03:48:50 +0000 (05:48 +0200)]
Fix possible termination problem
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
Kern Sibbald [Wed, 9 Sep 2009 21:14:22 +0000 (23:14 +0200)]
Keep valgrind happy
Eric Bollengier [Wed, 9 Sep 2009 15:16:57 +0000 (17:16 +0200)]
Add patches and update technotes
Eric Bollengier [Wed, 9 Sep 2009 14:46:36 +0000 (16:46 +0200)]
Fix Exclude Dir Containing ignored when scanning the top_level dir
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.
Eric Bollengier [Wed, 9 Sep 2009 12:21:24 +0000 (14:21 +0200)]
Add patch for #1370
Eric Bollengier [Wed, 9 Sep 2009 12:20:48 +0000 (14:20 +0200)]
update technotes
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.
Eric Bollengier [Wed, 9 Sep 2009 10:21:53 +0000 (12:21 +0200)]
Add new exclude-dir-test
Eric Bollengier [Wed, 9 Sep 2009 08:35:55 +0000 (10:35 +0200)]
Add patch for 3.0.2 release
Eric Bollengier [Wed, 9 Sep 2009 08:29:37 +0000 (10:29 +0200)]
update technotes
Eric Bollengier [Wed, 9 Sep 2009 08:24:20 +0000 (10:24 +0200)]
Fix #1369 about segfault when using ExcludeDirContaining before defining Options{} block.
Eric Bollengier [Wed, 9 Sep 2009 08:22:55 +0000 (10:22 +0200)]
Verify if the Exclude Dir Containing directive does his job
Eric Bollengier [Wed, 9 Sep 2009 08:21:59 +0000 (10:21 +0200)]
cleanup vtape-test-changer
Eric Bollengier [Wed, 9 Sep 2009 07:37:42 +0000 (09:37 +0200)]
Add a regress script for Exclude Dir Containing option
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>
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>
Eric Bollengier [Tue, 8 Sep 2009 15:01:32 +0000 (17:01 +0200)]
update technotes
Lorenz Schori [Tue, 8 Sep 2009 15:00:20 +0000 (17:00 +0200)]
Fix minor issues in the osx installer package builder.
John Goerzen [Tue, 8 Sep 2009 14:50:30 +0000 (16:50 +0200)]
Fix -p/-P in bscan.8 man page
Eric Bollengier [Mon, 7 Sep 2009 18:38:09 +0000 (20:38 +0200)]
fix compilation warning
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
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>
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>
Marco van Wieringen [Sun, 6 Sep 2009 18:45:12 +0000 (20:45 +0200)]
Redone comments
Signed-off-by: Kern Sibbald <kern@sibbald.com>
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>
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>
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>
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>
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
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>
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>
Kern Sibbald [Sun, 6 Sep 2009 09:09:41 +0000 (11:09 +0200)]
Commit Mac pathlen patch
Kern Sibbald [Sun, 6 Sep 2009 09:04:34 +0000 (11:04 +0200)]
Increment minor version to avoid future conflict
Kern Sibbald [Sun, 6 Sep 2009 09:03:41 +0000 (11:03 +0200)]
Fix bug #1368. Increase default path/file length to 2048
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
Marco van Wieringen [Sat, 5 Sep 2009 20:17:19 +0000 (22:17 +0200)]
Add acl script code for Mac
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
Kern Sibbald [Sat, 5 Sep 2009 19:48:17 +0000 (21:48 +0200)]
Up timeout for rewind and changer on btest script
Kern Sibbald [Sat, 5 Sep 2009 13:42:30 +0000 (15:42 +0200)]
Try to fix zombies in next-vol-test
Kern Sibbald [Fri, 4 Sep 2009 16:07:52 +0000 (18:07 +0200)]
Fix broken editing code
Kern Sibbald [Fri, 4 Sep 2009 15:57:44 +0000 (17:57 +0200)]
Use edit routine instead of %f for rates
Kern Sibbald [Fri, 4 Sep 2009 13:47:46 +0000 (15:47 +0200)]
Implement BlockChecksum in Device
Kern Sibbald [Fri, 4 Sep 2009 13:46:33 +0000 (15:46 +0200)]
Implement BlockChecksum in Device
Eric Bollengier [Fri, 4 Sep 2009 12:58:18 +0000 (14:58 +0200)]
btape: Add speed command and test drive speed with Bacula blocks
Eric Bollengier [Fri, 4 Sep 2009 08:18:45 +0000 (10:18 +0200)]
btape: cleanup
Kern Sibbald [Fri, 4 Sep 2009 10:38:05 +0000 (12:38 +0200)]
Final tweaks to certification btape fill scripts and code
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
Kern Sibbald [Thu, 3 Sep 2009 17:52:37 +0000 (19:52 +0200)]
Tweak btape.c
Eric Bollengier [Thu, 3 Sep 2009 16:37:55 +0000 (18:37 +0200)]
btape: tweak output
Eric Bollengier [Thu, 3 Sep 2009 16:36:31 +0000 (18:36 +0200)]
btape: Make zero test first (fastest)
btape: tweak ouputs
Eric Bollengier [Thu, 3 Sep 2009 16:16:39 +0000 (18:16 +0200)]
btape: Add speed command
Eric Bollengier [Thu, 3 Sep 2009 15:04:18 +0000 (17:04 +0200)]
btape: Add speed information on qfill and raw command
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
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
Kern Sibbald [Thu, 3 Sep 2009 11:42:27 +0000 (13:42 +0200)]
Eliminate btape flush + tweak btape regression scripts
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
Kern Sibbald [Thu, 3 Sep 2009 09:06:26 +0000 (11:06 +0200)]
Include file,blk in btape fill output
Kern Sibbald [Thu, 3 Sep 2009 09:01:37 +0000 (11:01 +0200)]
Create exit_code for fill with multiple tapes
Eric Bollengier [Thu, 3 Sep 2009 06:15:54 +0000 (08:15 +0200)]
Fix #1364 and #1363 about compression buffer error.
Eric Bollengier [Wed, 2 Sep 2009 16:57:37 +0000 (18:57 +0200)]
fix variable name