]> git.wh0rd.org - dump.git/blame - CHANGES
Update to the latest RedHat RPM spec file.
[dump.git] / CHANGES
CommitLineData
1d568d1b 1$Id: CHANGES,v 1.75 2000/08/20 15:46:52 stelian Exp $
f1d86882
SP
2
3Changes between versions 0.4b17 and 0.4b19 (released ?????????????)
4===================================================================
5
61. Fixed the signal handling in dump (which I broke in 0.4b17)
7 which was causing several strange dump failures (dump
8 hanged or segmentation faults etc).
ddf0df5b 9
65bceb9b
SP
102. Specified the default blocksize in the dump man page.
11
57b19d7f
SP
123. Changed two info messages of restore to be written on stdout
13 instead of stderr in order to leave stderr only for errors
14 or warnings. Thanks to Stephen Atwell
15 <satwell@urbana.css.mot.com> for the suggestion.
16
4f94452b
SP
174. Corrected an off by one calculation which prevented
18 dumping a directory having a 1 character name length.
19 Thanks to Bernhard Erdmann <bernhard.erdmann@gmx.de>
20 for reporting the bug.
21
79e31865
SP
225. Reinforce dump in order to allow only level 0 and no
23 -u option when dumping a subdirectory, and document
24 this in the man page. Thanks to Bernhard Erdmann
25 <bernhard.erdmann@gmx.de> for reporting the bug.
26
9be511dc
SP
276. Fixed a small harmless bug in restore which caused
28 in some conditions hard links to be restored several
29 times (therefore generation some warning messages).
30 Thanks to Kenneth Porter <shiva@well.com> for
31 reporting the bug.
32
1d568d1b
SP
337. Update the RPM spec file to the latest RedHat version,
34 providing FHS packaging and other cosmetic changes.
35
8cca05cc
SP
36Changes between versions 0.4b17 and 0.4b18 (released June 30, 2000)
37===================================================================
ddf0df5b
SP
38
391. Fixed a potential buffer overflow in restore. Thanks
40 to Stan Bubrouski <satan@fastdial.net> for reporting
41 the bug.
30a43325 42
64bb207a
SP
432. Fixed a readline-related bug which prevented
44 'cat DUMPFILE | restore -i -f -' from working. Thanks
45 to Charles Karney <karney@users.sourceforge.net>
46 for the bug report.
47
d572dbfd
SP
483. Changed a few "panic" into "exit", causing restore to
49 be more stable against some attacks (like the last one
50 reported on Bugtraq, although the last version of restore
51 was not vulnerable - just dumped core). Thanks to
52 Andreas Hasenack <andreas@conectiva.com.br> for reporting
53 the bugs to me.
54
882090d1
SP
554. Removed the suid-root bit on dump and restore in the
56 default build (and generated RPMs). It should be safer
57 now. Users who need the suid-root capabilities in order
58 to make network backups should read first the man page
59 of dump and enable the suid bit manually.
60
5e04cc92
SP
615. Added -ltermcap to the compile parameters for restore
62 when using readline support, in order to make the compile
63 process work on some systems (SuSE ?). Thanks to
64 Patrik Schindler <poc@pocnet.net> for reporting the bug.
65
ac443b63 66Changes between versions 0.4b16 and 0.4b17 (released June 1st, 2000)
30a43325
SP
67====================================================================
68
691. The -F script is called now *only* at the end of a tape,
49023a9d 70 not at the end of the dump. Thanks to Christian Haul
30a43325
SP
71 <haul@informatik.tu-darmstadt.de> for the bug report.
72
d8574d45
SP
73 Normally, the device name and the current volume number
74 are passed on the command line of the script. However,
75 if you want the old style script (with no arguments
76 passed on the command line), you can enable it in
77 configure with the --enable-oldstylefscript.
78
30a43325
SP
792. Use posix signal handling to preserve dump functionality
80 with libc5. Thanks to Jeff Johnson <jbj@redhat.com> for
81 the patch.
d65ed175 82
3d78f5f2
SP
833. Made the exit code of restore in case of a 'C'ompare
84 command reflect the result of the compare. An exit status
85 of 0 means the dump archive is correct, 1 means tape errors,
d8574d45
SP
86 2 means that some files were modified. Thanks to Kenneth Porter
87 <shiva@well.com> for the suggestion.
3d78f5f2 88
d8574d45 894. Made (finally) quotes work in interactive restore.
386d48c0 90
a110deb5 915. Small fixes in order to allow dump to compile with a
d8574d45
SP
92 really old e2fsprogs version. Thanks to Ian Zimmerman
93 <itz@speakeasy.org> for the bug report.
a110deb5 94
c38e5b6a
SP
956. Add GNU readline capabilities to interactive restore.
96 Use configure's --enable-readline flag to enable this feature.
d8574d45
SP
97 Thanks to Patrik Schindler <poc@pocnet.net> for the
98 suggestion.
99
1007. Do the compare on the fly in restore 'C' mode (this will
101 allow not to exhaust the available /tmp space when
102 ccmparing large files). Thanks to Kenneth Porter
103 <shiva@well.com> for the suggestion.
c38e5b6a 104
107a347c
SP
105Changes between versions 0.4b15 and 0.4b16 (released March 11, 2000)
106====================================================================
d65ed175
SP
107
1081. Fixed some several duplicate 'DUMP: DUMP:' in the
109 output of dump.
d3393043 110
cbc94239
SP
1112. Corrected the estimation of blocks to dump. Note that
112 this is still wrong for large directory inodes, due
113 to the size of a BSD directory entry on the tape
114 (estimation is based on the size of the ext2 directory,
115 which is smaller because it doesn't contain the null
116 character at the end).
117
1183. Made dump report the total number of MB written to
119 tape at the end of run. Thanks to W. Reilly Cooley
120 <wcooley@nakedape.cc> for the patch.
121
08db2b86
SP
1224. Added the -X option to restore giving the possibility
123 to read the names of the files to be extracted/listed
1a05d45d
SP
124 from a text file (in addition of the command line).
125 Thanks to Dejan Muhamedagic <dejan@quant-x.com> for the
126 patch.
08db2b86 127
365a7c7c
SP
1285. Added the device name and the current volume number
129 as arguments to the end of tape script (dump -F option).
130
24ea1fb9
SP
1316. Made the multi-volume dump work again (after having
132 broken it in 0.4b15).
133
2f7e72ce
SP
134Changes between versions 0.4b14 and 0.4b15 (released March 2, 2000)
135===================================================================
d3393043
SP
136
1371. Added a prompt command in interactive restore mode. Thanks
138 to Andreas Dilger <adilger@home.com> for the patch.
d6f78b13 139
92a9bf12
SP
1402. Fixed a buffer overflow problem in dump (caused by
141 not checking the size of the filesystem parameter).
142 Thanks to Kim Yong-jun <loveyou@hackerslab.org> for
143 reporting this on Bugtraq (and to several dump users
144 who forwarded me his mail).
145
0d7af9c5
SP
1463. Added the '-F script' option to dump in order to
147 launch a script at the end of each tape (to be used
148 with a tape changer, or to notify the sysadmin by
149 pager etc.).
150
1514. Fixed a bug in restore compare code caused by the changes
152 I made in 0.4b14.
153
1545. Fixed the treatment of options using the old BSD syntax
155 in both dump and restore.
156
688653ea
SP
157Changes between versions 0.4b13 and 0.4b14 (released February 10, 2000)
158=======================================================================
d6f78b13
SP
159
1601. Fixed a bug in dump which may have caused invalid deleted
161 directories to be dumped out if they were deleted after the
162 mapping pass. This could occure on active filesystem and lead
163 to heap corruption (causing dump malfunction in many possible ways).
164 Thanks to Jan Sanislo <oystr@cs.washington.edu> for finding this
165 bug and submitting the patch.
ae58c8da 166
a2c9bd28
SP
1672. Fixed the handling of the filesystem parameter in dump. A
168 '/mnt/disk' parameter caused the disk contents to be dumped,
169 but a '/mnt/disk/' parameter caused the mountpoint directory
170 to be dumped (generally an empty directory).
171
1723. Improved the output of dump in order to tell which directory
173 it is currently dumping (when dumping a subtree).
174
20c345aa
SP
1754. Added the '-e' exclude inode option to dump. Thanks to
176 Isaac Chuang <ike@isl.stanford.edu> for contributing with the patch.
177
d8476fa5
SP
1785. Added a REPORTING-BUGS file in order to provide a guide
179 on how to correctly report a bug in dump/restore.
180
c60338a5
SP
1816. Fixed a restore problem when restoring a hard link to an inode
182 having the immutable or append-only attribute set. Thanks to
183 Ambrose Li <acli@mingpaoxpress.com> for submitting the patch.
184
8eb05297
SP
1857. Fixed a compatibility problem between dumps made on little
186 endian machines (the format was correct) and big endian
187 machines (the format was incorrect). This fix break the
188 compatibility with the older dumps made on big endian
189 machines (sparc, m86k, ppc etc). For the first time in
190 linux dump's history (I believe), the dumps made by *BSD,
191 Linux/alpha, Linux/sparc and Linux/x86 are compatible,
192 so interchangeable. Thanks to Rob Cermak
193 <cermak@ahab.rutgers.edu> for submitting the bug and
194 helping me test the fix.
195
1968. Fixed the way dump reports the remaining percent/time, if
197 the number of blocks actually dumped exceeds the estimated
198 number of blocks. Thanks to Jean-Paul van der Jagt
199 <jeanpaul@dutepp0.et.tudelft.nl> for reporting the bug.
200
d4b74b5c
SP
201Changes between versions 0.4b12 and 0.4b13 (released January 21, 2000)
202======================================================================
2f9a0c5c
SP
203
2041. Small Y2K fix in the man pages :). Thanks to Bernhard Sadlowski
205 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug.
206
6dda05e4
SP
2072. Removed the requirement to build the RPM as root from the
208 spec file. Thanks to Christian Weisgerber
209 <naddy@mips.rhein-neckar.de> for submitting this.
210
8d957ae7 2113. Fixed a bug in dump related to the 'filetype' feature of ext2fs,
f346e363
SP
212 causing dump to block when dumping really huge filesystems.
213 Many thanks to Patrik Schindler <poc@pocnet.net> for
214 helping me find this bug.
215
8d957ae7 2164. Fixed the treatment for an interrupt signal when dump access
b80c25f8
SP
217 the remote tape through RSH. Thanks to Christian Weisgerber
218 <naddy@mips.rhein-neckar.de> for providing the patch.
219
8d957ae7
SP
2205. Fixed a bug which was causing dump/restore to display
221 garbage characters instead of the remote host name.
222
2f9a0c5c 223Changes between versions 0.4b11 and 0.4b12 (released January 8, 2000)
df172bbb 224=====================================================================
ae58c8da
SP
225
2261. Small fix in the dump man page. Thanks to Thorsten Kukuk
227 <kukuk@suse.de> for submitting the patch.
2ed89fda 228
a29c23cc
SP
2292. Fix for the exit code when using the size estimate option of
230 dump. Thanks to Matti Taskinen <mkt@rni.helsinki.fi> for
231 submitting the patch.
232
2e682895
SP
2333. Handle EINTR in atomical reads/writes in dump, which was causing
234 dump to fail on some systems. Thanks to Eric Jergensen
235 <eric@dvns.com> for reporting the bug and submitting the patch.
236
2374. Handle more than 16 characters for the device names in dumpdates.
238 (up to 255 now). Thanks to Rainer Clasen <bj@ncc.cicely.de> for
239 tracking down the problem and proposing the solution.
240
2415. Fixed a bug in dump which prevented the creation of the
242 dumpdates file when doing a 0-level dump without already
243 having a dumpdates file. Thanks to Patrik Schindler
244 <poc@pocnet.net> for reporting the bug.
245
2466. Changed the way dump 'S' flag reports the size estimate
247 from number of blocks into bytes (making it compatible
248 with the Solaris version, and simplifying things for
249 amanda users). Thanks to Jason L Tibbitts III
250 <tibbs@math.uh.edu> for reporting the bug.
251
0d0bc326
SP
2527. Fixed a compatibility problem in linux/alpha dump tape format.
253 Now the linux/alpha dump are (again) compatible with the
254 other dump formats. But this breaks compatibility with
255 older dumps made on alpha. Thanks to Mike Tibor
256 <tibor@lib.uaa.alaska.edu> for helping me in finding this bug.
257
cf9aab8e 258Changes between versions 0.4b10 and 0.4b11 (released December 5, 1999)
2ed89fda
SP
259======================================================================
260
2611. Added a '--enable-kerberos' to configure.
5c1faba5 262
144a6db1 2632. Added a 'S' option to dump which determines the amount of space
5c729713 264 that is needed to perform the dump without actually doing it, similar
144a6db1
SP
265 to the Sun's ufsdump 'S' option. Patch contributed by Rob Cermak
266 <cermak@ahab.rutgers.edu>.
267
677ee424
SP
2683. Added a 'M' multi-volume option to dump and restore which enables
269 dumping to multiple files (useful when dumping to an ext2
270 partition to make several dump files in order to bypass the 2GB
271 file size limitation). The 'f' argument is treated as a prefix and
272 the output files will be named <prefix>001, <prefix>002 etc. With
273 the 'M' flag, restore automatically selects the right file without
274 asking to enter a new tape each time.
275
7fbb9b02 2764. Fixed a memory leak which was causing dump to grow very big
a29c23cc
SP
277 (270MB when dumping a 10GB filesystem...). Thanks to Jason
278 Fearon <jasonf@netrider.org.au> for reporting the bug.
7fbb9b02 279
27026010
SP
280Changes between versions 0.4b9 and 0.4b10 (released November 21, 1999)
281======================================================================
5c1faba5
SP
282
2831. Make configure test if the system glob routines support
284 extended syntax (ALTDIRFUNC). If not, use the internal glob
a95c4c36
SP
285 routines instead of system ones. Thanks to Bernhard Sadlowski
286 <sadlowsk@Mathematik.Uni-Bielefeld.DE> for reporting the bug
287 and helping me resolve this and other minor libc5 compiling
288 glitches.
08ebf8d7 289
c5886bd7
SP
2902. Fix a problem when dumping a ext2fs with the 'filetype'
291 feature enabled. Thanks to Patrick J. LoPresti
292 <patl@cag.lcs.mit.edu> for reporting the bug and to
293 Theodore Y. Ts'o <tytso@mit.edu> for providing the patch.
294
4267a8ad
SP
2953. Made the nodump flag work on directories. A directory which
296 has the nodump flag gets never dumped, regardless of its
297 contents.
298
c930abff
SP
2994. Integrate a patch from Jeremy Fitzhardinge <jeremy@goop.org>
300 which allows dump on an active ext3 filesystem. However, this
301 is a "quick and dirty" patch which enables backup of an ext3
302 filesystem through the ext2 compatibility (by ignoring the
303 NEEDS_RECOVERY bit). The journal file is not recognized and
304 it is dumped (it should not).
305
3065. Test the superblock compatibility flags when dumping, in order
307 to be sure that we know how to deal with specific features.
308
08ebf8d7
SP
309Changes between versions 0.4b8 and 0.4b9 (released November 5, 1999)
310====================================================================
311
3121. Use lchown instead of chown, fixing a possible security problem
313 when restoring symlinks (a malicious user could use this
314 to deliberately corrupt the ownership of important system files).
315 Thanks to Chris Siebenmann <cks@utcc.utoronto.ca> for detecting
316 this and providing the patch.
ec387a12 317
c154548c
SP
318Changes between versions 0.4b7 and 0.4b8 (released November 3, 1999)
319====================================================================
ec387a12 320
df9ae507
SP
3211. Put dump sources under CVS, added Id tags in all files so
322 one can use 'ident' on binary files.
323
3242. Added the dump/restore version in the usage text so one can
325 easily verify the version he is using.
ec387a12 326
3072400e
SP
3273. Small patch from Nuno Oliveira <nuno@eq.uc.pt> which fixes
328 a va_start/va_end problem on linux-ppc (always call va_start
329 va_end in pairs each time we use a vararg function).
330
fa58b58d
SP
3314. Added again the DT_* constants because old libc does not
332 contain them :(. Thanks to Eric Maisonobe <virnet@nat.fr>
333 for submitting the bug report.
334
f34aca37
SP
3355. Use ext2fs_llseek instead of llseek. With recent e2fsprogs
336 this should enable dumping big (huge) filesystems.
337
3386. Added the RSH environment variable in order to be able to
0c62667d
SP
339 use a rsh replacement like ssh when doing remote backups (and
340 bypass the security limitations of rcmd). Now you can do remote
341 backups without being root (or making dump setuid root).
342
f34aca37 3437. Modified again the way dumpdates works. For incremental dumps,
60f5ede9
SP
344 we need to read dumpdates even if we are not using 'u' option.
345 Thanks to Bdale Garbee <bdale@gag.com> for his ideas on how
346 this should work.
347
8d4197bb
SP
348Changes between versions 0.4b6 and 0.4b7 (released October 8, 1999)
349===================================================================
350
3511. Removed the 'k' flag from the restore 'about' text if kerberos
352 was not compiled in.
353
3542. Prototyped (f)setflags from e2fsprogs and corrected the calls
355 to them (fsetflags takes a char*, setflags an open fd!).
356
3573. (f)setflags is called only if the flags aren't empty. If the
358 file is a special file, a warning is printed, because changing
359 flags implies opening the device. Normally, a special file
360 should not have any flag... (Debian bug #29775, patch provided
361 by Abhijit Dasgupta <abhijit@ans.net>).
362
3634. Made possible to dump a file system not mentioned in /etc/fstab.
364 (Debian bug #11904, patch provided by Eirik Fuller <eirik@netcom.com>).
365
3665. Changed the default behaviour to not create dumpdates
367 unless 'u' option is specified. Removed the old "debian-patch"
368 which provided the same thing. (Debian bug #38136, #33818).
369
3706. Removed all those dump*announce, since they were getting old...
371
3727. Added warning messages if dumpdates does not exist and
373 when an inferior level dump does not exist (except for a level 0
374 dump).
375
3768. Debugged the glob calls in interactive mode: restore used a
377 dirent struct which was different from the /usr/include/dirent.h
378 one (this used to work, is it a glibc2 change?), so none of the
379 compat glob (which used /usr/include/dirent.h) or the system glob
380 worked. Restore use now the system dirent (and the system
381 DT_* constants), which are compatible with BSD ones.
382
3839. Added a configure flag (--with-dumpdatespath) to specify
384 the location of dumpdates file. By default, it is
385 /etc/dumpdates.
386
38710. Added the "AUTHOR" and "AVAILABILITY" sections and
388 included the current date/version in man pages.
389
39011. Corrected the estimation of remaining time when
391 the operator doesn't change the tapes quickly enough. This
392 was an old bug, I thought I corrected it, and discovered
393 that in fact it was corrected in two different places, so
394 the results canceled each other...
395
396Changes between versions 0.4b5 and 0.4b6 (released October 1, 1999)
397===================================================================
ddd2ef55
SP
398
3991. Integrated multiple patches from RedHat, Debian and SuSE:
400
401 - tweak dump/itime.c to not try to read dumpdates if the 'u' option
402 isn't specified.
403 - several fixes in the man pages.
404 - update the default tape device to /dev/st0.
405 - many updates for Linux Alpha (byte ordering, size_t etc).
406 - buffer overruns.
407 - use environment variable for TMPDIR (instead of /tmp).
408 - use sigjmp_buf instead of jmp_buf (RedHat bug #3260).
409 - workaround egcs bug (RedHat bugs #4281 and #2989).
410 - wire $(OPT) throughout Makefile's.
411
8d4197bb
SP
4122. Upgrade the dump revision to 1, making possible to dump filesystems
413 made with e2fsprogs-1.15 or newer. Nothing seems to break...
ddd2ef55 414
8d4197bb
SP
4153. Fix some compile warnings, prototype all functions.
416
4174. Use glibc err/glob instead of internal compatibility
ddd2ef55
SP
418 routines (only if available).
419
8d4197bb
SP
4205. Fix a compile error on Linux 2.2.7 / libc5 (5.4.44) (patch provided
421 by Bernhard Sadlowski <sadlowsk@mathematik.uni-bielefeld.de>).
422
423Changes between versions 0.4b4 and 0.4b5 (released September 22, 1999)
424======================================================================
b45f51d6
SP
425
4261. Integrated the changes from FreeBSD-3.1-RELEASE
427 (mostly bug fixes, buffer overruns, dump has now an "automatic
428 tape length calculation" flag, dump/restore can use kerberos now
429 (this is NOT tested), use environment variables for TAPE and
430 RMT etc.).
431
4322. Integrated three RedHat patches ("glibc", "kernel" and "bread" patches)
433
4343. Corrected a bug in restore when using 'C' option with multi-volumes
435 tapes (files splited accros two tapes give "size changed" errors
436 when comparing).
437
4384. Corrected the long standing bug when dumping multiple tapes.
439 This works for me, needs further testing.
1227625a 440
8d4197bb
SP
441Changes between versions 0.4b3 and 0.4b4 (released January 17, 1997)
442====================================================================
1227625a
SP
443
4441. Dump now runs correctly on kernels 2.1.x
445 Fix made by Gerald Peters <gapeters@worldnet.att.net>
446
447Changes between versions 0.4b2 and 0.4b3
448========================================
449
4501. Use realpath() if available
451
4522. Report statistics
453
454Changes between versions 0.4b1 and 0.4b2
455========================================
456
4571. Fixed the bug fix from Greg Lutz (I had made a mistake when integrating
458 the patch)
459
4602. Fixed restore to make it able to read FreeBSD 2.x dumps again
461
4623. Fixed configure.in to correctly handle --enable-rmt
463
464Changes between versions 0.3 and 0.4b1
465======================================
466
4671. Integrated the changes from 4.4BSD-Lite2
468
4692. Integrated the patches from Debian and Red Hat
470
4713. Portability changes: use the __u32, __u16, __s32, and __s16 types
472
4734. Changed dump to use the Ext2fs library to get block addresses. This
474 should solve the endianness problem on SparcLinux.
475
4765. Created a configure.in file (shamelessly stolen from the e2fsprogs
477 distribution's one) to use autoconf
478
4796. Fixed a few minor bugs
480
481Changes between versions 0.2e and 0.2f
482======================================
483
4841. Added the creation of named pipes (fifos) in restore.
485
4862. Added the -N flag in the restore manual page.
487
4883. Added the file kernel.patch which contains the llseek() optimization
489 patch for 1.2.x kernels.
490
4914. Fixed a bug in the restoration of symbolic links: owner and group were
492 not restored.
493
4945. Integrated some changes from FreeBSD 2.2.
495
4966. Added a call to ftruncate() after restoring each file to restore
497 correctly files ending by a hole.
498
499Changes between versions 0.2d and 0.2e
500======================================
501
5021. Fixed a bug in the "set owner/mode" process. Every file was restored
503 with owner = root (0) and group = root/wheel/whatever (0).
504
505Changes between versions 0.2c and 0.2d
506======================================
507
5081. Dump is now able to backup 2GB+ filesystems.
509
5102. Dump and restore can now be linked as static binaries.
511
512Changes between versions 0.2b and 0.2c
513======================================
514
5151. Fixed a bug when dumping ``slow'' (i.e. normal) symbolic links.
516
517Changes between versions 0.2a and 0.2b
518======================================
519
5201. Really fixed the bug that I should have corrected in 0.2a.
521
5222. Enabled optimization again.
523
524Changes between versions 0.2 and 0.2a
525=====================================
526
5271. Disabled the optimization during compilation.
528
529Changes between versions 0.1 and 0.2
530====================================
531
5321. Fixed a bug in fstab.c which caused a null pointer to be stored in
533 the fs_type field (actually, I modified the file fstab.c to make it
534 use the mntent functions).
535
5362. Dump and restore now use a 4.3 BSD compatible dump format. Backups
537 made by dump should be readable by the BSD restore and backups made
538 by the BSD dump should be readable by restore. Unfortunately, this
539 means that the dump format has changed between version 0.1 and version
540 0.2 :-(
541
5423. Dump is now able to backup a subtree, it is no longer limited to whole
543 filesystems like the BSD version.
544
5454. Dump now uses ext2_llseek() so it is able to backup filesystems bigger
546 than 2 GB.
547
548Changes between versions 0.0 and 0.1
549====================================
550
5511. Now create links rdump and rrestore during the `make install' step.
552
5532. Linux port specific bugs added to the manual pages
554
5553. Incorrect estimation of the number of tapes blocks fixed when doing
556 incremental backups.
557
5584. Better ls-like format in restore in interactive mode.