]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/ChangeLog
Make filed/job.c downward compatible
[bacula/bacula] / bacula / ChangeLog
index 967eaeb087dd64baa37c845911c3feaa654b2101..f2b320cca665dc58e774d912e1845dc984729a1f 100644 (file)
@@ -1,3 +1,340 @@
+
+Version 1.36.1 released 26Nov04:
+24Nov04
+- 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.
+22Nov04
+- 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.
+21Nov04
+- Make authentication timeout compile time configurable.
+  The value is set in src/baconfig.h
+- 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.
+19Nov04
+- Fix mutex deadlock in dequeue of messages.
+- Add debug code to FD authorization.
+18Nov04
+- Increase authentication timeouts to 10 minutes.  
+15Nov04
+- 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.
+13Nov04
+- Fix web page links for new manual.
+- Grant postgresql permission to cdimages.
+- Correct crash after "list nextvol" "list media" bug 160
+12Nov04
+- 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.
+11Nov04
+- JobDefs Storage resource completely overrode anything
+  specified in Job resource -- bug 159 -- fixed.
+- Fix syntax of renaming postgresql per Dan.
+- Add working_directory to be /tmp for wx_console.
+10Nov04
+- Allow both a JobId and a filename or list of files to be
+  specified on a restore command line.
+- Save old mtx-changer before installing new one: bug 156
+- Fix errors in CDROM file pointed out by Scott.
+09Nov04
+- Fix exepath when Bacula executed without path.
+- Move test for socket libraries for Solaris in configure.in
+  before tcp wrapper tests so that linking works.
+- Add "make copy-static-fd" to makefile in CDROM file to
+  copy existing static fd to CDROM rather than building it.
+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.
+04Nov04
+- Add M_ALERT class and put tape alerts into it.
+- Fix Verify count vs found by not double counting files
+  that are split across files/Volumes.
+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
+
+Version 1.36.0 released 21Oct04:
+Changes to 1.35.9:
+19Oct04
+- Modify install of make_catalog_backup and delete_catalog_backup so
+  that it will not overwrite any existing file.
+- Additional documentation.
+- 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.
+18Oct04
+- Adjust priorities for starting/stopping daemons to be
+  started late and stopped early as suggested by Marc Williams.
+18Oct04
+- Adjust priorities for starting/stopping daemons to be
+  started late and stopped early as suggested by Marc Williams.
+18Oct04
+- 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.
+16Oct04
+- 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.
+15Oct04
+- Fix empty files reported by Marin (zero file_size in dev.c).
+- 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.
+13Oct04
+- Fix syntax error in make_mysql_tables.in pointed out by Scott.
+12Oct04
+- 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.
+
+Changes to 1.35.8:
+09Oct04
+- Documentation.
+- Integrate Peter Ericksson's dbx traceback scripts into Bacula
+08Oct04
+- Fix segfault in lsmark command in restore tree.
+- Fix segfault in editing numbers in count command of restore tree.
+- Add missing #define for IPV6 found by Martin in address_conf.c
+- Use strcasecmp() instead of strcmp() in address_conf.c
+07Oct04
+- Fix bug where SD crashes on label if drive is not open
+  (i.e. Always Open = no).
+- 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.
+- 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. 
+04Oct04
+- 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.
+
+Changes to 1.35.7:
+03Oct04
+- Apply Martin's patch that puts back the run pool override
+  code -- dumb me for removing it.
+
+Changes to 1.35.6:
+02Oct04
+- Create patches/README and the patch summary file.
+- 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.
+01Oct04
+- 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
+30Sep04
+- Create patches directory
+- 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).
+
+Changes to 1.35.5:
+29Sep04
+- Fix Storage overrides in Run directive
+- Fix seg fault in AlertCommand
+- Fix btape "test" and "fill" commands to work with new SD
+  data structures.  There are still problems ...
+26Sep04
+- 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().
+25Sep04
+- Apply conio patches supplied by Peter Eriksson for configure.in
+  conio.h and conio.c to make it work better on Solaris.
+- 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.
+24Sep04
+- 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 $(CXX)
+  instead of $(CC) -- 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
+23Sep04
+- More doc.
+- Pass EndFile and EndBlock to SD.  
+22Sep04
+- Fixed bscan to close() drive between tapes.
+- Turn on transactions for SQLite and PostgreSQL if
+  multiple connections are turned on.
+- Removed stripping of filename in ua_tree insertion routine.
+- Fix split_path_and_filename() routines to return zero length
+  path and files.
+- Modify update_tables scripts to convert a single blank filename
+  into an empty filename.
+- Incremented the release number because this version requires
+  an update to the database.
+  Use:
+    cd src/cats
+    ./update_bacula_tables  
+  to update an existing database.
+- Implemented EndFile and EndBlock in the Media record. This will
+  allow Bacula to know exactly when to stop reading a tape if the
+  stupid tape driver does not give a logical end of tape indication 
+  and Bacula writes to the end of the tape getting an I/O error.
+- Added new routines to update the database, and there are
+  new database creation routines to add the two new Media columns.
+- The Media record is updated each time a JobMedia record is created.
+  This keeps the Media record up to date.
+- Undid the code to use automatic type converions to char * in
+  POOL_MEM. This is due to the ugly consequences of essentially
+  destroying the class type nature of the class.
+- Removed all the old mp_char() #define code.
+
+Changes to 1.35.4:
+22Sep04
+- Add additional doc.
+- Implement automatic POOL_MEM type conversion to char *. Thanks
+  to Martin Simmons for the suggestion.
+- Remove some unneeded function overloading -- need removed by
+  automatic type conversion.
+21Sep04
+- Correct segfault in message.c with debug=200 (new code).
+- Fix bug 109 verify with no options prints garbage.
+- Add ioctl(MTIOCGET) call to clrerror_dev() in dev.c. As reported
+  by Frank Kardel, this should clear error conditions on NetBSD.
+20Sep04
+- Modify the rescue script to create mount_drives with
+  the order specified by Philip Nash (mkdir, mount).
+- Tweak install chapter of French manual to add new paragraph
+  from English.
+- Tweak restore tree message to be a bit clearer.
+- Modify watchdog to wakeup after 60 seconds, or wakeup if
+  there is work to do.
+- Modify watchdog stop routine to "ping" watchdog so that it
+  stops immediately rather than after sleep time.
+- Fix btape to use new dcr blocks rather than its own.
+- Fix butil.c to correctly handle Volume names for the
+  utility routines (broke when updating to dcrs).
+11-19Sep04 (vacation)
+- Implement multiple Storage specifications in the Job resource
+  (AND) each containing multiple specifications (OR). Not yet functional.
+  Note, this needs more work as most things now use
+  job->storage[0]->first() rather than looping through devices.
+- Implement "Multiple connections = yes/no" in Catalog record for
+  allowing multiple simultaneous connections to the database.
+- Add new mac.c (Migrate, Archive, Copy) to dird -- not yet implemented.
+- Implement a new POOL_MEM class that automatically allocates
+  and deallocates a pool buffer.
+- Overload a number of utility routines to permit using both
+  POOLMEM and POOL_MEM.
+- Start converting to using POOL_MEM.
+- There were a number of Bacula console ACL checks missing in
+  ua_run.c. It allowed users to run jobs they really should not.
+- Correct a number of dates on the Copyright.
+- Overload pm_strcpy() and pm_strcat() to handle new POOL_MEM
+  class.
+- Overload bash/unbash_spaces to handle new POOL_MEM class.
+- Make a *MASSIVE* pass through the Storage daemon eliminating
+  all use of jcr->VolumeName and jcr->VolCatInfo in favor of
+  dcr->...  
+- Eliminate all all redundant arguments from calling sequences
+  in SD. This poses a number of problems due to the old way blocks
+  and records were allocated and released all the time. They are
+  now contained in the dcr. The problem is that old habits die hard
+  and there are still places where everything is not right.
+- Implement "Block positioning = yes/no" in Device resource in SD.
+
 Changes to 1.35.3:
 09Sep04
 - Add "Multiple Connections = yes/no" in catalog record. Only