]>
git.sur5r.net Git - bacula/bacula/log
Marco van Wieringen [Fri, 6 Jan 2012 18:31:30 +0000 (19:31 +0100)]
Don't copy xattr and acl streams.
- With the new delayed restore of xattr and acl streams we
copy the stream twice. First from the SD buffer to the
stack and then again from the stack when we pop an element
into a JCR POOLMEM. This can be done a bit more efficient.
So we break the JCR struct into an union one for a build
of xattr and acl streams and one for a parse of them.
We pass the content and content_length now as arguments
along the parse (restore) code path. This saves for the
delayed version one copy and for a directory copying
is not done at all.
- Reformatted some code along the way,
- functions with more then 2 arguments are splitted
over multiple lines.
- The stream arrays etc are formated a bit
differently so they are better readable and easy
to extend.
- The build and parse function pointers are
formated a bit differently so they span
multiple lines and should be better readable.
- reformated long lines
- Fixed Tru64 acl code.
Marco van Wieringen [Fri, 6 Jan 2012 19:42:22 +0000 (20:42 +0100)]
Fix bug #1807
Put the restore of xattr and acl streams on a restore stack
which gets popped after the actual file properties are restored.
As directories are never extracted those are excluded from
the delayed restore stack and have their streams processed
when we receive them.
This way we don't clobber the security info due to executing
chown and chmod calls on the restored file. We now first
restore the whole file and properties and then all of its
acls and extended attributes.
We only exclude the Solaris extended attribute streams as we
could have multiple of those with the maximum size and that
would use to much internal memory. For all other platforms
we only have one xattr stream with a maximum of 1 Mb so that
doesn't put to much stress on the filed. Solaris extensible
attributes are delayed restored. Restoring the Solaris
native extended attributes early should be no problem as they
are restored into a seperate namingspace and have file like
content. Security specific info is stored in extensible
attributes and those are delayed restored.
ACL streams are all so small that it makes no sense to
exclude them and we really want to always extract acl streams
after doing a chown and chmod because otherwise we might
reset the acl being restored earlier.
Kern Sibbald [Fri, 6 Jan 2012 13:37:18 +0000 (14:37 +0100)]
Tweak plugin
Kern Sibbald [Fri, 6 Jan 2012 13:21:07 +0000 (14:21 +0100)]
Recompile configure
Kern Sibbald [Fri, 6 Jan 2012 13:20:56 +0000 (14:20 +0100)]
Add configure for new redhat spec files
Kern Sibbald [Fri, 6 Jan 2012 13:17:15 +0000 (14:17 +0100)]
Backport Enterprise spec files
Kern Sibbald [Fri, 6 Jan 2012 11:47:21 +0000 (12:47 +0100)]
Remove unnecessary break and unused variable
Marco van Wieringen [Fri, 6 Jan 2012 09:02:44 +0000 (10:02 +0100)]
Fix xattr/acl regression script.
The test for the second xattr was not working as we need
to append to the logfile not overwrite it.
Eric Bollengier [Thu, 5 Jan 2012 18:02:04 +0000 (19:02 +0100)]
Fix bad memset() reported by clang
Eric Bollengier [Wed, 4 Jan 2012 18:05:34 +0000 (19:05 +0100)]
Tweak copyrights again
Eric Bollengier [Wed, 4 Jan 2012 13:16:27 +0000 (14:16 +0100)]
Test new plugin function in bpipe and test plugin
Eric Bollengier [Wed, 4 Jan 2012 13:15:38 +0000 (14:15 +0100)]
Try to fix openssl problem with signal
Eric Bollengier [Wed, 4 Jan 2012 13:14:52 +0000 (14:14 +0100)]
tweak debug
Eric Bollengier [Wed, 4 Jan 2012 13:14:31 +0000 (14:14 +0100)]
Add BSOCK::set_killable()
Eric Bollengier [Wed, 4 Jan 2012 13:13:47 +0000 (14:13 +0100)]
Set directory attributes when using Replace=Never when Bacula creates them
Eric Bollengier [Wed, 4 Jan 2012 13:12:21 +0000 (14:12 +0100)]
Use RestoreObject type in Catalog
Eric Bollengier [Wed, 4 Jan 2012 13:08:30 +0000 (14:08 +0100)]
Add new features in plugin
- Options {} plugin
- PreInclude event
- Estimate interface
- RestoreObject for configuration
Eric Bollengier [Wed, 4 Jan 2012 12:54:47 +0000 (13:54 +0100)]
tweak bat files
Eric Bollengier [Wed, 4 Jan 2012 12:45:07 +0000 (13:45 +0100)]
Add helper for ini files
Eric Bollengier [Wed, 4 Jan 2012 11:14:03 +0000 (12:14 +0100)]
Implement run accurate=yes/no
Eric Bollengier [Wed, 4 Jan 2012 11:10:29 +0000 (12:10 +0100)]
Add .bvfs_clear_cache
Eric Bollengier [Wed, 4 Jan 2012 11:07:14 +0000 (12:07 +0100)]
Add Accurate and MaxRunSchedTime in Schedule resource
Eric Bollengier [Wed, 4 Jan 2012 11:05:16 +0000 (12:05 +0100)]
tweak copyright
Eric Bollengier [Wed, 4 Jan 2012 11:01:36 +0000 (12:01 +0100)]
fix warning
Marco van Wieringen [Wed, 4 Jan 2012 09:23:36 +0000 (10:23 +0100)]
Fix xattr/acl regression.
Kern Sibbald [Tue, 3 Jan 2012 19:00:02 +0000 (20:00 +0100)]
Recompile configure
Kern Sibbald [Tue, 3 Jan 2012 18:55:55 +0000 (19:55 +0100)]
Fix bug #1802 configure code to detect LZO is broken
Marco van Wieringen [Tue, 3 Jan 2012 11:58:30 +0000 (12:58 +0100)]
Fix bug #1806 failure to save second and more xattr.
Marco van Wieringen [Tue, 3 Jan 2012 11:51:44 +0000 (12:51 +0100)]
Add second xattr to show bug 1806
Kern Sibbald [Mon, 2 Jan 2012 16:57:45 +0000 (17:57 +0100)]
Enhance sellist to allow rescanning the list
Kern Sibbald [Mon, 2 Jan 2012 14:34:53 +0000 (15:34 +0100)]
Fix lib/sellist.c
Kern Sibbald [Mon, 2 Jan 2012 09:52:46 +0000 (10:52 +0100)]
Pull compiler warning cleanup code + other from master
Kern Sibbald [Sun, 1 Jan 2012 16:12:43 +0000 (17:12 +0100)]
Remove double include of sellist.h
Kern Sibbald [Sun, 1 Jan 2012 16:08:03 +0000 (17:08 +0100)]
Tweak alist.h
Kern Sibbald [Sun, 1 Jan 2012 16:07:50 +0000 (17:07 +0100)]
First cut selection list
Kern Sibbald [Sat, 31 Dec 2011 08:03:31 +0000 (09:03 +0100)]
Fix seg fault in plugin event loop
Kern Sibbald [Mon, 19 Dec 2011 15:05:52 +0000 (16:05 +0100)]
Update release procedure
Kern Sibbald [Sun, 18 Dec 2011 16:50:44 +0000 (17:50 +0100)]
Implement slow regression for manual testing things like cancel/stop
Kern Sibbald [Sun, 18 Dec 2011 16:46:18 +0000 (17:46 +0100)]
Fix slow regress setups
Eric Bollengier [Fri, 16 Dec 2011 16:29:38 +0000 (17:29 +0100)]
Fix #3210 about slow restore with bvfs
The BSR creation procedure is expecting to have ordered FileIndex,
this is now done with an extra SORT.
Kern Sibbald [Thu, 15 Dec 2011 11:41:49 +0000 (12:41 +0100)]
Tweak update version
Kern Sibbald [Thu, 15 Dec 2011 11:40:41 +0000 (12:40 +0100)]
Tweak update ReleaseNotes
Kern Sibbald [Thu, 15 Dec 2011 11:33:23 +0000 (12:33 +0100)]
Tweak git2changelog.pl
Eric Bollengier [Thu, 15 Dec 2011 10:06:54 +0000 (11:06 +0100)]
Revert patch from Ben to not compress man pages on Solaris fix #1801
Kern Sibbald [Wed, 14 Dec 2011 19:16:28 +0000 (20:16 +0100)]
Fix bug #3322 don't poll when operator is labeling tapes
Marco van Wieringen [Wed, 14 Dec 2011 12:07:26 +0000 (13:07 +0100)]
Fix typo
Eric Bollengier [Tue, 13 Dec 2011 13:45:00 +0000 (14:45 +0100)]
bvfs: Fix mysql REGEXP operator
Oliver Falk [Mon, 12 Dec 2011 08:23:34 +0000 (09:23 +0100)]
Fix Mysql 5.5.18 symbol lookup
Eric Bollengier [Thu, 8 Dec 2011 17:17:01 +0000 (18:17 +0100)]
fix utf8/iso8859 problems
Eric Bollengier [Thu, 8 Dec 2011 12:48:41 +0000 (13:48 +0100)]
bweb: Add missing role
Eric Bollengier [Tue, 6 Dec 2011 08:17:18 +0000 (09:17 +0100)]
Fix #3419, update stats problem
Marco van Wieringen [Mon, 5 Dec 2011 15:13:50 +0000 (16:13 +0100)]
Fix cats_test to use the new method names.
Eric Bollengier [Mon, 5 Dec 2011 10:32:10 +0000 (11:32 +0100)]
Update accurate code to use 1 byte instead of 3
Eric Bollengier [Mon, 5 Dec 2011 08:24:45 +0000 (09:24 +0100)]
Fix segfault in accurate code
This segfault was introduced while cleaning the code.
Eric Bollengier [Sat, 3 Dec 2011 17:04:54 +0000 (18:04 +0100)]
Fix compilation warning on FreeBSD
Bruno Friedmann [Fri, 2 Dec 2011 14:31:15 +0000 (15:31 +0100)]
Tweak: remove uncommented/unwanted comment, fix startup
Signed-off-by: Marco van Wieringen <mvw@planets.elm.net>
Kern Sibbald [Wed, 30 Nov 2011 17:51:09 +0000 (18:51 +0100)]
Tweak comments in migration
Kern Sibbald [Wed, 30 Nov 2011 13:20:50 +0000 (14:20 +0100)]
Tweak error message
Kern Sibbald [Sat, 26 Nov 2011 14:08:12 +0000 (15:08 +0100)]
Update release procedure
Kern Sibbald [Sat, 26 Nov 2011 11:47:31 +0000 (12:47 +0100)]
Add first cut of a release procedure
Kern Sibbald [Sat, 26 Nov 2011 11:01:01 +0000 (12:01 +0100)]
Ignore tray-monitor/release directory
Kern Sibbald [Fri, 25 Nov 2011 17:45:26 +0000 (18:45 +0100)]
Remove unused variable
Kern Sibbald [Fri, 25 Nov 2011 14:50:17 +0000 (15:50 +0100)]
Update release date
Kern Sibbald [Fri, 25 Nov 2011 11:21:51 +0000 (12:21 +0100)]
Use old tray-monitor.pro so that it can be built on Linux
Kern Sibbald [Fri, 25 Nov 2011 07:52:09 +0000 (08:52 +0100)]
Fix Win32 tray-monitor build
Eric Bollengier [Fri, 25 Nov 2011 07:06:09 +0000 (08:06 +0100)]
remove debug option from tray-monitor, should fix #1792
Kern Sibbald [Thu, 24 Nov 2011 22:15:44 +0000 (23:15 +0100)]
Recompile configure
Marco van Wieringen [Thu, 24 Nov 2011 20:38:04 +0000 (21:38 +0100)]
Cleanup autoconf output for systemd check.
Eric Bollengier [Thu, 24 Nov 2011 19:33:37 +0000 (20:33 +0100)]
fix small memory leak with plugin directory on SD
Jean Michault [Thu, 24 Nov 2011 15:41:02 +0000 (16:41 +0100)]
Add new Bat French translation from bug #1794
Kern Sibbald [Thu, 24 Nov 2011 13:48:47 +0000 (14:48 +0100)]
Tweak release notes
Kern Sibbald [Thu, 24 Nov 2011 13:27:09 +0000 (14:27 +0100)]
Update version date
Kern Sibbald [Thu, 24 Nov 2011 13:26:24 +0000 (14:26 +0100)]
Ignore certain filenames
Kern Sibbald [Wed, 23 Nov 2011 13:50:39 +0000 (14:50 +0100)]
Fix Windows build
Kern Sibbald [Wed, 23 Nov 2011 13:25:19 +0000 (14:25 +0100)]
Fix compile problems with stored/status.c
Kern Sibbald [Wed, 23 Nov 2011 12:43:08 +0000 (13:43 +0100)]
Update ReleaseNotes and ChangeLog
Kern Sibbald [Wed, 23 Nov 2011 12:37:24 +0000 (13:37 +0100)]
Implement -t option for Bat
Kern Sibbald [Wed, 23 Nov 2011 12:35:31 +0000 (13:35 +0100)]
Require correct Qt version to build bat
Kern Sibbald [Wed, 23 Nov 2011 12:27:59 +0000 (13:27 +0100)]
Get new lib/plugins.h
Kern Sibbald [Wed, 23 Nov 2011 12:25:25 +0000 (13:25 +0100)]
Pull files from Master
Eric Bollengier [Wed, 23 Nov 2011 12:03:26 +0000 (13:03 +0100)]
Add systemd files
Kern Sibbald [Wed, 23 Nov 2011 11:27:31 +0000 (12:27 +0100)]
Update po files
Kern Sibbald [Wed, 23 Nov 2011 11:23:36 +0000 (12:23 +0100)]
Update ChangeLog and ReleaseNotes
Eric Bollengier [Wed, 23 Nov 2011 10:45:52 +0000 (11:45 +0100)]
update version.h
Eric Bollengier [Wed, 23 Nov 2011 10:44:48 +0000 (11:44 +0100)]
update releasenotes
Kern Sibbald [Wed, 23 Nov 2011 10:18:27 +0000 (11:18 +0100)]
Fix script to set mode of cats scripts
Eric Bollengier [Wed, 23 Nov 2011 08:08:46 +0000 (09:08 +0100)]
update configure
Eric Bollengier [Wed, 23 Nov 2011 08:07:00 +0000 (09:07 +0100)]
Create systemd dir if not already exists
Bruno Friedmann [Wed, 23 Nov 2011 08:04:19 +0000 (09:04 +0100)]
Add Systemd configure options
Kern Sibbald [Tue, 22 Nov 2011 16:35:01 +0000 (17:35 +0100)]
Fix compiler warning in message.c
Eric Bollengier [Thu, 17 Nov 2011 16:19:35 +0000 (17:19 +0100)]
Split messages line by line before sending it to syslog() fix #3325
Eric Bollengier [Thu, 17 Nov 2011 08:55:01 +0000 (09:55 +0100)]
bweb: try to handle windows drive better in bresto
Eric Bollengier [Wed, 16 Nov 2011 15:46:00 +0000 (16:46 +0100)]
bweb: Fix #3309 by adjusting the graph height depending on the number of items to display
David Weber [Wed, 16 Nov 2011 13:36:58 +0000 (14:36 +0100)]
bweb: Fix bresto full directory restore
We need the jobid if we want to restore a full directory
David Weber [Wed, 16 Nov 2011 13:16:10 +0000 (14:16 +0100)]
Fix bvfs_restore on MySQL
Eric Bollengier [Wed, 16 Nov 2011 09:51:27 +0000 (10:51 +0100)]
Fix #3308 where a SMTP problem can block the director
Marco van Wieringen [Mon, 14 Nov 2011 15:51:46 +0000 (16:51 +0100)]
Flush mntent cache on exit.
Any daemon that uses fstype should call the flush_mntent_cache
function as the fstype on Linux and OSF1 uses the mntent cache
for mountpoint lookups.
Eric Bollengier [Mon, 14 Nov 2011 19:52:21 +0000 (20:52 +0100)]
tweak bat to remove unused control
Eric Bollengier [Mon, 14 Nov 2011 19:22:25 +0000 (20:22 +0100)]
update on 1612
Eric Bollengier [Mon, 14 Nov 2011 10:52:14 +0000 (11:52 +0100)]
bweb: Fix #1787 provided by David Weber