]> git.wh0rd.org - dump.git/blame_incremental - CHANGES
Fix restore of ACLs.
[dump.git] / CHANGES
... / ...
CommitLineData
1$Id: CHANGES,v 1.276 2005/06/08 09:34:33 stelian Exp $
2
3Changes between versions 0.4b40 and 0.4b41 (released ???????????)
4=================================================================
5
61. Fix restore of dumped Access Control Lists. The previous
7 code for EA works fine, but ACLs needed conversion from the
8 ext2/3 disk format to posix_acl format before restoring.
9
10Changes between versions 0.4b39 and 0.4b40 (released May 2, 2005)
11=================================================================
12
131. Changed restore to emit warnings (instead of emitting a fatal
14 error) if a file (or a directory) is unavailable for a
15 comparision (if the user doesn't have the necessary permissions
16 to access it for example). Thanks to Kenneth Porter
17 <shiva@sewingwitch.com> for the bug report.
18
192. Re-done the 'do not save directory entries to non-dumped inodes
20 (excluded from dump)' feature. The previous implementation
21 worked well for excluded directories but not for regular files.
22 Thanks to Kenneth Porter <shiva@sewingwitch.com> for the bug
23 report.
24
253. Fixed a bug in dump where the tape size was miscalculated when
26 the user used -d/-s to specify the tape characteristics. Thanks
27 to Philip Goisman <goisman@physics.arizona.edu> for reporting
28 the bug.
29
304. Fixed another bug introduced in restore with the hashtree
31 implementation. This one caused restore to stop saying
32 "removenode: non-empty directory" in some cases.
33
345. Added support for dumping and restoring ext2/3 extended
35 attributes (EA), like the access control lists (ACL) or
36 the security labels used by SELinux.
37
38Changes between versions 0.4b38 and 0.4b39 (released January 21, 2005)
39======================================================================
40
411. The newly added dump_on_cd_3 example was buggy, replace it
42 with an updated version from Andrew Basterfield
43 <bob@cemetery.homeunix.org>.
44
452. Made restore to chdir() back into the initial directory when
46 dumping core while aborting a comparision operation. The
47 previous behaviour was to write the corefile at the root of
48 the directory being compared, which could very well be
49 read only and preventing the corefile generation. Thanks
50 to Kenneth Porter <shiva@sewingwitch.com> for the bug report.
51
523. Silenced the failure to call fgetflags() when comparing an
53 entry which has no ext2 attributes (as in lsattr()).
54
554. Fix a brown paper bug in restore -C which broke restore and
56 caused modifications on the filesystem being compared
57 (directories containing a file with the same name as the
58 directory get renamed to RSTTMP...). Thanks to Kenneth Porter
59 <shiva@sewingwitch.com> for finding the bug and helping me
60 reproduce it.
61
625. Made restore -C force the -N flag (no writing allowed on
63 the disk) in order to prevent more bugs like the above one.
64
65Changes between versions 0.4b37 and 0.4b38 (released January 7, 2005)
66=====================================================================
67
681. Fix a couple of troff syntax bugs in the man pages.
69 Thanks to Eric Raymond <esr@thyrsus.com> for the patch.
70
712. Made restore use either libncurses or libtermcap, depending
72 on which one is available at configure time.
73
743. Fixed restore negative size display bug when comparing a
75 dump containing files over 2GB. Thanks to Steve Bonds
76 <sbonds@users.sourceforge.net> for the bug report.
77
784. Do not save directory entries to non-dumped inodes
79 (excluded from dump). This will eliminate the 'missing
80 file' warnings when doing 'restore -C'.
81
825. Fix dump crash when backuping a huge (2TB) filesystem,
83 due to a bogus calculation on the inode map size.
84 Thanks to Kevin B. Haines <K.B.Haines@rl.ac.uk> for
85 submitting the bug and testing the fix.
86
876. Fix a problem in restore where the final \0 in the symbolic
88 link names could have been lost, generating corrupt filenames.
89 Thanks to Kyle Wilson <kyle.wilson@amd.com> for reporting the
90 bug.
91
927. Implemented a hash list for the directory names in restore.
93 The linear list used before caused problems in interactive
94 restores when dealing with directories having thousands of
95 entries. Thanks to Brian Ristuccia <bristuccia@starentnetworks.com>
96 for reporting the bug.
97
988. Improved restore -C, this time including the directory
99 attributes into the comparision.
100
1019. Made restore understand tapes containing EA/ACLs (which will
102 be dumped by the next version of dump). In this version
103 extended attributes on the tape are ignored, for full EA/ACL
104 support wait for the next version or try the experimental EA
105 patch.
106
107Changes between versions 0.4b36 and 0.4b37 (released July 7, 2004)
108==================================================================
109
1101. Added the --enable-staticz configure option which enables
111 dump and restore to be linked with static versions of
112 libz and libbz2 (and dynamic versions of all other libraries).
113 This will make Debian users happy, because libz and libbz2
114 were the only needed libraries living in /usr, all the
115 others live in /lib. In case of system emergency, it is
116 better not to have to rely on an extra filesystem.
117 Thanks to Bdale Garbee <bdale@gag.com> for the suggestion.
118
1192. Fix compilation on (at least the Linux Debian port to) AMD64.
120 (<ext2fs/ext2_types.h> defines some types (__s64 and __u64)
121 that are also defined by <linux/types.h> (<asm/types.h>) and
122 they conflict).
123
1243. Make dump's reading of the dumpdates file a bit more robust,
125 preventing dump from crashing when the dumpdates file has
126 been modified by hand.
127
1284. Fixed some offset calculations in dump code which could
129 lead to "bread lseek errors" on large filesystems. Thanks
130 to Bruce Lowekamp <lowekamp@users.sourceforge.net> for
131 reporting this bug and debugging the issue.
132
1335. Made dump use the blkid library when searching for devices
134 by label or uuid instead of dump's own routines.
135
1366. Corrected a bug in dump where a wrong LABEL=... line in
137 /etc/fstab could prevent dump from dumping unrelated
138 filesystems. Thanks to Bruce Lowekamp
139 <lowekamp@users.sourceforge.net> for reporting the bug.
140
141Changes between versions 0.4b35 and 0.4b36 (released April 21, 2004)
142====================================================================
143
1441. Fixed dump compilation with old gcc versions. Thanks to
145 Mike Castle <dalgoda@users.sourceforge.net> for the patch.
146
1472. Fixed some warnings (howmany, roundup, powerof2 redefined)
148 when compiling against a recent glibc version.
149
1503. Fixed a bug in restore preventing the read of a dump tape
151 written with Solaris 7 ufsdump. Thanks to Patrick Higgins
152 <phiggins@transzap.com> for reporting the bug and providing
153 the test case.
154
1554. Changed dump to enable the creation of volumes of different
156 sizes in a single run (make -B accept a list of values).
157 Patch contributed by Florian Zumbiehl <florz@gmx.de>.
158
1595. Use the glibc provided minor() and major() macros instead
160 of our own bitmask implementation. This should be safe for
161 when the major/minor namespace will migrate to 32 bits.
162 Thanks to Zhang Jun <zhangjun@nanjing-fnst.com> for reporting
163 the bug.
164
1656. Made explicit in the dump man page that dump will not create
166 a remote file, it will only write to an already existing one.
167
1687. Another try at making size estimates better again.
169
1708. Put back the inconditional running of the end-of-tape
171 script which was changed in 0.434 to be run only when -M
172 or multiple -f were NOT specified. Some users rely on this
173 feature even when it is combined with -M/-f.
174
1759. Fixed restore when restoring huge backups (where rstdir...
176 temporary files are over 2GB). Thanks to
177 Raphael Jaffey <rjaffey@artic.edu> for reporting this,
178 debugging the issue and making the patch.
179
18010. Made restore understand FreeBSD UFS2 tapes. Thanks to
181 David <vrtin@users.sourceforge.net> for submitting the bug
182 and providing a test case.
183
18411. Made dump work with an arbitrary integer level (no more 10
185 levels only limitation). Thanks to Matthew
186 <msvincen@midway.uchicago.edu> for the patch.
187
188Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
189=======================================================================
190
1911. Added a note in the dump man page saying that the default
192 blocksize can be 32 if -d is used with a high density argument.
193 Thanks to Antonios Christofides <A.Christofides@itia.ntua.gr>
194 for the patch.
195
1962. Fixed configure to correctly understand CPPFLAGS, CFLAGS,
197 LDFLAGS environment variables. Thanks to Arcady Genkin
198 <antipode@users.sourceforge.net> for reporting the bug.
199
2003. Made -e/-E options of dump accept an unlimited number of inodes
201 to be excluded, rather than a hardcoded maximum. Thanks to
202 Dietrich Rothe <d-rothe@users.sourceforge.net> for the patch.
203
2044. Updated the autoconf system to 2.50. Forced the -D_BSD_SOURCE
205 and -D_USE_BSD_SIGNAL defines in configure in order to solve
206 64bit build problems because quad_t is redifined with a
207 different signature. Thanks to Mike Harris <mharris@redhat.com>
208 for reporting this bug.
209
2105. Made restore build on Solaris, making possible to
211 restore Linux's "enhanced" tapes. Thanks to Uwe Gohlke
212 <uwe@ugsoft.de> for the patch.
213
2146. Made an extension in the dump tape format capable of saving
215 MacOSX specific inode extensions. Uwe Gohlke <uwe@ugsoft.de>
216 wrote the extension and contributed the restore code back
217 into this codebase. The same extension mechanism will be
218 used in the future to save ACLs...
219
2207. Made rmt work correctly with regard to QFA and local/remote
221 files and tapes. The remote access will however work only
222 when the dump provided rmt version is used. If you want to
223 use another rmt server, please do not use the QFA feature.
224 Thanks to Uwe Gohlke <uwe@ugsoft.de> for the patch.
225
226Changes between versions 0.4b33 and 0.4b34 (released April 18, 2003)
227====================================================================
228
2291. Fixed the INSTALL file to reflect the actual install paths.
230 Thanks to David Ronis <ronis@ronispc.chem.mcgill.ca> for
231 reporting the bug.
232
2332. Fixed the configure script to only check for headers presence
234 instead of trying to compile them. This should fix issues
235 with old build environments. Thanks to Kari Lempiainen
236 <kari@funky.pp.fi> for reporting the bug.
237
2383. Fixed restore to correctly ignore sockets when comparing
239 a dump (as socket cannot be properly restored anyway). Thanks
240 to Gunther Reiszig <gunther@mit.edu> for reporting the bug.
241
2424. Fixed restore to correctly access the archive file (-A argument)
243 even when using a remote tape. Thanks to Fabrice Bellet
244 <fabrice@bellet.info> for reporting the bug.
245
2465. Fixed (again) handling of long (largefile) seeks in rmt.
247 Thanks to Fabrice Bellet <fabrice@bellet.info> for reporting
248 the bug.
249
2506. Fixed restore corner case when dealing with large block sizes
251 dump is able to write now (-b 1024). Thanks to Fabrice Bellet
252 <fabrice@bellet.info> for reporting the bug.
253
2547. Fixed a bug preventing dump to access a filesystem having
255 a label exactly 16 bytes in length. Thanks to <minduni@ti-edu.ch>
256 for reporting the bug.
257
2588. Made dump store dump dates using explicit timezones, fixing a
259 problem with incremental dumps if the timezone is modified
260 between the dumps. Thanks to Philippe Troin <phil@fifi.org> for
261 the bug report and the patch.
262
2639. Fixed a bug encountered when dumping individual files (not full
264 filesystems or directories) and dangling symbolic links happen
265 to be in the list of files. For as far as dump is concerned,
266 dangling symbolic links are allowed, and are dumped as is.
267 Thanks to Jin-su Ahn <jsahn@ee.snu.ac.kr> for reporting the
268 bug and providing the fix.
269
27010. Fixed open and creation modes and permissions for QFA and
271 table-of-contents files in dump and restore. Thanks to
272 Philippe Troin <phil@fifi.org> for the patch.
273
27411. Fixed the archive file descriptor handling enabling it to be 0.
275 This can happen in some cases when shell redirections are used.
276 Thanks to Philippe Troin <phil@fifi.org> for the patch.
277
27812. Delayed the opening of archive file until after suid had been
279 dropped (fixing a possible security issue if dump is suid).
280 Thanks to Philippe Troin <phil@fifi.org> for the patch.
281
28213. Fixed the 'S' command handling in the rmt client part.
283 Thanks to Philippe Troin <phil@fifi.org> for the patch.
284
28514. Modified the end-of-tape script handling to print out statistics
286 (and stop the timer) before launching the eot script. Also, the eot
287 script does not get run anymore when using -M (which makes sense) or
288 when multiple tapes are listed on the command line
289 (-f tape0,tape1,tapen) (which also makes sense).
290 Thanks to Philippe Troin <phil@fifi.org> for the patch.
291
29215. Relicensed dump/restore under the 'revised' BSD license, as per
293 ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change.
294
29516. Added LZO compression to dump. This new compression method has
296 the advantage of being super fast, thus not killing tape streaming
297 on slow machines. Thanks to Helmut Jarausch
298 <jarausch@igpm.rwth-aachen.de> for the patch and to
299 Markus Oberhumer <markus@oberhumer.com> for giving special permission
300 to include his miniLZO project (GPL licensed) in dump/restore.
301
30217. Some small buffer overruns fixes in rmt. Thanks to Antonomasia
303 <ant@notatla.demon.co.uk> for reporting the bugs.
304
30518. Added a special rmt version which can do encryption when writing
306 to tape. Read examples/encrypted_rmt/README for details on
307 how to enable and configure it. Thanks to Ken Lalonde
308 <ken@globalremit.com> for the patch.
309
31019. Made dump work with 2.5 kernel end of tape early warning semantics.
311 Thanks to Kai Makisara <Kai.Makisara@kolumbus.fi> for the patch.
312
31320. Fixed a bug which caused dump -w|-W not to work anymore, because
314 the fs_freq and fs_passno fields in /etc/mtab are always set
315 to 0 0. Thanks to Trent Piepho <xyzzy@speakeasy.org> for
316 reporting the bug.
317
318Changes between versions 0.4b32 and 0.4b33 (released February 10, 2003)
319=======================================================================
320
3211. Added a note in the restore man page clarifying the question
322 'set the permissions on the current directory ?' asked by
323 restore at the end of treatment in -i and -x modes.
324
3252. Fixed the endianess issues when reading compressed tapes.
326 Thanks to Dark Force <daq4th@users.sourceforge.net> for
327 reporting this bug and providing test cases.
328
3293. Fixed the "ACL won't be dumped" warning message (which showed
330 an extra, unrelated error message). Thanks to Dragan Krnic
331 <dkrnic@lycos.com> for reporting this bug.
332
3334. Made dump look first into /etc/mtab, then into /etc/fstab
334 when searching for filesystem paths. Also fixed some problems
335 caused by binding mounts or multiple block device mounts.
336 Thanks to Matus Uhlar <uhlar@fantomas.sk>, Elliott Mitchell
337 <ehem@m5p.com>, Greg Edwards <gedwards@users.sourceforge.net>,
338 Brian Hoy <brian.hoy@opus.co.nz>. (fixes Debian bugs #147086
339 and #160305, Sourceforge bugs #618699 and #679832).
340
3415. Made dump's -I option accept the value '0' meaning all the
342 read errors will be ignored. This can be useful when running
343 dump from unattended sessions (like cron jobs). Thanks to
344 John I Wang <jiwang@users.sourceforge.net> for the suggestion.
345
3466. Fixed the output of dump to indicate 'blocks' instead of
347 'tape blocks' in the various messages (blocks are always
348 1 Kilobyte, tape blocks are 1 BK * '-b' argument), and
349 made it clearly print the current blocksize at the start of
350 a dump. Thanks to Michal Szymanski <msz@astrouw.edu.pl> for
351 the suggestions.
352
3537. Made rmt understand long (largefiles) seeks.
354
3558. Fixed build with very old versions of libext2fs, where
356 EXT2_FT_* constants were undefined.
357
3589. Made dump accept the dumpdates path on the command line
359 (-D file option) instead of using only the hardcoded one.
360 Thanks to Piete Brooks <pb22@users.sourceforge.net> for the
361 suggestion.
362
36310. Enabled rmt, LFS, readline, QFA options by default in
364 ./configure. Updated the configure process (new versions
365 of config.guess, config.sub etc).
366
367Changes between versions 0.4b31 and 0.4b32 (released November 15, 2002)
368=======================================================================
369
3701. Changed dump to use fcntl(F_SETLK) style locking instead
371 of flock() when locking the dumpdates file. With the old
372 locking scheme, a local user having read rights on the
373 dumpdates file could be able to do a Denial of Service attack
374 on dump. In order to lock the dumpdates file with the new
375 scheme, the user would need to have write access on the file.
376 Thanks to Richard Johnson <Richard.Johnson3@ey.com> for
377 reporting the bug (originally a bugtraq post).
378
3792. Fixed interactive 'ls' which caused spurious errors warnings
380 about 'undefined filetypes' detected. Thanks to Jorgen Ostling
381 <jorgen_ostling@users.sourceforge.net> for reporting this
382 bug.
383
3843. Fixed dump's estimate when dealing with sparse inodes.
385
3864. Modified dump to allow setting a blocksize bigger than 32kB
387 (raised the limit to 1024kB), because newer hardware needs
388 this for proper operation. Thanks to Dirk Traenapp
389 <dtraenapp@users.sourceforge.net> for reporting this.
390
3915. Fixed a bug causing Dump to stop and report an error if an
392 inode number in the exclude file was followed by some amount
393 of whitespace. Thanks to Jeffrey Sofferin
394 <sofferin@users.sourceforge.net> for reporting this bug.
395
3966. Fixed a bug which caused restore, in some particular cases,
397 to ask some 'scary' questions and leave a bunch of RSTTMP
398 directories behind when restoring incremental tapes. Thanks
399 to Philippe Troin <phil@fifi.org> for reporting this bug and
400 providing the test cases.
401
4027. Changed the wording when inodes are excluded from dump:
403 replaced 'Added inode 7 to exclude list' with
404 'Excluding inode 7 (resize inode) from dump', as suggested
405 by Elliott Mitchell <ehem@m5p.com> in a Debian bug report.
406
407Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
408===================================================================
409
4101. Fixed rmt open flags transmission (GNU's symbolic syntax over
411 rmt) which I broke in 0.4b29. Thanks to Eros Albertazzi
412 <eros@lamel.bo.cnr.it> for reporting the bug.
413
414Changes between versions 0.4b29 and 0.4b30 (released July 25, 2002)
415===================================================================
416
4171. Made dump print out the ext2 logical block number in case of a read
418 error, which can be given as an argument to debugfs' ncheck command,
419 in order to find out the affected inode. Added note about this
420 usage in dump's man page.
421
4222. Fixed a problem in restore when reading tapes written on big
423 endian machines with very old versions of dump. The patch was
424 contributed by George Helffrich <george@geology.bristol.ac.uk>.
425
4263. Fixed the tape length calculation when using large tapes
427 and compression. Thanks to Georg Lippold
428 <g_lippold@sourceforge.net> for reporting the bug.
429
4304. Added a new set of examples in dump_on_cd_2 directory, based
431 on dump_on_cd examples but somewhat enhanced, supporting DVD
432 media, and localized in english and german. Thanks to
433 Georg Lippold <g_lippold@sourceforge.net> for the new scripts.
434
4355. Made dump save 32 bit UID/GID. Internally, this was achieved
436 by switching from the old BSD inode format to the new BSD
437 inode format, which means that the tape format was changed.
438 However, since all restore versions out there should
439 transparently support both inode formats, the change should
440 have no side effects. Thanks to John Yu <jky@cs.bu.edu> for
441 reporting the bug.
442
4436. Fixed a lot of warnings in the code shown when compiling
444 with 'gcc -W'. Thanks to Matthias Andree
445 <matthias.andree@stud.uni-dortmund.de> for reporting this.
446
4477. Fixed a small markup bug in the dump man page. Thanks to
448 Eric S. Raymond <esr@minx.thyrsus.com> for submitting the
449 patch.
450
4518. Rewrote entirely the man pages using the tmac.an macro
452 package (Linux man page format) instead of the original BSD
453 format. They should be now cleaner and easier to modify.
454
455Changes between versions 0.4b28 and 0.4b29 (released June 8, 2002)
456==================================================================
457
4581. Fixed a problem in the rmt ioctl command, where ioctl's issued from
459 non Linux clients were misinterpreted. The description of the problem
460 (incompatible numbering in Linux mtio opcodes) is documented at
461 ftp://ftp.fokus.gmd.de/pub/unix/star/README.mtio . Thanks to
462