Kern Sibbald [Wed, 24 Nov 2004 17:16:58 +0000 (17:16 +0000)]
- Take Dan's fix to the fix_postgresql_tables (thanks Dan)
- Increase Maximum Concurrent Jobs to 20 in SD and FD!
- Fix improper handling of autochanger Volumes that are not
marked InChanger.
Kern Sibbald [Mon, 22 Nov 2004 09:28:41 +0000 (09:28 +0000)]
- Update authentication failure message to indicate possible
problem with Maximum Concurrent Jobs. Add to doc too.
- Commit PostgreSQL BIGINT fix -- apparently some people didn't
get it.
- Do not use a slot unless it is InChanger in the autochanger
code, otherwise autochanger gets upset not finding the Volume.
Kern Sibbald [Sun, 21 Nov 2004 08:53:22 +0000 (08:53 +0000)]
- Fix removing items from watchdog queue, which apparently
screwed up if there was more than one item.
- Rework mediaformat part of manual to separate out old
tape format for easier reading.
- Add a lot of debug code to the authentication code.
- Add seconds to the start/end times printed in the job report.
Kern Sibbald [Mon, 15 Nov 2004 22:43:33 +0000 (22:43 +0000)]
- Fix cancel bug in FD on /lib/tls with zero pid in
pthread_kill.
- Add date/time to all messages.
- Make Qmsg use time message was queued rather than time
printed.
- Indent job output two spaces.
Kern Sibbald [Fri, 12 Nov 2004 17:37:03 +0000 (17:37 +0000)]
Fix scripts/Makefile.in missing ;\ -- thanks Martin
- A bit of work on btape to keep if from going into infinite
loops when things do not work well, and to print a bit
better info.
Kern Sibbald [Mon, 8 Nov 2004 21:12:12 +0000 (21:12 +0000)]
08Nov04
- More doc updates
- Fix ps command for OpenBSD
- Rework the creation of indexes for SQL -- fall back
to the old code, but document what can be added.
06Nov04
- Add new Daemon message handler in default DIR conf.
05Nov04
- Fix Seg Fault with -D100 in bpipe.c.
- Fix Seg Fault in run specifying a JobId.
- Make mail from daemon with a Messages Resource use
the MailCommand with editing rather than the default
sendmail.
- Replace Jmsg in dispatch_message() with Qmsg.
- Make edit_job_codes handle NULL jcr.
Kern Sibbald [Fri, 29 Oct 2004 22:11:43 +0000 (22:11 +0000)]
30Oct04
- Fix count returned from write_bsr_file() to handle multiple
volumes. This fixes most cases of the Verify VolumeToCatalog.
- Cleanup a bit the make clean for the rescue cdrom and remove
unneeded files from the CVS.
28Oct04
- Fixed acquiring a tape so that it does not block all acquires
when operator intervention is needed.
- Platform build script updates from Scott
- Doc updates
- Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
new /lib/tls. This is done in the startup scripts.
- Modify mtx-changer so that it checks for ONLINE while
waiting.
- Modify make_postgresql_tables.in so that EndBlock is stored
as a bigint. Prevents job failures when a disk volume is
larger than 2GB.
24Oct04
- Add grep ONLINE to wait_for_drive() in mtx-changer.in
- More doc.
- Rebuild Scott's new configure
Kern Sibbald [Tue, 19 Oct 2004 13:35:19 +0000 (13:35 +0000)]
- Modified detection of largefiles to always set all flags regardless
of the machine.
- Modify autostart scripts to start Bacula late in the process and
terminate it early.
- Drop CDImages table in drop database tables scripts.
- Alter casting of (void *) in gnome2-console/restore.c to pass
by a (long int) so that it works with 64 bit machines.
- Add more debug to heartbeat.c in FD for problem of dropped connections.
Kern Sibbald [Mon, 18 Oct 2004 15:29:00 +0000 (15:29 +0000)]
- Fix crash on exit with -t option in FD on 2.6 kernels --
uninitialized thread id variable.
- Add additional SD and FD debug info to detect network hang.
- Fix bnet_strerror() routine not to return stack pointer.
- Put latest update routines in updatedb.
Kern Sibbald [Sat, 16 Oct 2004 11:51:32 +0000 (11:51 +0000)]
Documentation +
- Fix error during restore error reported by Christopher Hull when
no tape in the drive (open fails).
- Add more precise error reporting to FD when a network error
occurs.
Kern Sibbald [Fri, 15 Oct 2004 17:09:21 +0000 (17:09 +0000)]
- Update all the db update scripts to include the new multiple
key index on File proposed by Martin, and to fix up a few
minor things with PostgreSQL.
- Apply Christopher Hull's patch for getting the catalog correct
during a restore.
- Created a patch for 1.34.6 (and code in 1.35) to detect passing
the A option to the FD, which means enable ACL processing.
Submitted by Ben Vitale.
- Fix empty files reported by Marin (zero file_size in dev.c).
Kern Sibbald [Wed, 13 Oct 2004 16:10:10 +0000 (16:10 +0000)]
- Add a kludge to detect bad date/times, which cause a seg fault in
Microsoft's version of localtime_r(). So, now we know that Microsoft
programmers do not check return codes!
- Minor update to web site (new projects page).
- Remove bigint for filenameid from postgresql table -- as demonstrated
by Martin, it has negative performance repercussions.
- Rework getuser() and getgroup() to avoid any possible race condition
by returning the value in a buffer rather than from the cached table.
- Add a bit more debug code to the FD status output.
Kern Sibbald [Thu, 7 Oct 2004 15:26:37 +0000 (15:26 +0000)]
- Added Rerun Failed Levels = yes/no
- Made calling offline_or_rewind() non-fatal if the
device is not open.
- Added Martin's suggestion to have multiple level index on
the file table.
Kern Sibbald [Thu, 7 Oct 2004 12:11:56 +0000 (12:11 +0000)]
- Update doc
- Fix misspelled #define in mysql.c for threading pointed out
by a user.
- Fix incorrect prototype.
- Attempt to fix Solaris crash in SD during status command.
Kern Sibbald [Mon, 4 Oct 2004 20:34:02 +0000 (20:34 +0000)]
- Fix backspace to first character in conio.c
- Add umount command for Phil. :-)
- Fix update volume volfrompool.
- Modify restore to print an error message if the size of a
restored file does not correspond to the saved stat packet.
- Fix count of files to be restored *not* to include
top level created directories.
Kern Sibbald [Sat, 2 Oct 2004 10:19:09 +0000 (10:19 +0000)]
- Use different share mode when opening files on WinMe/98/95 since
SHARE_DELETE is not implemented on those systems.
- In new syntax Includes, pass *all* files through the acceptance
filter so that no error messages will be printed for files that
cannot be opened if they are excluded.
- Fix bug 126 (Martin) -- prevent failed console label request from
going into fixup code and thus trying to update the catalog.
- Always fold case in fnmatch() on Win32 systems
- Create patches/README and the patch summary file.
- Apply Martin's patch for fixing console modifications to Verify Jobs.
- Fix Win32 so that it can backup files that are opened by programs
such as Word (certain open system files cannot be backed up).
Apply NetBSD patches provided by Frank Kardel
- Fix to search libraries differently for PostgreSQL in configure
- Fix to not #define the Bacula uintxx values if already defined
- Correct buffer length passed to inet_ntop() in address_conf.c
- Increase the debug level of a lot of messages to reduce the
debugging noise.
- Modify how ST_APPEND is handled so that nothing is written
to the Volume if it is not set. It is now set only when
the Volume label is verified, and released when the volume
is released. This required a number of minor but rather
critical and fundamental changes.
- Improve quickly terminating a job in the SD when it errs.
More status checking and a few additional checks on
job_canceled() and check more error return statuses.
- Added a number of debug statements (to be removed later) that
check the VolCatName for a name.
- Create a single subroutine that handles terminating writing
on a Volume at the end of the volume (or after an error).
- Continued to add use of the berrno classs for strerror().
- Make run_grub print manual procedure for installing grub
- Add extra setsockopt keepalive.
- Add code to set as many options as possible in the system
tape driver for different OSes.
- Apply Peter Eriksson's patch to configure.in fixes finding
correct libs on Solaris to link conio -- bug 121
- Add expected number of files to Verify VolumeToCatalog, and
if it does not equal the examined files, fail the job.
Fixes bug -- 114
- Modify the depend section of each Makefile.in to reference
instead of -- bug 118
- Remove the word restore from the Volumes needed message in
dird/bsr.c since the message is used for Restore and Verify.
- Fix initialization and copying of the storage resource when
starting jobs (and in jobq.c when restarting). In some cases
jcr->store was not set causing a segfault -- bug 116