Annotation of embedaddon/rsync/OLDNEWS, revision 1.1.1.2
1.1.1.2 ! misho 1: NEWS for rsync 3.0.9 (23 Sep 2011)
! 2: Protocol: 30 (unchanged)
! 3: Changes since 3.0.8:
! 4:
! 5: BUG FIXES:
! 6:
! 7: - Fix a crash bug in checksum scanning when --inplace is used.
! 8:
! 9: - Fix a hang if a hard-linked file cannot be opened by the sender (e.g.
! 10: if it has no read permission).
! 11:
! 12: - Fix preservation of a symlink's system xattrs (e.g. selinux) on Linux.
! 13:
! 14: - Fix a memory leak in the xattr code.
! 15:
! 16: - Fixed a bug with --delete-excluded when a filter merge file has a rule
! 17: that specifies a receiver-only side restriction.
! 18:
! 19: - Fix a bug with the modifying of unwritable directories.
! 20:
! 21: - Fix --fake-super's interaction with --link-dest same-file comparisons.
! 22:
! 23: - Fix the updating of the curr_dir buffer to avoid a duplicate slash.
! 24:
! 25: - Fix the directory permissions on an implied dot-dir when using --relative
! 26: (e.g. /outside/path/././send/path).
! 27:
! 28: - Fixed some too-long sleeping instances when using --bwlimit.
! 29:
! 30: - Fixed when symlink ownership difference-checking gets compiled into
! 31: unchanged_attrs().
! 32:
! 33: - Improved the socket-error reporting when multiple protocols fail.
! 34:
! 35: - Fixed a case where a socket error could reference just-freed memory.
! 36:
! 37: - Failing to use a password file that was specified on the command-line is
! 38: now a fatal error.
! 39:
! 40: - Fix the non-root updating of directories that don't have the read and/or
! 41: execute permission.
! 42:
! 43: - Make daemon-excluded file errors more error-like.
! 44:
! 45: - Fix a compilation issue on older C compilers (due to a misplaced var
! 46: declaration).
! 47:
! 48: - Make configure avoid finding socketpair on cygwin.
! 49:
! 50: - Avoid trying to reference SO_BROADCAST if the OS doesn't support it.
! 51:
! 52: - Fix some issues with the post-processing of the man pages.
! 53:
! 54: - Fixed the user home-dir handling in the support/lsh script.
! 55:
! 56: - Some minor manpage improvements.
! 57:
1.1 misho 58: NEWS for rsync 3.0.8 (26 Mar 2011)
59: Protocol: 30 (unchanged)
60: Changes since 3.0.7:
61:
62: BUG FIXES:
63:
64: - Fixed two buffer-overflow issues: one where a directory path that is
65: exactly MAXPATHLEN was not handled correctly, and one handling a
66: --backup-dir that is extra extra large.
67:
68: - Fixed a data-corruption issue when preserving hard-links without
69: preserving file ownership, and doing deletions either before or during
70: the transfer (CVE-2011-1097). This fixes some assert errors in the
71: hard-linking code, and some potential failed checksums (via -c) that
72: should have matched.
73:
74: - Fixed a potential crash when an rsync daemon has a filter/exclude list
75: and the transfer is using ACLs or xattrs.
76:
77: - Fixed a hang if a really large file is being processed by an rsync that
78: can't handle 64-bit numbers. Rsync will now complain about the file
79: being too big and skip it.
80:
81: - For devices and special files, we now avoid gathering useless ACL and/or
82: xattr information for files that aren't being copied. (The un-copied
83: files are still put into the file list, but there's no need to gather
84: data that is not going to be used.) This ensures that if the user uses
85: --no-D, that rsync can't possibly complain about being unable to gather
86: extended information from special files that are in the file list (but
87: not in the transfer).
88:
89: - Properly handle requesting remote filenames that start with a dash. This
90: avoids a potential error where a filename could be interpreted as a
91: (usually invalid) option.
92:
93: - Fixed a bug in the comparing of upper-case letters in file suffixes for
94: --skip-compress.
95:
96: - If an rsync daemon has a module configured without a path setting, rsync
97: will now disallow access to that module.
98:
99: - If the destination arg is an empty string, it will be treated as a
100: reference to the current directory (as 2.x used to do).
101:
102: - If rsync was compiled with a newer time-setting function (such as
103: lutimes), rsync will fall-back to an older function (such as utimes) on a
104: system where the newer function is not around. This helps to make the
105: rsync binary more portable in mixed-OS-release situations.
106:
107: - Fixed a batch-file writing bug that would not write out the full set of
108: compatibility flags that the transfer was using. This fixes a potential
109: protocol problem for a batch file that contains a sender-side I/O error:
110: it would have been sent in a way that the batch-reader wasn't expecting.
111:
112: - Some improvements to the hard-linking code to ensure that device-number
113: hashing is working right, and to supply more information if the hard-link
114: code fails.
115:
116: - The --inplace code was improved to not search for an impossible checksum
117: position. The quadruple-verbose chunk[N] message will now mention when
118: an inplace chunk was handled by a seek rather than a read+write.
119:
120: - Improved ACL mask handling, e.g. for Solaris.
121:
122: - Fixed a bug that prevented --numeric-ids from disabling the translation
123: of user/group IDs for ACLs.
124:
125: - Fixed an issue where an xattr and/or ACL transfer that used an alt-dest
126: option (e.g. --link-dest) could output an error trying to itemize the
127: changes against the alt-dest directory's xattr/ACL info but was instead
128: trying to access the not-yet-existing new destination directory.
129:
130: - Improved xattr system-error messages to mention the full path to the
131: file.
132:
133: - The --link-dest checking for identical symlinks now avoids considering
134: attribute differences that cannot be changed on the receiver.
135:
136: - Avoid trying to read/write xattrs on certain file types for certain OSes.
137: Improved configure to set NO_SYMLINK_XATTRS, NO_DEVICE_XATTRS, and/or
138: NO_SPECIAL_XATTRS defines in config.h.
139:
140: - Improved the unsafe-symlink errors messages.
141:
142: - Fixed a bug setting xattrs on new files that aren't user writable.
143:
144: - Avoid re-setting xattrs on a hard-linked file w/the same xattrs.
145:
146: - Fixed a bug with --fake-super when copying files and dirs that aren't
147: user writable.
148:
149: - Fixed a bug where a sparse file could have its last sparse block turned
150: into a real block when rsync sets the file size (requires ftruncate).
151:
152: - If a temp-file name is too long, rsync now avoids truncating the name in
153: the middle of adjacent high-bit characters. This prevents a potential
154: filename error if the filesystem doesn't allow a name to contain an
155: invalid multi-byte sequence.
156:
157: - If a muli-protocol socket connection fails (i.e., when contacting a
158: daemon), we now report all the failures, not just the last one. This
159: avoids losing a relevant error (e.g. an IPv4 connection-refused error)
160: that happened before the final error (e.g. an IPv6 protocol-not-supported
161: error).
162:
163: - Generate a transfer error if we try to call chown with a -1 for a uid or
164: a gid (which is not settable).
165:
166: - Fixed the working of --force when used with --one-file-system.
167:
168: - Fix the popt arg parsing so that an option that doesn't take an arg will
169: reject an attempt to supply one (can configure --with-included-popt if
170: your system's popt library doesn't yet have this fix).
171:
172: - A couple minor option tweaks to the support/rrsync script, and also some
173: regex changes that make vim highlighting happier.
174:
175: - Fixed some issues in the support/mnt-excl script.
176:
177: - Various manpage improvements.
178:
179: ENHANCEMENTS:
180:
181: - Added ".hg/" to the default cvs excludes (see -C & --cvs-exclude).
182:
183: DEVELOPER RELATED:
184:
185: - Use lchmod() whenever it is available (not just on symlinks).
186:
187: - A couple fixes to the socketpair_tcp() routine.
188:
189: - Updated the helper scripts in the packaging subdirectory.
190:
191: - Renamed configure.in to configure.ac.
192:
193: - Fixed configure's checking for iconv routines for newer OS X versions.
194:
195: - Fixed the testsuite/xattrs.test script on OS X.
196:
197: NEWS for rsync 3.0.7 (31 Dec 2009)
198: Protocol: 30 (unchanged)
199: Changes since 3.0.6:
200:
201: BUG FIXES:
202:
203: - Fixed a bogus free when using --xattrs with --backup.
204:
205: - Avoid an error when --dry-run was trying to stat a prior hard-link file
206: that hasn't really been created.
207:
208: - Fixed a problem with --compress (-z) where the receiving side could
209: return the error "inflate (token) returned -5".
210:
211: - Fixed a bug where --delete-during could delete in a directory before it
212: noticed that the sending side sent an I/O error for that directory (both
213: sides of the transfer must be at least 3.0.7).
214:
215: - Improved --skip-compress's error handling of bad character-sets and got
216: rid of a lingering debug fprintf().
217:
218: - Fixed the daemon's conveyance of io_error value from the sender.
219:
220: - An rsync daemon use seteuid() (when available) if it used setuid().
221:
222: - Get the permissions right on a --fake-super transferred directory that
223: needs more owner permissions to emulate root behavior.
224:
225: - An absolute-path filter rule (i.e. with a '/' modifier) no longer loses
226: its modifier when sending the filter rules to the remote rsync.
227:
228: - Improved the "--delete does not work without -r or -d" message.
229:
230: - Improved rsync's handling of --timeout to avoid a weird timeout case
231: where the sender could timeout even though it has recently written data
232: to the socket (but hasn't read data recently, due to the writing).
233:
234: - Some misc manpage improvements.
235:
236: - Fixed the chmod-temp-dir testsuite on a system without /var/tmp.
237:
238: - Make sure that a timeout specified in the daemon's config is used as a
239: maximum timeout value when the user also specifies a timeout.
240:
241: - Improved the error-exit reporting when rsync gets an error trying to
242: cleanup after an error: the initial error is reported.
243:
244: - Improved configure's detection of IPv6 for solaris and cygwin.
245:
246: - The AIX sysacls routines will now return ENOSYS if ENOTSUP is missing.
247:
248: - Made our (only used if missing) getaddrinfo() routine use inet_pton()
249: (which we also provide) instead of inet_aton().
250:
251: - The exit-related debug messages now mention the program's role so it is
252: clear who output what message.
253:
254: DEVELOPER RELATED:
255:
256: - Got rid of type-punned compiler warnings output by newer gcc versions.
257:
258: - The Makefile now ensures that proto.h will be rebuilt if config.h changes.
259:
260: - The testsuite no longer uses "id -u", so it works better on solaris.
261:
262:
263: NEWS for rsync 3.0.6 (8 May 2009)
264: Protocol: 30 (unchanged)
265: Changes since 3.0.5:
266:
267: BUG FIXES:
268:
269: - Fixed a --read-batch hang when rsync is reading a batch file that was
270: created from an incremental-recursion transfer.
271:
272: - Fixed the daemon's socket code to handle the simultaneous arrival of
273: multiple connections.
274:
275: - Fix --safe-links/--copy-unsafe-links to properly handle symlinks that
276: have consecutive slashes in the value.
277:
278: - Fixed the parsing of an [IPv6_LITERAL_ADDR] when a USER@ is prefixed.
279:
280: - The sender now skips a (bogus) symlink that has a 0-length value, which
281: avoids a transfer error in the receiver.
282:
283: - Fixed a case where the sender could die with a tag-0 error if there was
284: an I/O during the sending of the file list.
285:
286: - Fixed the rrsync script to avoid a server-side problem when -e is at the
287: start of the short options.
288:
289: - Fixed a problem where a vanished directory could turn into an exit code
290: 23 instead of the proper exit code 24.
291:
292: - Fixed the --iconv conversion of symlinks when doing a local copy.
293:
294: - Fixed a problem where --one-file-system was not stopping deletions on the
295: receiving side when a mount-point directory did not match a directory in
296: the transfer.
297:
298: - Fixed the dropping of an ACL mask when no named ACL values were present.
299:
300: - Fixed an ACL/xattr corruption issue where the --backup option could cause
301: rsync to associate the wrong ACL/xattr information with received files.
302:
303: - Fixed the use of --xattrs with --only-write-batch.
304:
305: - Fixed the use of --dry-run with --read-batch.
306:
307: - Fixed configure's erroneous use of target.
308:
309: - Fixed configure's --disable-debug option.
310:
311: - Fixed a run-time issue for systems that can't find iconv_open() by adding
312: the --disable-iconv-open configure option.
313:
314: - Complain and die if the user tries to combine --remove-source-files (or
315: the deprecated --remove-sent-files) with --read-batch.
316:
317: - Fixed an failure transferring special files from Solaris to Linux.
318:
319:
320: NEWS for rsync 3.0.5 (28 Dec 2008)
321: Protocol: 30 (unchanged)
322: Changes since 3.0.4:
323:
324: BUG FIXES:
325:
326: - Initialize xattr data in a couple spots in the hlink code, which avoids a
327: crash when the xattr pointer's memory happens to start out non-zero.
328: Also fixed the itemizing of an alt-dest file's xattrs when hard-linking.
329:
330: - Don't send a bogus "-" option to an older server if there were no short
331: options specified.
332:
333: - Fixed skipping of unneeded updates in a batch file when incremental
334: recursion is active. Added a test for this. Made batch-mode handle
335: "redo" files properly (and without hanging).
336:
337: - Fix the %P logfile escape when the daemon logs from inside a chroot.
338:
339: - Fixed the use of -s (--protect-args) when used with a remote source or
340: destination that had an empty path (e.g. "host:"). Also fixed a problem
341: when -s was used when accessing a daemon via a remote-shell.
342:
343: - Fixed the use of a dot-dir path (e.g. foo/./bar) inside a --files-from
344: file when the root of the transfer isn't the current directory.
345:
346: - Fixed a bug with "-K --delete" removing symlinks to directories when
347: incremental recursion is active.
348:
349: - Fixed a hard to trigger hang when using --remove-source-files.
350:
351: - Got rid of an annoying delay when accessing a daemon via a remote-shell.
352:
353: - Properly ignore (superfluous) source args on a --read-batch command.
354:
355: - Improved the manpage's description of the '*' wildcard to remove the
356: confusing "non-empty" qualifier.
357:
358: - Fixed reverse lookups in the compatibility-library version of
359: getnameinfo().
360:
361: - Fixed a bug when using --sparse on a sparse file that has over 2GB of
362: consecutive sparse data.
363:
364: - Avoid a hang when using at least 3 --verbose options on a transfer with a
365: client sender (which includes local copying).
366:
367: - Fixed a problem with --delete-delay reporting an error when it was ready
368: to remove a directory that was now gone.
369:
370: - Got rid of a bunch of "warn_unused_result" compiler warnings.
371:
372: - If an ftruncate() on a received file fails, it now causes a partial-
373: transfer warning.
374:
375: - Allow a path with a leading "//" to be preserved (CYGWIN only).
376:
377: ENHANCEMENTS:
378:
379: - Made the support/atomic-rsync script able to perform a fully atomic
380: update of the copied hierarchy when the destination is setup using a
381: particular symlink idiom.
382:
383:
384: NEWS for rsync 3.0.4 (6 Sep 2008)
385: Protocol: 30 (unchanged)
386: Changes since 3.0.3:
387:
388: BUG FIXES:
389:
390: - Fixed a bug in the hard-linking code where it would sometimes try to
391: allocate 0 bytes of memory (which fails on some OSes, such as AIX).
392:
393: - Fixed the hard-linking of files from a device that has a device number
394: of 0 (which seems to be a common device number on NetBSD).
395:
396: - Fixed the handling of a --partial-dir that cannot be created. This
397: particularly impacts the --delay-updates option (since the files cannot
398: be delayed without a partial-dir), and was potentially destructive if
399: the --remove-source-files was also specified.
400:
401: - Fixed a couple issues in the --fake-super handling of xattrs when the
402: destination files have root-level attributes (e.g. selinux values) that
403: a non-root copy can't affect.
404:
405: - Improved the keep-alive check in the generator to fire consistently in
406: incremental-recursion mode when --timeout is enabled.
407:
408: - The --iconv option now converts the content of a symlink too, instead
409: of leaving it in the wrong character-set (requires 3.0.4 on both sides
410: of the transfer).
411:
412: - When using --iconv, if a filename fails to convert on the receiving side,
413: this no longer makes deletions in the root-dir of the transfer fail
414: silently (the user now gets a warning about deletions being disabled
415: due to IO error as long as --ignore-errors was not specified).
416:
417: - When using --iconv, if a server-side receiver can't convert a filename,
418: the error message sent back to the client no longer mangles the name
419: with the wrong charset conversion.
420:
421: - Fixed a potential alignment issue in the IRIX ACL code when allocating
422: the initial "struct acl" object. Also, cast mallocs to avoid warnings.
423:
424: - Changed some errors that were going to stdout to go to stderr.
425:
426: - Made human_num() and human_dnum() able to output a negative number
427: (rather than outputting a cryptic string of punctuation).
428:
429: ENHANCEMENTS:
430:
431: - Rsync will avoid sending an -e option to the server if an older protocol
432: is requested (and thus the option would not be useful). This lets the
433: user specify the --protocol=29 option to access an overly-restrictive
434: server that is rejecting the protocol-30 use of -e to the server.
435:
436: - Improved the message output for an RERR_PARTIAL exit.
437:
438: DEVELOPER RELATED:
439:
440: - The Makefile will not halt for just a timestamp change on the Makefile
441: or the configure files, only for actual changes in content.
442:
443: - Changed some commands in the testsuite's xattrs.test that called "rsync"
444: instead of "$RSYNC".
445:
446: - Enhanced the release scripts to be able to handle a branch release and
447: to do even more consistency checks on the files.
448:
449:
450: NEWS for rsync 3.0.3 (29 Jun 2008)
451: Protocol: 30 (unchanged)
452: Changes since 3.0.2:
453:
454: BUG FIXES:
455:
456: - Fixed a wildcard matching problem in the daemon when a module has
457: "use chroot" enabled.
458:
459: - Fixed a crash bug in the hard-link code.
460:
461: - Fixed the sending of xattr directory information when the code finds a
462: --link-dest or --copy-dest directory with unchanged xattrs -- the
463: destination directory now gets these unchanged xattrs properly applied.
464:
465: - Fixed an xattr-sending glitch that could cause an "Internal abbrev"
466: error.
467:
468: - Fixed the combination of --xattrs and --backup.
469:
470: - The generator no longer allows a '.' dir to be excluded by a daemon-
471: exclude rule.
472:
473: - Fixed deletion handling when copying a single, empty directory (with no
474: files) to a differently named, non-existent directory.
475:
476: - Fixed the conversion of spaces into dashes in the %M log escape.
477:
478: - Fixed several places in the code that were not returning the right
479: errno when a function failed.
480:
481: - Fixed the backing up of a device or special file into a backup dir.
482:
483: - Moved the setting of the socket options prior to the connect().
484:
485: - If rsync exits in the middle of a --progress output, it now outputs a
486: newline to help prevent the progress line from being overwritten.
487:
488: - Fixed a problem with how a destination path with a trailing slash or
489: a trailing dot-dir was compared against the daemon excludes.
490:
491: - Fixed the sending of large (size > 16GB) files when talking to an older
492: rsync (protocols < 30): we now use a compatible block size limit.
493:
494: - If a file's length is so huge that we overflow a checksum buffer count
495: (i.e. several hundred TB), warn the user and avoid sending an invalid
496: checksum struct over the wire.
497:
498: - If a source arg is excluded, --relative no longer adds the excluded
499: arg's implied dirs to the transfer. This fix also made the exclude
500: check happen in the better place in the sending code.
501:
502: - Use the overflow_exit() function for overflows, not out_of_memory().
503:
504: - Improved the code to better handle a system that has only 32-bit file
505: offsets.
506:
507: ENHANCEMENTS:
508:
509: - The rsyncd.conf manpage now consistently refers to the parameters in
510: the daemon config file as "parameters".
511:
512: - The description of the --inplace option was improved.
513:
514: EXTRAS:
515:
516: - Added a new script in the support directory, deny-rsync, which allows
517: an admin to (temporarily) replace the rsync command with a script that
518: sends an error message to the remote client via the rsync protocol.
519:
520: DEVELOPER RELATED:
521:
522: - Fixed a testcase failure if the tests are run as root and made some
523: compatibility improvements.
524:
525: - Improved the daemon tests, including checking module comments, the
526: listing of files, and the ensuring that daemon excludes can't affect
527: a dot-dir arg.
528:
529: - Improved some build rules for those that build in a separate directory
530: from the source, including better install rules for the man pages, and
531: the fixing of a proto.h-tstamp rule that could make the binaries get
532: rebuild without cause.
533:
534: - Improved the testsuite to work around a problem with some utilities
535: (e.g. cp -p & touch -r) rounding sub-second timestamps.
536:
537: - Ensure that the early patches don't cause any generated-file hunks to
538: bleed-over into patches that follow.
539:
540:
541: NEWS for rsync 3.0.2 (8 Apr 2008)
542: Protocol: 30 (unchanged)
543: Changes since 3.0.1:
544:
545: BUG FIXES:
546:
547: - Fixed a potential buffer overflow in the xattr code.
548:
549: ENHANCEMENTS:
550:
551: - None.
552:
553: DEVELOPER RELATED:
554:
555: - The RPM spec file was improved to install more useful files.
556:
557: - A few developer-oriented scripts were moved from the support dir
558: to the packaging dir.
559:
560:
561: NEWS for rsync 3.0.1 (3 Apr 2008)
562: Protocol: 30 (unchanged)
563: Changes since 3.0.0:
564:
565: NOTABLE CHANGES IN BEHAVIOR:
566:
567: - Added the 'c'-flag to the itemizing of non-regular files so that the
568: itemized output doesn't get hidden if there were no attribute changes,
569: and also so that the itemizing of a --copy-links run will distinguish
570: between copying an identical non-regular file and the creation of a
571: revised version with a new value (e.g. a changed symlink referent, a
572: new device number, etc.).
573:
574: BUG FIXES:
575:
576: - Fixed a crash bug when a single-use rsync daemon (via remote shell) was
577: run without specifying a --config=FILE option.
578:
579: - Fixed a crash when backing up a directory that has a default ACL.
580:
581: - Fixed a bug in the handling of xattr values that could cause rsync to
582: not think that a file's extended attributes are up-to-date.
583:
584: - Fixed the working of --fake-super with --link-dest and --xattrs.
585:
586: - Fixed a hang when combining --dry-run with --remove-source-files.
587:
588: - Fixed a bug with --iconv's handling of files that cannot be converted:
589: a failed name can no longer cause a transfer failure.
590:
591: - Fixed the building of the rounding.h file on systems that need custom
592: CPPFLAGS to be used. Also improved the error reporting if the building
593: of rounding.h fails.
594:
595: - Fixed the use of the --protect-args (-s) option when talking to a daemon.
596:
597: - Fixed the --ignore-existing option's protection of files on the receiver
598: that are non-regular files on the sender (e.g. if a symlink or a dir on
599: the sender is trying to replace a file on the receiver). The reverse
600: protection (protecting a dir/symlink/device from being replaced by a
601: file) was already working.
602:
603: - Fixed an assert failure if --hard-links is combined with an option that
604: can skip a file in a set of hard-linked files (i.e. --ignore-existing,
605: --append, etc.), without skipping all the files in the set.
606:
607: - Avoid setting the modify time on a directory that already has the right
608: modify time set. This avoids tweaking the dir's ctime.
609:
610: - Improved the daemon-exclude handling to do a better job of applying the
611: exclude rules to path entries. It also sends the user an error just as
612: if the files were actually missing (instead of silently ignoring the
613: user's args), and avoids sending the user the filter-action messages
614: for these non-user-initiated rules.
615:
616: - Fixed some glitches with the dry-run code's missing-directory
617: handling, including a problem when combined with --fuzzy.
618:
619: - Fixed some glitches with the skipped-directory handling.
620:
621: - Fixed the 'T'-flag itemizing of symlinks when --time isn't preserved.
622:
623: - Fixed a glitch in the itemizing of permissions with the -E option.
624:
625: - The --append option's restricting of transfers to those that add data no
626: longer prevents the updating of non-content changes to otherwise up-to-
627: date files (i.e. those with the same content but differing permissions,
628: ownership, xattrs, etc.).
629:
630: - Don't allow --fake-super to be specified with -XX (double --xattrs)
631: because the options conflict. If a daemon has "fake super" enabled,
632: it automatically downgrades a -XX request to -X.
633:
634: - Fixed a couple bugs in the parsing of daemon-config excludes that could
635: make a floating exclude rule get treated as matching an absolute path.
636:
637: - A daemon doesn't try to auto-refuse the "iconv" option if iconv-support
638: wasn't compiled in to the daemon (avoiding a warning in the logs).
639:
640: - Fixed the inclusion of per-dir merge files from implied dirs.
641:
642: - Fixed the support/rrsync script to work with the latest options that
643: rsync sends (including its flag-specifying use of -e to the server).
644:
645: ENHANCEMENTS:
646:
647: - Added the --old-dirs (--old-d) option to make it easier for a user to
648: ask for file-listings with older rsync versions (this is easier than
649: having to type "-r --exclude='/*/*'" manually).
650:
651: - When getting an error while asking an older rsync daemon for a file
652: listing, rsync will try to notice if the error is a rejection of the
653: --dirs (-d) option and let the user know how to work around the issue.
654:
655: - Added a few more --no-OPTION overrides.
656:
657: - Improved the documentation of the --append option.
658:
659: - Improved the documentation of the filter/exclude/include daemon
660: parameters.
661:
662: INTERNAL:
663:
664: - Fixed a couple minor bugs in the included popt library (ones which I
665: sent to the official popt project for inclusion in the 1.14 release).
666:
667: - Fixed a stat() call that should have been do_stat() so that the proper
668: normal/64-bit stat() function gets called. (Was in an area that should
669: not have caused problems, though.)
670:
671: - Changed the file-glob code to do a directory scan without using the
672: "glob" and "glob.h". This lets us do the globbing with less memory
673: churn, and also avoid adding daemon-excluded items to the returned
674: args.
675:
676: DEVELOPER RELATED:
677:
678: - The configure script tries to get the user's compiler to not warn about
679: unused function parameters if the build is not including one or more of
680: the ACL/xattrs/iconv features.
681:
682: - The configure script now has better checks for figuring out if the
683: included popt code should be used or not.
684:
685: - Fixed two testsuite glitches: avoid a failure if someone's "cd" command
686: outputs the current directory when cd-ing to a relative path, and made
687: the itemized test query how rsync was built to determine if it should
688: expect hard-linked symlinks or not.
689:
690: - Updated the testsuite to verify that various bug fixes remain fixed.
691:
692: - The RPM spec file was updated to have: (1) comments for how to use the
693: rsync-patch tar file, and (2) an /etc/xinetd.d/rsync file.
694:
695: - Updated the build scripts to work with a revised FTP directory
696: structure.
697:
698:
699: NEWS for rsync 3.0.0 (1 Mar 2008)
700: Protocol: 30 (changed)
701: Changes since 2.6.9:
702:
703: NOTABLE CHANGES IN BEHAVIOR:
704:
705: - The handling of implied directories when using --relative has changed to
706: send them as directories (e.g. no implied dir is ever sent as a symlink).
707: This avoids unexpected behavior and should not adversely affect most
708: people. If you're one of those rare individuals who relied upon having
709: an implied dir be duplicated as a symlink, you should specify the
710: transfer of the symlink and the transfer of the referent directory as
711: separate args. (See also --keep-dirlinks and --no-implied-dirs.)
712: Also, exclude rules no longer have a partial effect on implied dirs.
713:
714: - Requesting a remote file-listing without specifying -r (--recursive) now
715: sends the -d (--dirs) option to the remote rsync rather than sending -r
716: along with an extra exclude of /*/*. If the remote rsync does not
717: understand the -d option (i.e. it is 2.6.3 or older), you will need to
718: either turn off -d (--no-d), or specify -r --exclude='/*/*' manually.
719:
720: - In --dry-run mode, the last line of the verbose summary text is output
721: with a "(DRY RUN)" suffix to help remind you that no updates were made.
722: Similarly, --only-write-batch outputs "(BATCH ONLY)".
723:
724: - A writable rsync daemon with "use chroot" disabled now defaults to a
725: symlink-munging behavior designed to make symlinks safer while also
726: allowing absolute symlinks to be stored and retrieved. This also has
727: the effect of making symlinks unusable while they're in the daemon's
728: hierarchy. See the daemon's "munge symlinks" parameter for details.
729:
730: - Starting up an extra copy of an rsync daemon will not clobber the pidfile
731: for the running daemon -- if the pidfile exists, the new daemon will exit
732: with an error. This means that your wrapper script that starts the rsync
733: daemon should be made to handle lock-breaking (if you want any automatic
734: breaking of locks to be done).
735:
736: BUG FIXES:
737:
738: - A daemon with "use chroot = no" and excluded items listed in the daemon
739: config file now properly checks an absolute-path arg specified for these
740: options: --compare-dest, --link-dest, --copy-dest, --partial-dir,
741: --backup-dir, --temp-dir, and --files-from.
742:
743: - A daemon can now be told to disable all user- and group-name translation
744: on a per-module basis. This avoids a potential problem with a writable
745: daemon module that has "use chroot" enabled -- if precautions weren't
746: taken, a user could try to add a missing library and get rsync to use
747: it. This makes rsync safer by default, and more configurable when id-
748: translation is not desired. See the daemon's "numeric ids" parameter
749: for full details.
750:
751: - A chroot daemon can now indicate which part of its path should affect the
752: chroot call, and which part should become an inside-chroot path for the
753: module. This allows you to have outside-the-transfer paths (such as for
754: libraries) even when you enable chroot protection. The idiom used in the
755: rsyncd.conf file is: path = /chroot/dirs/./dirs/inside
756:
757: - If a file's data arrived successfully on the receiving side but the
758: rename of the temporary file to the destination file failed AND the
759: --remove-source-files (or the deprecated --remove-sent-files) option
760: was specified, rsync no longer erroneously removes the associated
761: source file.
762:
763: - Fixed the output of -ii when combined with one of the --*-dest options:
764: it now itemizes all the items, not just the changed ones.
765:
766: - Made the output of all file types consistent when using a --*-dest
767: option. Prior versions would output too many creation events for
768: matching items.
769:
770: - The code that waits for a child pid now handles being interrupted by a
771: signal. This fixes a problem with the pre-xfer exec function not being
772: able to get the exit status from the script.
773:
774: - A negated filter rule (i.e. with a '!' modifier) no longer loses the
775: negation when sending the filter rules to the remote rsync.
776:
777: - Fixed a problem with the --out-format (aka --log-format) option %f: it
778: no longer outputs superfluous directory info for a non-daemon rsync.
779:
780: - Fixed a problem with -vv (double --verbose) and --stats when "pushing"
781: files (which includes local copies). Version 2.6.9 would complete the
782: copy, but exit with an error when the receiver output its memory stats.
783:
784: - If --password-file is used on a non-daemon transfer, rsync now complains
785: and exits. This should help users figure out that they can't use this
786: option to control a remote shell's password prompt.
787:
788: - Make sure that directory permissions of a newly-created destination
789: directory are handled right when --perms is left off.
790:
791: - The itemized output of a newly-created destination directory is now
792: output as a creation event, not a change event.
793:
794: - Improved --hard-link so that more corner cases are handled correctly
795: when combined with options such as --link-dest and/or --ignore-existing.
796:
797: - The --append option no longer updates a file that has the same size.
798:
799: - Fixed a bug when combining --backup and --backup-dir with --inplace:
800: any missing backup directories are now created.
801:
802: - Fixed a bug when using --backup and --inplace with --whole-file or
803: --read-batch: backup files are actually created now.
804:
805: - The daemon pidfile is checked and created sooner in the startup sequence.
806:
807: - If a daemon module's "path" value is not an absolute pathname, the code
808: now makes it absolute internally (making it work properly).
809:
810: - Ensure that a temporary file always has owner-write permission while we
811: are writing to it. This avoids problems with some network filesystems
812: when transfering read-only files.
813:
814: - Any errors output about password-file reading no longer cause an error at
815: the end of the run about a partial transfer.
816:
817: - The --read-batch option for protocol 30 now ensures that several more
818: options are set correctly for the current batch file: --iconv, --acls,
819: --xattrs, --inplace, --append, and --append-verify.
820:
821: - Using --only-write-batch to a daemon receiver now works properly (older
822: versions would update some files while writing the batch).
823:
824: - Avoid outputting a "file has vanished" message when the file is a broken
825: symlink and --copy-unsafe-links or --copy-dirlinks is used (the code
826: already handled this for --copy-links).
827:
828: - Fixed the combination of --only-write-batch and --dry-run.
829:
830: - Fixed rsync's ability to remove files that are not writable by the file's
831: owner when rsync is running as the same user.
832:
833: - When transferring large files, the sender's hashtable of checksums is
834: kept at a more reasonable state of fullness (no more than 80% full) so
835: that the scanning of the hashtable will not bog down as the number of
836: blocks increases.
837:
838: ENHANCEMENTS:
839:
840: - A new incremental-recursion algorithm is now used when rsync is talking
841: to another 3.x version. This starts the transfer going more quickly
842: (before all the files have been found), and requires much less memory.
843: See the --recursive option in the manpage for some restrictions.
844:
845: - Lowered memory use in the non-incremental-recursion algorithm for typical
846: option values (usually saving from 21-29 bytes per file).
847:
848: - The default --delete algorithm is now --delete-during when talking to a
849: 3.x rsync. This is a faster scan than using --delete-before (which is
850: the default when talking to older rsync versions), and is compatible with
851: the new incremental recursion mode.
852:
853: - Rsync now allows multiple remote-source args to be specified rather than
854: having to rely on a special space-splitting side-effect of the remote-
855: shell. Additional remote args must specify the same host or an empty one
856: (e.g. empty: :file1 or ::module/file2). For example, this means that
857: local use of brace expansion now works: rsync -av host:dir/{f1,f2} .
858:
859: - Added the --protect-args (-s) option, that tells rsync to send most of
860: the command-line args at the start of the transfer rather than as args
861: to the remote-shell command. This protects them from space-splitting,
862: and only interprets basic wildcard special shell characters (*?[).
863:
864: - Added the --delete-delay option, which is a more efficient way to delete
865: files at the end of the transfer without needing a separate delete pass.
866:
867: - Added the --acls (-A) option to preserve Access Control Lists. This is
868: an improved version of the prior patch that was available, and it even
869: supports OS X ACLs. If you need to have backward compatibility with old,
870: ACL-patched versions of rsync, apply the acls.diff file from the patches
871: dir.
872:
873: - Added the --xattrs (-X) option to preserve extended attributes. This is
874: an improved version of the prior patch that was available, and it even
875: supports OS X xattrs (which includes their resource fork data). If you
876: need to have backward compatibility with old, xattr-patched versions of
877: rsync, apply the xattrs.diff file from the patches dir.
878:
879: - Added the --fake-super option that allows a non-super user to preserve
880: all attributes of a file by using a special extended-attribute idiom.
881: It even supports the storing of foreign ACL data on your backup server.
882: There is also an analogous "fake super" parameter for an rsync daemon.
883:
884: - Added the --iconv option, which allows rsync to convert filenames from
885: one character-set to another during the transfer. The default is to
886: make this feature available as long as your system has iconv_open().
887: If compilation fails, specify --disable-iconv to configure, and then
888: rebuild. If you want rsync to perform character-set conversions by
889: default, you can specify --enable-iconv=CONVERT_STRING with the default
890: value for the --iconv option that you wish to use. For example,
891: "--enable-iconv=." is a good choice. See the rsync manpage for an
892: explanation of the --iconv option's settings.
893:
894: - A new daemon config parameter, "charset", lets you control the character-
895: set that is used during an --iconv transfer to/from a daemon module. You
896: can also set your daemon to refuse "no-iconv" if you want to force the
897: client to use an --iconv transfer (requiring an rsync 3.x client).
898:
899: - Added the --skip-compress=LIST option to override the default list of
900: file suffixes that will not be compressed when using --compress (-z).
901:
902: - The daemon's default for "dont compress" was extended to include:
903: *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg
904: The name-matching routine was also optimized to run more quickly.
905:
906: - The --max-delete option now outputs a warning if it skipped any file
907: deletions, including a count of how many deletions were skipped. (Older
908: versions just silently stopped deleting things.)
909:
910: - You may specify --max-delete=0 to a 3.0.0 client to request that it warn
911: about extraneous files without deleting anything. If you're not sure
912: what version the client is, you can use the less-obvious --max-delete=-1,
913: as both old and new versions will treat that as the same request (though
914: older versions don't warn).
915:
916: - The --hard-link option now uses less memory on both the sending and
917: receiving side for all protocol versions. For protocol 30, the use of a
918: hashtable on the sending side allows us to more efficiently convey to the
919: receiver what files are linked together. This reduces the amount of data
920: sent over the socket by a considerable margin (rather than adding more
921: data), and limits the in-memory storage of the device+inode information
922: to just the sending side for the new protocol 30, or to the receiving
923: side when speaking an older protocol (note that older rsync versions kept
924: the device+inode information on both sides).
925:
926: - The filter rules now support a perishable ("p") modifier that marks rules
927: that should not have an effect in a directory that is being deleted. e.g.
928: -f '-p .svn/' would only affect "live" .svn directories.
929:
930: - Rsync checks all the alternate-destination args for validity (e.g.
931: --link-dest). This lets the user know when they specified a directory
932: that does not exist.
933:
934: - If we get an ENOSYS error setting the time on a symlink, we don't
935: complain about it anymore (for those systems that even support the
936: setting of the modify-time on a symlink).
937:
938: - Protocol 30 now uses MD5 checksums instead of MD4.
939:
940: - Changed the --append option to not checksum the existing data in the
941: destination file, which speeds up file appending.
942:
943: - Added the --append-verify option, which works like the older --append
944: option (verifying the existing data in the destination file). For
945: compatibility with older rsync versions, any use of --append that is
946: talking protocol 29 or older will revert to the --append-verify method.
947:
948: - Added the --contimeout=SECONDS option that lets the user specify a
949: connection timeout for rsync daemon access.
950:
951: - Documented and extended the support for the RSYNC_CONNECT_PROG variable
952: that can be used to enhance the client side of a daemon connection.
953:
954: - Improved the dashes and double-quotes in the nroff manpage output.
955:
956: - Rsync now supports a lot more --no-OPTION override options.
957:
958: INTERNAL:
959:
960: - The file-list sorting algorithm now uses a sort that keeps any same-
961: named items in the same order as they were specified. This allows
962: rsync to always ensure that the first of the duplicates is the one
963: that will be included in the copy. The new sort is also faster
964: than the glibc version of qsort() and mergesort().
965:
966: - Rsync now supports the transfer of 64-bit timestamps (time_t values).
967:
968: - Made the file-deletion code use a little less stack when recursing
969: through a directory hierarchy of extraneous files.
970:
971: - Fixed a build problem with older (2.x) versions of gcc.
972:
973: - Added some isType() functions that make dealing with signed characters
974: easier without forcing variables via casts.
975:
976: - Changed strcat/strcpy/sprintf function calls to use safer versions.
977:
978: - Upgraded the included popt version to 1.10.2 and improved its use of
979: string-handling functions.
980:
981: - Added missing prototypes for compatibility functions from the lib dir.
982:
983: - Configure determines if iconv() has a const arg, allowing us to avoid a
984: compiler warning.
985:
986: - Made the sending of some numbers more efficient for protocol 30.
987:
988: - Make sure that a daemon process doesn't mind if the client was weird and
989: omitted the --server option.
990:
991: - There are more internal logging categories available in protocol 30 than
992: the age-old FINFO and FERROR, including FERROR_XFER and FWARN. These new
993: categories allow some errors and warnings to go to stderr without causing
994: an erroneous end-of-run warning about some files not being able to be
995: transferred.
996:
997: - Improved the use of "const" on pointers.
998:
999: - Improved J.W.'s pool_alloc routines to add a way of incrementally freeing
1000: older sections of a pool's memory.
1001:
1002: - The getaddrinfo.c compatibility code in the "lib" dir was replaced with
1003: some new code (derived from samba, derived from PostgreSQL) that has a
1004: better license than the old code.
1005:
1006: DEVELOPER RELATED:
1007:
1008: - Rsync is now licensed under the GPLv3 or later.
1009:
1010: - Rsync is now being maintained in a "git" repository instead of CVS
1011: (though the old CVS repository still exists for historical access).
1012: Several maintenance scripts were updated to work with git.
1013:
1014: - Generated files are no longer committed into the source repository. The
1015: autoconf and autoheader commands are now automatically run during the
1016: normal use of "configure" and "make". The latest dev versions of all
1017: generated files can also be copied from the samba.org web site (see the
1018: prepare-source script's fetch option).
1019:
1020: - The "patches" directory of diff files is now built from branches in the
1021: rsync git repository (branch patch/FOO creates file patches/FOO.diff).
1022: This directory is now distributed in a separate separate tar file named
1023: rsync-patches-VERSION.tar.gz instead of the main rsync-VERSION.tar.gz.
1024:
1025: - The proto.h file is now built using a simple perl script rather than a
1026: complex awk script, which proved to be more widely compatible.
1027:
1028: - When running the tests, we now put our per-test temp dirs into a sub-
1029: directory named testtmp (which is created, if missing). This allows
1030: someone to symlink the testtmp directory to another filesystem (which is
1031: useful if the build dir's filesystem does not support ACLs and xattrs,
1032: but another filesystem does).
1033:
1034: - Rsync now has a way of handling protocol-version changes during the
1035: development of a new protocol version. This causes any out-of-sync
1036: versions to speak an older protocol rather than fail in a cryptic manner.
1037: This addition makes it safer to deploy a pre-release version that may
1038: interact with the public. This new exchange of sub-version info does not
1039: interfere with the {MIN,MAX}_PROTOCOL_VERSION checking algorithm (which
1040: does not have enough range to allow the main protocol number to be
1041: incremented for every minor tweak in that happens during development).
1042:
1043: - The csprotocol.txt file was updated to mention the daemon protocol change
1044: in the 3.0.0 release.
1045:
1046:
1047: NEWS for rsync 2.6.9 (6 Nov 2006)
1048: Protocol: 29 (unchanged)
1049: Changes since 2.6.8:
1050:
1051: BUG FIXES:
1052:
1053: - If rsync is interrupted via a handled signal (such as SIGINT), it will
1054: once again clean-up its temp file from the destination dir.
1055:
1056: - Fixed an overzealous sanitizing bug in the handling of the --link-dest,
1057: --copy-dest, and --compare-dest options to a daemon without chroot: if
1058: the copy's destination dir is deeper than the top of the module's path,
1059: these options now accept a safe number of parent-dir (../) references
1060: (since these options are relative to the destination dir). The old code
1061: incorrectly chopped off all "../" prefixes for these options, no matter
1062: how deep the destination directory was in the module's hierarchy.
1063:
1064: - Fixed a bug where a deferred info/error/log message could get sent
1065: directly to the sender instead of being handled by rwrite() in the
1066: generator. This fixes an "unexpected tag 3" fatal error, and should
1067: also fix a potential problem where a deferred info/error message from
1068: the receiver might bypass the log file and get sent only to the client
1069: process. (These problems could only affect an rsync daemon that was
1070: receiving files.)
1071:
1072: - Fixed a bug when --inplace was combined with a --*-dest option and we
1073: update a file's data using an alternate basis file. The code now
1074: notices that it needs to copy the matching data from the basis file
1075: instead of (wrongly) assuming that it was already present in the file.
1076:
1077: - Fixed a bug where using --dry-run with a --*-dest option with a path
1078: relative to a directory that does not yet exist: the affected option
1079: gets its proper path value so that the output of the dry-run is right.
1080:
1081: - Fixed a bug in the %f logfile escape when receiving files: the
1082: destination path is now included in the output (e.g. you can now tell
1083: when a user specifies a subdir inside a module).
1084:
1085: - If the receiving side fails to create a directory, it will now skip
1086: trying to update everything that is inside that directory.
1087:
1088: - If --link-dest is specified with --checksum but without --times, rsync
1089: will now allow a hard-link to be created to a matching link-dest file
1090: even when the file's modify-time doesn't match the server's file.
1091:
1092: - The daemon now calls more timezone-using functions prior to doing a
1093: chroot. This should help some C libraries to generate proper timestamps
1094: from inside a chrooted daemon (and to not try to access /etc/timezone
1095: over and over again).
1096:
1097: - Fixed a bug in the handling of an absolute --partial-dir=ABS_PATH option:
1098: it now deletes an alternate basis file from the partial-dir that was used
1099: to successfully update a destination file.
1100:
1101: - Fixed a bug in the handling of --delete-excluded when using a per-dir
1102: merge file: the merge file is now honored on the receiving side, and
1103: only its unqualified include/exclude commands are ignored (just as is
1104: done for global include/excludes).
1105:
1106: - Fixed a recent bug where --delete was not working when transferring from
1107: the root (/) of the filesystem with --relative enabled.
1108:
1109: - Fixed a recent bug where an --exclude='*' could affect the root (/) of
1110: the filesystem with --relative enabled.
1111:
1112: - When --inplace creates a file, it is now created with owner read/write
1113: permissions (0600) instead of no permissions at all. This avoids a
1114: problem continuing a transfer that was interrupted (since --inplace
1115: will not update a file that has no write permissions).
1116:
1117: - If either --remove-source-files or --remove-sent-files is enabled and we
1118: are unable to remove the source file, rsync now outputs an error.
1119:
1120: - Fixed a bug in the daemon's "incoming chmod" rule: newly-created
1121: directories no longer get the 'F' (file) rules applied to them.
1122:
1123: - Fixed an infinite loop bug when a filter rule was rejected due to being
1124: overly long.
1125:
1126: - When the server receives a --partial-dir option from the client, it no
1127: longer runs the client-side code that adds an assumed filter rule (since
1128: the client will be sending us the rules in the usual manner, and they
1129: may have chosen to override the auto-added rule).
1130:
1131: ENHANCEMENTS:
1132:
1133: - Added the --log-file=FILE and --log-file-format=FORMAT options. These
1134: can be used to tell any rsync to output what it is doing to a log file.
1135: They work with a client rsync, a non-daemon server rsync (see the man
1136: page for instructions), and also allows the overriding of rsyncd.conf
1137: settings when starting a daemon.
1138:
1139: - The --log-format option was renamed to be --out-format to avoid confusing
1140: it with affecting the log-file output. (The old option remains as an
1141: alias for the new to preserve backward compatibility.)
1142:
1143: - Made "log file" and "syslog facility" settable on a per-module basis in
1144: the daemon's config file.
1145:
1146: - Added the --remove-source-files option as a replacement for the (now
1147: deprecated) --remove-sent-files option. This new option removes all
1148: non-dirs from the source directories, even if the file was already
1149: up-to-date. This fixes a problem where interrupting an rsync that
1150: was using --remove-sent-files and restarting it could leave behind
1151: a file that the earlier rsync synchronized, but didn't get to remove.
1152: (The deprecated --remove-sent-files is still understood for now, and
1153: still behaves in the same way as before.)
1154:
1155: - Added the option --no-motd to suppress the message-of-the-day output
1156: from a daemon when doing a copy. (See the manpage for a caveat.)
1157:
1158: - Added a new environment variable to the pre-/post-xfer exec commands (in
1159: the daemon's config file): RSYNC_PID. This value will be the same in
1160: both the pre- and post-xfer commands, so it can be used as a unique ID
1161: if the pre-xfer command wants to cache some arg/request info for the
1162: post-xfer command.
1163:
1164: INTERNAL:
1165:
1166: - Did a code audit using IBM's code-checker program and made several
1167: changes, including: replacing most of the strcpy() and sprintf()
1168: calls with strlcpy(), snprintf(), and memcpy(), adding a 0-value to
1169: an enum that had been intermingling a literal 0 with the defined enum
1170: values, silencing some uninitialized memory checks, marking some
1171: functions with a "noreturn" attribute, and changing an "if" that
1172: could never succeed on some platforms into a pre-processor directive
1173: that conditionally compiles the code.
1174:
1175: - Fixed a potential bug in f_name_cmp() when both the args are a
1176: top-level "." dir (which doesn't happen in normal operations).
1177:
1178: - Changed exit_cleanup() so that it can never return instead of exit.
1179: The old code might return if it found the exit_cleanup() function
1180: was being called recursively. The new code is segmented so that
1181: any recursive calls move on to the next step of the exit-processing.
1182:
1183: - The macro WIFEXITED(stat) will now be defined if the OS didn't already
1184: define it.
1185:
1186: DEVELOPER RELATED:
1187:
1188: - The acls.diff and xattrs.diff patches have received a bunch of work to
1189: make them much closer to being acceptable in the main distribution.
1190: The xattrs patch also has some preliminary Mac OS X and FreeBSD
1191: compatibility code that various system types to exchange extended
1192: file-attributes.
1193:
1194: - A new diff in the patches dir, fake-root.diff, allows rsync to
1195: maintain a backup hierarchy with full owner, group, and device info
1196: without actually running as root. It does this using a special
1197: extended attribute, so it depends on xattrs.diff (which depends on
1198: acls.diff).
1199:
1200: - The rsync.yo and rsyncd.conf.yo files have been updated to work
1201: better with the latest yodl 2.x releases.
1202:
1203: - Updated config.guess and config.sub to their 2006-07-02 versions.
1204:
1205: - Updated various files to include the latest FSF address and to have
1206: consistent opening comments.
1207:
1208:
1209: NEWS for rsync 2.6.8 (22 Apr 2006)
1210: Protocol: 29 (unchanged)
1211: Changes since 2.6.7:
1212:
1213: BUG FIXES:
1214:
1215: - Fixed a bug in the exclude code where an anchored exclude without any
1216: wildcards fails to match an absolute source arg, but only when --relative
1217: is in effect.
1218:
1219: - Improved the I/O code for the generator to fix a potential hang when the
1220: receiver gets an EOF on the socket but the generator's select() call
1221: never indicates that the socket is writable for it to be notified about
1222: the EOF. (This can happen when using stunnel).
1223:
1224: - Fixed a problem with the file-reading code where a failed read (such as
1225: that caused by a bad sector) would not advance the file's read-position
1226: beyond the failed read's data.
1227:
1228: - Fixed a logging bug where the "log file" directive was not being honored
1229: in a single-use daemon (one spawned by a remote-shell connection or by
1230: init).
1231:
1232: - If rsync cannot honor the --delete option, we output an error and exit
1233: instead of silently ignoring the option.
1234:
1235: - Fixed a bug in the --link-dest code that prevented special files (such as
1236: fifos) from being linked.
1237:
1238: - The ability to hard-link symlinks and special files is now determined at
1239: configure time instead of at runtime. This fixes a bug with --link-dest
1240: creating a hard-link to a symlink's referent on a BSD system.
1241:
1242: ENHANCEMENTS:
1243:
1244: - In daemon mode, if rsync fails to bind to the requested port, the
1245: error(s) returned by socket() and/or bind() are now logged.
1246:
1247: - When we output a fatal error, we now output the version of rsync in the
1248: message.
1249:
1250: - Improved the documentation for the --owner and --group options.
1251:
1252: - The rsyncstats script in "support" has an improved line-parsing regex
1253: that is easier to read and also makes it to parse syslog-generated lines.
1254:
1255: - A new script in "support": file-attr-restore, can be used to restore the
1256: attributes of a file-set (the permissions, ownership, and group info)
1257: taken from the cached output of a "find ARG... -ls" command.
1258:
1259: DEVELOPER RELATED:
1260:
1261: - Removed the unused function write_int_named(), the unused variable
1262: io_read_phase, and the rarely used variable io_write_phase. This also
1263: elides the confusing 'phase "unknown"' part of one error message.
1264:
1265: - Removed two unused configure checks and two related (also unused)
1266: compatibility functions.
1267:
1268: - The xattrs.diff patch received a security fix that prevents a potential
1269: buffer overflow in the receive_xattr() code.
1270:
1271: - The acls.diff patch has been improved quite a bit, with more to come.
1272:
1273: - A new patch was added: log-file.diff. This contains an early version of
1274: a future option, --log-file=FILE, that will allow any rsync to log its
1275: actions to a file (something that only a daemon supports at present).
1276:
1277:
1278: NEWS for rsync 2.6.7 (11 Mar 2006)
1279: Protocol: 29 (unchanged)
1280: Changes since 2.6.6:
1281:
1282: OUTPUT CHANGES:
1283:
1284: - The letter 'D' in the itemized output was being used for both devices
1285: (character or block) as well as other special files (such as fifos and
1286: named sockets). This has changed to separate non-device special files
1287: under the 'S' designation (e.g. "cS+++++++ path/fifo"). See also the
1288: "--specials" option, below.
1289:
1290: - The way rsync escapes unreadable characters has changed. First, rsync
1291: now has support for recognizing valid multibyte character sequences in
1292: your current locale, allowing it to escape fewer characters than before
1293: for a locale such as UTF-8. Second, it now uses an escape idiom of
1294: "\#123", which is the literal string "\#" followed by exactly 3 octal
1295: digits. Rsync no longer doubles a backslash character in a filename
1296: (e.g. it used to output "foo\\bar" when copying "foo\bar") -- now it only
1297: escapes a backslash that is followed by a hash-sign and 3 digits (0-9)
1298: (e.g. it will output "foo\#134#789" when copying "foo\#789"). See also
1299: the --8-bit-output (-8) option, mentioned below.
1300:
1301: Script writers: the local rsync is the one that outputs escaped names,
1302: so if you need to support unescaping of filenames for older rsyncs, I'd
1303: suggest that you parse the output of "rsync --version" and only use the
1304: old unescaping rules for 2.6.5 and 2.6.6.
1305:
1306: BUG FIXES:
1307:
1308: - Fixed a really old bug that caused --checksum (-c) to checksum all the
1309: files encountered during the delete scan (ouch).
1310:
1311: - Fixed a potential hang in a remote generator: when the receiver gets a
1312: read-error on the socket, it now signals the generator about this so that
1313: the generator does not try to send any of the terminating error messages
1314: to the client (avoiding a potential hang in some setups).
1315:
1316: - Made hard-links work with symlinks and devices again.
1317:
1318: - If the sender gets an early EOF reading a source file, we propagate this
1319: error to the receiver so that it can discard the file and try requesting
1320: it again (which is the existing behavior for other kinds of read errors).
1321:
1322: - If a device-file/special-file changes permissions, rsync now updates the
1323: permissions without recreating the file.
1324:
1325: - If the user specifies a remote-host for both the source and destination,
1326: we now output a syntax error rather than trying to open the destination
1327: hostspec as a filename.
1328:
1329: - When --inplace creates a new destination file, rsync now creates it with
1330: permissions 0600 instead of 0000 -- this makes restarting possible when
1331: the transfer gets interrupted in the middle of sending a new file.
1332:
1333: - Reject the combination of --inplace and --sparse since the sparse-output
1334: algorithm doesn't work when overwriting existing data.
1335:
1336: - Fixed the directory name in the error that is output when pop_dir()
1337: fails.
1338:
1339: - Really fixed the parsing of a "!" entry in .cvsignore files this time.
1340:
1341: - If the generator gets a stat() error on a file, output it (this used to
1342: require at least -vv for the error to be seen).
1343:
1344: - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
1345: the exit status properly and generate a better error.
1346:
1347: - Fixed some glitches in the double-verbose output when using --copy-dest,
1348: --link-dest, or --compare-dest. Also improved how the verbose output
1349: handles hard-links (within the transfer) that had an up-to-date alternate
1350: "dest" file, and copied files (via --copy-dest).
1351:
1352: - Fixed the matching of the dont-compress items (e.g. *.gz) against files
1353: that have a path component containing a slash.
1354:
1355: - If the code reading a filter/exclude file gets an EINTR error, rsync now
1356: clears the error flag on the file handle so it can keep on reading.
1357:
1358: - If --relative is active, the sending side cleans up trailing "/" or "/."
1359: suffixes to avoid triggering a bug in older rsync versions. Also, we now
1360: reject a ".." dir if it would be sent as a relative dir.
1361:
1362: - If a non-directory is in the way of a directory and rsync is run with
1363: --dry-run and --delete, rsync no longer complains about not being able
1364: to opendir() the not-yet present directory.
1365:
1366: - When --list-only is used and a non-existent local destination dir was
1367: also specified as a destination, rsync no longer generates a warning
1368: about being unable to create the missing directory.
1369:
1370: - Fixed some problems with --relative --no-implied-dirs when the
1371: destination directory did not yet exist: we can now create a symlink or
1372: device when it is the first thing in the missing dir, and --fuzzy no
1373: longer complains about being unable to open the missing dir.
1374:
1375: - Fixed a bug where the --copy-links option would not affect implied
1376: directories without --copy-unsafe-links (see --relative).
1377:
1378: - Got rid of the need for --force to be used in some circumstances with
1379: --delete-after (making it consistent with --delete-before/-during).
1380:
1381: - Rsync now ignores the SIGXFSZ signal, just in case your OS sends this
1382: when a file is too large (rsync handles the write error).
1383:
1384: - Fixed a bug in the Proxy-Authorization header's base64-encoded value: it
1385: was not properly padded with trailing '=' chars. This only affects a
1386: user that need to use a password-authenticated proxy for an outgoing
1387: daemon-rsync connection.
1388:
1389: - If we're transferring an empty directory to a new name, rsync no longer
1390: forces S_IWUSR if it wasn't already set, nor does it accidentally leave
1391: it set.
1392:
1393: - Fixed a bug in the debug output (-vvvvv) that could mention the wrong
1394: checksum for the current file offset.
1395:
1396: - Rsync no longer allows a single directory to be copied over a non-
1397: directory destination arg.
1398:
1399: ENHANCEMENTS:
1400:
1401: - Added the --append option that makes rsync append data onto files that
1402: are longer on the source than the destination (this includes new files).
1403:
1404: - Added the --min-size=SIZE option to exclude small files from the
1405: transfer.
1406:
1407: - Added the --compress-level option to allow you to set how aggressive
1408: rsync's compression should be (this option implies --compress).
1409:
1410: - Enhanced the parsing of the SIZE value for --min-size and --max-size to
1411: allow easy entry of multiples of 1000 (instead of just multiples of 1024)
1412: and off-by-one values too (e.g. --max-size=8mb-1).
1413:
1414: - Added the --8-bit-output (-8) option, which tells rsync to avoid escaping
1415: high-bit characters that it thinks are unreadable in the current locale.
1416:
1417: - The new option --human-readable (-h) changes the output of --progress,
1418: --stats, and the end-of-run summary to be easier to read. If repeated,
1419: the units become powers of 1024 instead of powers of 1000. (The old
1420: meaning of -h, as a shorthand for --help, still works as long as you
1421: just use it on its own, as in "rsync -h".)
1422:
1423: - If lutimes() and/or lchmod() are around, use them to allow the
1424: preservation of attributes on symlinks.
1425:
1426: - The --link-dest option now affects symlinks and devices (when possible).
1427:
1428: - Added two config items to the rsyncd.conf parsing: "pre-xfer exec" and
1429: "post-xfer exec". These allow a command to be specified on a per-module
1430: basis that will be run before and/or after a daemon-mode transfer. (See
1431: the man page for a list of the environment variables that are set with
1432: information about the transfer.)
1433:
1434: - When using the --relative option, you can now insert a dot dir in
1435: the source path to indicate where the replication of the source dirs
1436: should start. For example, if you specify a source path of
1437: rsync://host/module/foo/bar/./baz/dir with -R, rsync will now only
1438: replicate the "baz/dir" part of the source path (note: a trailing
1439: dot dir is unaffected unless it also has a trailing slash).
1440:
1441: - Added some new --no-FOO options that make it easier to override unwanted
1442: implied or default options. For example, "-a --no-o" (aka "--archive
1443: --no-owner") can be used to turn off the preservation of file ownership
1444: that is implied by -a.
1445:
1446: - Added the --chmod=MODE option that allows the destination permissions to
1447: be changed from the source permissions. E.g. --chmod=g+w,o-rwx
1448:
1449: - Added the "incoming chmod" and "outgoing chmod" daemon options that allow
1450: a module to specify what permissions changes should be applied to all
1451: files copied to and from the daemon.
1452:
1453: - Allow the --temp-dir option to be specified when starting a daemon, which
1454: sets the default temporary directory for incoming files.
1455:
1456: - If --delete is combined with --dirs without --recursive, rsync will now
1457: delete in any directory whose content is being synchronized.
1458:
1459: - If --backup is combined with --delete without --backup-dir (and without
1460: --delete-excluded), we add a "protect" filter-rule to ensure that files
1461: with the backup suffix are not deleted.
1462:
1463: - The file-count stats that are output by --progress were improved to
1464: better indicate what the numbers mean. For instance, the output:
1465: "(xfer#5, to-check=8383/9999)" indicates that this was the fifth file
1466: to be transferred, and we still need to check 8383 more files out of
1467: a total of 9999.
1468:
1469: - The include/exclude code now allows a dir/*** directive (with 3 trailing
1470: stars) to match both the dir itself as well as all the content below the
1471: dir (dir/** would not match the dir).
1472:
1473: - Added the --prune-empty-dirs (-m) option that makes the receiving rsync
1474: discard empty chains of directories from the file-list. This makes it
1475: easier to selectively copy files from a source hierarchy and end up with
1476: just the directories needed to hold the resulting files.
1477:
1478: - If the --itemize-changes (-i) option is repeated, rsync now includes
1479: unchanged files in the itemized output (similar to -vv, but without all
1480: the other verbose messages that can get in the way). Of course, the
1481: client must be version 2.6.7 for this to work, but the remote rsync only
1482: needs to be 2.6.7 if you're pushing files.
1483:
1484: - Added the --specials option to tell rsync to copy non-device special
1485: files (which rsync now attempts even as a normal user). The --devices
1486: option now requests the copying of just devices (character and block).
1487: The -D option still requests both (e.g. --devices and --specials), -a
1488: still implies -D, and non-root users still get a silent downgrade that
1489: omits device copying.
1490:
1491: - Added the --super option to make the receiver always attempt super-user
1492: activities. This is useful for systems that allow things such as devices
1493: to be created or ownership to be set without being UID 0, and is also
1494: useful for someone who wants to ensure that errors will be output if the
1495: receiving rsync isn't being run as root.
1496:
1497: - Added the --sockopts option for those few who want to customize the TCP
1498: options used to contact a daemon rsync.
1499:
1500: - Added a way for the --temp-dir option to be combined with a partial-dir
1501: setting that lets rsync avoid non-atomic updates (for those times when
1502: --temp-dir is not being used because space is tight).
1503:
1504: - A new support script, files-to-excludes, will transform a list of files
1505: into a set of include/exclude directives that will copy those files.
1506:
1507: - A new option, --executability (-E) can be used to preserve just the
1508: execute bit on files, for those times when using the --perms option is
1509: not desired.
1510:
1511: - The daemon now logs each connection and also each module-list request
1512: that it receives.
1513:
1514: - New log-format options: %M (modtime), %U (uid), %G (gid), and %B
1515: (permission bits, e.g. "rwxr-xrwt").
1516:
1517: - The --dry-run option no longer forces the enabling of --verbose.
1518:
1519: - The --remove-sent-files option now does a better job of incrementally
1520: removing the sent files on the sending side (older versions tended to
1521: clump up all the removals at the end).
1522:
1523: - A daemon now supersedes its minimal SIGCHLD handler with the standard
1524: PID-remembering version after forking. This ensures that the generator
1525: can get the child-exit status from the receiver.
1526:
1527: - Use of the --bwlimit option no longer interferes with the remote rsync
1528: sending error messages about invalid/refused options.
1529:
1530: - Rsync no longer returns a usage error when used with one local source arg
1531: and no destination: this now implies the --list-only option, just like
1532: the comparable situation with a remote source arg.
1533:
1534: - Added the --copy-dirlinks option, a more limited version of --copy-links.
1535:
1536: - Various documentation improvements, including: a better synopsis, some
1537: improved examples, a better discussion of the presence and absence of
1538: --perms (including how it interacts with the new --executability and
1539: --chmod options), an extended discussion of --temp-dir, an improved
1540: discussion of --partial-dir, a better description of rsync's pattern
1541: matching characters, an improved --no-implied-dirs section, and the
1542: documenting of what the --stats option outputs.
1543:
1544: - Various new and updated diffs in the patches dir, including: acls.diff,
1545: xattrs.diff, atimes.diff, detect-renamed.diff, and slp.diff.
1546:
1547: INTERNAL:
1548:
1549: - We now use sigaction() and sigprocmask() if possible, and fall back on
1550: signal() if not. Using sigprocmask() ensures that rsync enables all the
1551: signals that it needs, just in case it was started in a masked state.
1552:
1553: - Some buffer sizes were expanded a bit, particularly on systems where
1554: MAXPATHLEN is overly small (e.g. cygwin).
1555:
1556: - If io_printf() tries to format more data than fits in the buffer, exit
1557: with an error instead of transmitting a truncated buffer.
1558:
1559: - If a va_copy macro is defined, lib/snprintf.c will use it when defining
1560: the VA_COPY macro.
1561:
1562: - Reduced the amount of stack memory needed for each level of directory
1563: recursion by nearly MAXPATHLEN bytes.
1564:
1565: - The wildmatch function was extended to allow an array of strings to be
1566: supplied as the string to match. This allows the exclude code to do less
1567: string copying.
1568:
1569: - Got rid of the safe_fname() function (and all the myriad calls) and
1570: replaced it with a new function in the log.c code that filters all the
1571: output going to the terminal.
1572:
1573: - Unified the f_name() and the f_name_to() functions.
1574:
1575: - Improved the hash-table code the sender uses to handle checksums to make
1576: it use slightly less memory and run just a little faster.
1577:
1578: DEVELOPER RELATED:
1579:
1580: - The diffs in the patches dir now require "patch -p1 <DIFF" instead of
1581: the previous -p0. Also, the version included in the release tar now
1582: affect generated files (e.g. configure, rsync.1, proto.h, etc.), so
1583: it is no longer necessary to run autoconf and/or yodl unless you're
1584: applying a patch that was checked out from CVS.
1585:
1586: - Several diffs in the patches dir now use the proper --enable-FOO
1587: configure option instead of --with-FOO to turn on the inclusion of
1588: the newly patched feature.
1589:
1590: - There is a new script, "prepare-source" than can be used to update the
1591: various generated files (proto.h, configure, etc.) even before configure
1592: has created the Makefile (this is mainly useful when patching the source
1593: with a patch that doesn't affect generated files).
1594:
1595: - The testsuite now sets HOME so that it won't be affected by a file such
1596: as ~/.popt.
1597:
1598:
1599: NEWS for rsync 2.6.6 (28 Jul 2005)
1600: Protocol: 29 (unchanged)
1601: Changes since 2.6.5:
1602:
1603: SECURITY FIXES:
1604:
1605: - The zlib code was upgraded to version 1.2.3 in order to make it more
1606: secure. While the widely-publicized security problem in zlib 1.2.2 did
1607: not affect rsync, another security problem surfaced that affects rsync's
1608: zlib 1.1.4.
1609:
1610: BUG FIXES:
1611:
1612: - The setting of flist->high in clean_flist() was wrong for an empty list.
1613: This could cause flist_find() to crash in certain rare circumstances
1614: (e.g. if just the right directory setup was around when --fuzzy was
1615: combined with --link-dest).
1616:
1617: - The outputting of hard-linked files when verbosity was > 1 was not right:
1618: (1) Without -i it would output the name of each hard-linked file as
1619: though it had been changed; it now outputs a "is hard linked" message for
1620: the file. (2) With -i it would output all dots for the unchanged
1621: attributes of a hard-link; it now changes those dots to spaces, as is
1622: done for other totally unchanged items.
1623:
1624: - When backing up a changed symlink or device, get rid of any old backup
1625: item so that we don't get an "already exists" error.
1626:
1627: - A couple places that were comparing a local and a remote modification-
1628: time were not honoring the --modify-window option.
1629:
1630: - Fixed a bug where the 'p' (permissions) itemized-changes flag might get
1631: set too often (if some non-significant mode bits differed).
1632:
1633: - Fixed a really old, minor bug that could cause rsync to warn about being
1634: unable to mkdir() a path that ends in "/." because it just created the
1635: directory (required --relative, --no-implied-dirs, a source path that
1636: ended in either a trailing slash or a trailing "/.", and a non-existing
1637: destination dir to tickle the bug in a recent version).
1638:
1639: ENHANCEMENTS:
1640:
1641: - Made the "max verbosity" setting in the rsyncd.conf file settable on a
1642: per-module basis (which now matches the documentation).
1643:
1644: - The support/rrsync script has been upgraded to verify the args of options
1645: that take args (instead of rejecting any such options). The script was
1646: also changed to try to be more secure and to fix a problem in the parsing
1647: of a pull operation that has multiple sources.
1648:
1649: - Improved the documentation that explains the difference between a
1650: normal daemon transfer and a daemon-over remote-shell transfer.
1651:
1652: - Some of the diffs supplied in the patches dir were fixed and/or
1653: improved.
1654:
1655: BUILD CHANGES:
1656:
1657: - Made configure define NOBODY_USER (currently hard-wired to "nobody") and
1658: NOBODY_GROUP (set to either "nobody" or "nogroup" depending on what we
1659: find in the /etc/group file).
1660:
1661: - Added a test to the test suite, itemized.test, that tests the output of
1662: -i (log-format w/%i) and some double-verbose messages.
1663:
1664:
1665: NEWS for rsync 2.6.5 (1 Jun 2005)
1666: Protocol: 29 (unchanged)
1667: Changes since 2.6.4:
1668:
1669: OUTPUT CHANGES:
1670:
1671: - Non-printable chars in filenames are now output using backslash-
1672: escaped characters rather than '?'s. Any non-printable character is
1673: output using 3 digits of octal (e.g. "\n" -> "\012"), and a backslash
1674: is now output as "\\". Rsync also uses your locale setting, which
1675: can make it treat fewer high-bit characters as non-printable.
1676:
1677: - If rsync received an empty file-list when pulling files, it would
1678: output a "nothing to do" message and exit with a 0 (success) exit
1679: status, even if the remote rsync returned an error (it did not do
1680: this under the same conditions when pushing files). This was changed
1681: to make the pulling behavior the same as the pushing behavior: we
1682: now do the normal end-of-run outputting (depending on options) and
1683: exit with the appropriate exit status.
1684:
1685: BUG FIXES:
1686:
1687: - A crash bug was fixed when a daemon had its "path" set to "/", did
1688: not have chroot enabled, and used some anchored excludes in the
1689: rsyncd.conf file.
1690:
1691: - Fixed a bug in the transfer of a single file when -H is specified
1692: (rsync would either infinite loop or perhaps crash).
1693:
1694: - Fixed a case where the generator might try (and fail) to tweak the
1695: write-permissions of a read-only directory in list-only mode (this
1696: only caused an annoying warning message).
1697:
1698: - If --compare-dest or --link-dest uses a locally-copied file as the
1699: basis for an updated version, log this better when --verbose or -i
1700: is in effect.
1701:
1702: - Fixed the accidental disabling of --backup during the --delete-after
1703: processing.
1704:
1705: - Restored the ability to use the --address option in client mode (in
1706: addition to its use in daemon mode).
1707:
1708: - Make sure that some temporary progress information from the delete
1709: processing does not get left on the screen when it is followed by a
1710: newline.
1711:
1712: - When --existing skips a directory with extra verbosity, refer to it
1713: as a "directory", not a "file".
1714:
1715: - When transferring a single file to a different-named file, any
1716: generator messages that are source-file related no longer refer to
1717: the file by the destination filename.
1718:
1719: - Fixed a bug where hard-linking a group of files might fail if the
1720: generator hasn't created a needed destination directory yet.
1721:
1722: - Fixed a bug where a hard-linked group of files that is newly-linked
1723: to a file in a --link-dest dir doesn't link the files from the rest
1724: of the cluster.
1725:
1726: - When deleting files with the --one-file-system (-x) option set, rsync
1727: no longer tries to remove files from inside a mount-point on the
1728: receiving side. Also, we don't complain about being unable to remove
1729: the mount-point dir.
1730:
1731: - Fixed a compatibility problem when using --cvs-ignore (-C) and
1732: sending files to an older rsync without using --delete.
1733:
1734: - Make sure that a "- !" or "+ !" include/exclude pattern does not
1735: trigger the list-clearing action that is reserved for "!".
1736:
1737: - Avoid a timeout in the generator when the sender/receiver aren't
1738: handling the generator's checksum output quickly enough.
1739:
1740: - Fixed the omission of some directories in the delete processing when
1741: --relative (-R) was combined with a source path that had a trailing
1742: slash.
1743:
1744: - Fixed a case where rsync would erroneously delete some files and then
1745: re-transfer them when the options --relative (-R) and --recursive
1746: (-r) were both enabled (along with --delete) and a source path had a
1747: trailing slash.
1748:
1749: - Make sure that --max-size doesn't affect a device or a symlink.
1750:
1751: - Make sure that a system with a really small MAXPATHLEN does not cause
1752: the buffers in readfd_unbuffered() to be too small to receive normal
1753: messages. (This mainly affected Cygwin.)
1754:
1755: - If a source pathname ends with a filename of "..", treat it as if
1756: "../" had been specified (so that we don't copy files to the parent
1757: dir of the destination).
1758:
1759: - If --delete is combined with a file-listing rsync command (i.e. no
1760: transfer is happening), avoid outputting a warning that we couldn't
1761: delete anything.
1762:
1763: - If --stats is specified with --delete-after, ensure that all the
1764: "deleting" messages are output before the statistics.
1765:
1766: - Improved one "if" in the deletion code that was only checking errno
1767: for ENOTEMPTY when it should have also been checking for EEXIST (for
1768: compatibility with OS variations).
1769:
1770: ENHANCEMENTS:
1771:
1772: - Added the --only-write-batch=FILE option that may be used (instead
1773: of --write-batch=FILE) to create a batch file without doing any
1774: actual updating of the destination. This allows you to divert all
1775: the file-updating data away from a slow data link (as long as you
1776: are pushing the data to the remote server when creating the batch).
1777:
1778: - When the generator is taking a long time to fill up its output buffer
1779: (e.g. if the transferred files are few, small, or missing), it now
1780: periodically flushes the output buffer so that the sender/receiver
1781: can get started on the files sooner rather than later.
1782:
1783: - Improved the keep-alive code to handle a long silence between the
1784: sender and the receiver that can occur when the sender is receiving
1785: the checksum data for a large file.
1786:
1787: - Improved the auth-errors that are logged by the daemon to include
1788: some information on why the authorization failed: wrong user,
1789: password mismatch, etc. (The client-visible message is unchanged!)
1790:
1791: - Improved the client's handling of an "@ERROR" from a daemon so that
1792: it does not complain about an unexpectedly closed socket (since we
1793: really did expect the socket to close).
1794:
1795: - If the daemon can't open the log-file specified in rsyncd.conf, fall
1796: back to using syslog and log an appropriate warning. This is better
1797: than what was typically a totally silent (and fatal) failure (since a
1798: daemon is not usually run with the --no-detach option that was
1799: necessary to see the error on stderr).
1800:
1801: - The man pages now consistently refer to an rsync daemon as a "daemon"
1802: instead of a "server" (to distinguish it from the server process in a
1803: non-daemon transfer).
1804:
1805: - Made a small change to the rrsync script (restricted rsync -- in the
1806: support dir) to make a read-only server reject all --remove-* options
1807: when sending files (to future-proof it against the possibility of
1808: other similar options being added at some point).
1809:
1810: INTERNAL:
1811:
1812: - Rsync now calls setlocale(LC_CTYPE, ""). This enables isprint() to
1813: better discern which filename characters need to be escaped in
1814: messages (which should result in fewer escaped characters in some
1815: locales).
1816:
1817: - Improved the naming of the log-file open/reopen/close functions.
1818:
1819: - Removed some protocol-compatibility code that was only needed to help
1820: someone running a pre-release of 2.6.4.
1821:
1822: BUILD CHANGES:
1823:
1824: - Added configure option "--disable-locale" to disable any use of
1825: setlocale() in the binary.
1826:
1827: - Fixed a bug in the SUPPORT{,_HARD}_LINKS #defines which prevented
1828: rsync from being built without symlink or hard-link support.
1829:
1830: - Only #define HAVE_REMSH if it is going to be set to 1.
1831:
1832: - Configure now disables the use of mkstemp() under HP-UX (since they
1833: refuse to fix its broken handling of large files).
1834:
1835: - Configure now explicitly checks for the lseek64() function so that
1836: the code can use HAVE_LSEEK64 instead of inferring lseek64()'s
1837: presence based on the presence of the off64_t type.
1838:
1839: - Configure no longer mentions the change in the default remote-shell
1840: (from rsh to ssh) that occurred for the 2.6.0 release.
1841:
1842: - Some minor enhancements to the test scripts.
1843:
1844: - Added a few new *.diff files to the patches dir, including a patch
1845: that enables the optional copying of extended attributes.
1846:
1847:
1848: NEWS for rsync 2.6.4 (30 March 2005)
1849: Protocol: 29 (changed)
1850: Changes since 2.6.3:
1851:
1852: OUTPUT CHANGES:
1853:
1854: - When rsync deletes a directory and outputs a verbose message about
1855: it, it now appends a trailing slash to the name instead of (only
1856: sometimes) outputting a preceding "directory " string.
1857:
1858: - The --stats output will contain file-list time-statistics if both
1859: sides are 2.6.4, or if the local side is 2.6.4 and the files are
1860: being pushed (since the stats come from the sending side).
1861: (Requires protocol 29 for a pull.)
1862:
1863: - The "%o" (operation) log-format escape now has a third value (besides
1864: "send" and "recv"): "del." (with trailing dot to make it 4 chars).
1865: This changes the way deletions are logged in the daemon's log file.
1866:
1867: - When the --log-format option is combined with --verbose, rsync now
1868: avoids outputting the name of the file twice in most circumstances.
1869: As long as the --log-format item does not refer to any post-transfer
1870: items (such as %b or %c), the --log-format message is output prior to
1871: the transfer, so --verbose is now the equivalent of a --log-format of
1872: '%n%L' (which outputs the name and any link info). If the log output
1873: must occur after the transfer to be complete, the only time the name
1874: is also output prior to the transfer is when --progress was specified
1875: (so that the name will precede the progress stats, and the full
1876: --log-format output will come after).
1877:
1878: - Non-printable characters in filenames are replaced with a '?' to
1879: avoid corrupting the screen or generating empty lines in the output.
1880:
1881: BUG FIXES:
1882:
1883: - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
1884: was only treating it as a special token in an rsync include/exclude
1885: file).
1886:
1887: - The combination of --verbose and --dry-run now mentions the full list
1888: of changes that would be output without --dry-run.
1889:
1890: - Avoid a mkdir warning when removing a directory in the destination
1891: that already exists in the --backup-dir.
1892:
1893: - An OS that has a binary mode for its files (such as cygwin) needed
1894: setmode(fd, O_BINARY) called on the temp-file we opened with
1895: mkstemp(). (Fix derived from cygwin's 2.6.3 rsync package.)
1896:
1897: - Fixed a potential hang when verbosity is high, the client side is
1898: the sender, and the file-list is large.
1899:
1900: - Fixed a potential protocol-corrupting bug where the generator could
1901: merge a message from the receiver into the middle of a multiplexed
1902: packet of data if only part of that data had been written out to the
1903: socket when the message from the generator arrived.
1904:
1905: - We now check if the OS doesn't support using mknod() for creating
1906: FIFOs and sockets, and compile-in some compatibility code using
1907: mkfifo() and socket() when necessary.
1908:
1909: - Fixed an off-by-one error in the handling of --max-delete=N. Also,
1910: if the --max-delete limit is exceeded during a run, we now output a
1911: warning about this at the end of the run and exit with a new error
1912: code (25).
1913:
1914: - One place in the code wasn't checking if fork() failed.
1915:
1916: - The "ignore nonreadable" daemon parameter used to erroneously affect
1917: readable symlinks that pointed to a non-existent file.
1918:
1919: - If the OS does not have lchown() and a chown() of a symlink will
1920: affect the referent of a symlink (as it should), we no longer try
1921: to set the user and group of a symlink.
1922:
1923: - The generator now properly runs the hard-link loop and the dir-time
1924: rewriting loop after we're sure that the redo phase is complete.
1925:
1926: - When --backup was specified with --partial-dir=DIR, where DIR is a
1927: relative path, the backup code was erroneously trying to backup a
1928: file that was put into the partial-dir.
1929:
1930: - If a file gets resent in a single transfer and the --backup option is
1931: enabled along with --inplace, rsync no longer performs a duplicate
1932: backup (it used to overwrite the first backup with the failed file).
1933:
1934: - One call to flush_write_file() was not being checked for an error.
1935:
1936: - The --no-relative option was not being sent from the client to a
1937: server sender.
1938:
1939: - If an rsync daemon specified "dont compress = ..." for a file and the
1940: client tried to specify --compress, the libz code was not handling a
1941: compression level of 0 properly. This could cause a transfer failure
1942: if the block-size for a file was large enough (e.g. rsync might have
1943: exited with an error for large files).
1944:
1945: - Fixed a bug that would sometimes surface when using --compress and
1946: sending a file with a block-size larger than 64K (either manually
1947: specified, or computed due to the file being really large). Prior
1948: versions of rsync would sometimes fail to decompress the data
1949: properly, and thus the transferred file would fail its verification.
1950:
1951: - If a daemon can't open the specified log file (i.e. syslog is not
1952: being used), die without crashing. We also output an error about
1953: the failure on stderr (which will only be seen if --no-detach was
1954: specified) and exit with a new error code (6).
1955:
1956: - A local transfer no longer duplicates all its include/exclude options
1957: (since the forked process already has a copy of the exclude list,
1958: there's no need to send them a set of duplicates).
1959:
1960: - The output of the items that are being updated by the generator (dirs,
1961: symlinks, devices) is now intermingled in the proper order with the
1962: output from the items that the receiver is updating (regular files)
1963: when pulling. This misordering was particularly bad when --progress
1964: was specified. (Requires protocol 29.)
1965:
1966: - When --timeout is specified, lulls that occur in the transfer while
1967: the generator is doing work that does not generate socket traffic
1968: (looking for changed files, deleting files, doing directory-time
1969: touch-ups, etc.) will cause a new keep-alive packet to be sent that
1970: should keep the transfer going as long as the generator continues to
1971: make progress. (Requires protocol 29.)
1972:
1973: - The stat size of a device is not added to the total file size of the
1974: items in the transfer (the size might be undefined on some OSes).
1975:
1976: - Fixed a problem with refused-option messages sometimes not making it
1977: back to the client side when a remote --files-from was in effect and
1978: the daemon was the receiver.
1979:
1980: - The --compare-dest option was not updating a file that differed in
1981: (the preserved) attributes from the version in the compare-dest DIR.
1982:
1983: - When rsync is copying files into a write-protected directory, fixed
1984: the change-report output for the directory so that we don't report
1985: an identical directory as changed.
1986:
1987: ENHANCEMENTS:
1988:
1989: - Rsync now supports popt's option aliases, which means that you can
1990: use /etc/popt and/or ~/.popt to create your own option aliases.
1991:
1992: - Added the --delete-during (--del) option which will delete files
1993: from the receiving side incrementally as each directory in the
1994: transfer is being processed. This makes it more efficient than the
1995: default, before-the-transfer behavior, which is now also available as
1996: --delete-before (and is still the default --delete-WHEN option that
1997: will be chosen if --delete or --delete-excluded is specified without
1998: a --delete-WHEN choice). All the --del* options infer --delete, so
1999: an rsync daemon that refuses "delete" will still refuse to allow any
2000: file-deleting options (including the new --remove-sent-files option).
2001:
2002: - All the --delete-WHEN options are now more memory efficient:
2003: Previously an duplicate set of file-list objects was created on the
2004: receiving side for the entire destination hierarchy. The new
2005: algorithm only creates one directory of objects at a time (for files
2006: inside the transfer).
2007:
2008: - Added the --copy-dest option, which works like --link-dest except
2009: that it locally copies identical files instead of hard-linking them.
2010:
2011: - Added support for specifying multiple --compare-dest, --copy-dest, or
2012: --link-dest options, but only of a single type. (Promoted from the
2013: patches dir and enhanced.) (Requires protocol 29.)
2014:
2015: - Added the --max-size option. (Promoted from the patches dir.)
2016:
2017: - The daemon-mode options are now separated from the normal rsync
2018: options so that they can't be mixed together. This makes it
2019: impossible to start a daemon that has improper default option values
2020: (which could cause problems when a client connects, such as hanging
2021: or crashing).
2022:
2023: - The --bwlimit option may now be used in combination with --daemon
2024: to specify both a default value for the daemon side and a value
2025: that cannot be exceeded by a user-specified --bwlimit option.
2026:
2027: - Added the "port" parameter to the rsyncd.conf file. (Promoted from
2028: the patches dir.) Also added "address". The command-line options
2029: take precedence over a config-file option, as expected.
2030:
2031: - In _exit_cleanup(): when we are exiting with a partially-received
2032: file, we now flush any data in the write-cache before closing the
2033: partial file.
2034:
2035: - The --inplace support was enhanced to work with --compare-dest,
2036: --link-dest, and (the new) --copy-dest options. (Requires protocol
2037: 29.)
2038:
2039: - Added the --dirs (-d) option for an easier way to copy directories
2040: without recursion. Any directories that are encountered are created
2041: on the destination. Specifying a directory with a trailing slash
2042: copies its immediate contents to the destination.
2043:
2044: - The --files-from option now implies --dirs (-d).
2045:
2046: - Added the --list-only option, which is mainly a way for the client to
2047: put the server into listing mode without needing to resort to any
2048: internal option kluges (e.g. the age-old use of "-r --exclude="/*/*"
2049: for a non-recursive listing). This option is used automatically
2050: (behind the scenes) when a modern rsync speaks to a modern daemon,
2051: but may also be specified manually if you want to force the use of
2052: the --list-only option over a remote-shell connection.
2053:
2054: - Added the --omit-dir-times (-O) option, which will avoid updating
2055: the modified time for directories when --times was specified. This
2056: option will avoid an extra pass through the file-list at the end of
2057: the transfer (to tweak all the directory times), which may provide
2058: an appreciable speedup for a really large transfer. (Promoted from
2059: the patches dir.)
2060:
2061: - Added the --filter (-f) option and its helper option, -F. Filter
2062: rules are an extension to the existing include/exclude handling
2063: that also supports nested filter files as well as per-directory
2064: filter files (like .cvsignore, but with full filter-rule parsing).
2065: This new option was chosen in order to ensure that all existing
2066: include/exclude processing remained 100% compatible with older
2067: versions. Protocol 29 is needed for full filter-rule support, but
2068: backward-compatible rules work with earlier protocol versions.
2069: (Promoted from the patches dir and enhanced.)
2070:
2071: - Added the --delay-updates option that puts all updated files into
2072: a temporary directory (by default ".~tmp~", but settable via the
2073: --partial-dir=DIR option) until the end of the transfer. This
2074: makes the updates a little more atomic for a large transfer.
2075:
2076: - If rsync is put into the background, any output from --progress is
2077: reduced.
2078:
2079: - Documented the "max verbosity" setting for rsyncd.conf. (This
2080: setting was added a couple releases ago, but left undocumented.)
2081:
2082: - The sender and the generator now double-check the file-list index
2083: they are given, and refuse to try to do a file transfer on a
2084: non-file index (since that would indicate that something had gone
2085: very wrong).
2086:
2087: - Added the --itemize-changes (-i) option, which is a way to output a
2088: more detailed list of what files changed and in what way. The effect
2089: is the same as specifying a --log-format of "%i %n%L" (see both the
2090: rsync and rsyncd.conf manpages). Works with --dry-run too.
2091:
2092: - Added the --fuzzy (-y) option, which attempts to find a basis file
2093: for a file that is being created from scratch. The current algorithm
2094: only looks in the destination directory for the created file, but it
2095: does attempt to find a match based on size/mod-time (in case the file
2096: was renamed with no other changes) as well as based on a fuzzy
2097: name-matching algorithm. This option requires protocol 29 because it
2098: needs the new file-sorting order. (Promoted from patches dir and
2099: enhanced.) (Requires protocol 29.)
2100:
2101: - Added the --remove-sent-files option, which lets you move files
2102: between systems.
2103:
2104: - The hostname in HOST:PATH or HOST::PATH may now be an IPv6 literal
2105: enclosed in '[' and ']' (e.g. "[::1]"). (We already allowed IPv6
2106: literals in the rsync://HOST:PORT/PATH format.)
2107:
2108: - When rsync recurses to build the file list, it no longer keeps open
2109: one or more directory handles from the dir's parent dirs.
2110:
2111: - When building under windows, the default for --daemon is now to
2112: avoid detaching, requiring the new --detach option to force rsync
2113: to detach.
2114:
2115: - The --dry-run option can now be combined with either --write-batch or
2116: --read-batch, allowing you to run a do-nothing test command to see
2117: what would happen without --dry-run.
2118:
2119: - The daemon's "read only" config item now sets an internal read_only
2120: variable that makes extra sure that no write/delete calls on the
2121: read-only side can succeed.
2122:
2123: - The log-format % escapes can now have a numeric field width in
2124: between the % and the escape letter (e.g. "%-40n %08p").
2125:
2126: - Improved the option descriptions in the --help text.
2127:
2128: SUPPORT FILES:
2129:
2130: - Added atomic-rsync to the support dir: a perl script that will
2131: transfer some files using rsync, and then move the updated files into
2132: place all at once at the end of the transfer. Only works when
2133: pulling, and uses --link-dest and a parallel hierarchy of files to
2134: effect its update.
2135:
2136: - Added mnt-excl to the support dir: a perl script that takes the
2137: /proc/mounts file and translates it into a set of excludes that will
2138: exclude all mount points (even mapped mounts to the same disk). The
2139: excludes are made relative to the specified source dir and properly
2140: anchored.
2141:
2142: - Added savetransfer.c to the support dir: a C program that can make
2143: a copy of all the data that flows over the wire. This lets you test
2144: for data corruption (by saving the data on both the sending side and
2145: the receiving side) and provides one way to debug a protocol error.
2146:
2147: - Added rrsync to the support dir: this is an updated version of Joe
2148: Smith's restricted rsync perl script. This helps to ensure that only
2149: certain rsync commands can be run by an ssh invocation.
2150:
2151: INTERNAL:
2152:
2153: - Added better checking of the checksum-header values that come over
2154: the socket.
2155:
2156: - Merged a variety of file-deleting functions into a single function so
2157: that it is easier to maintain.
2158:
2159: - Improved the type of some variables (particularly blocksize vars) for
2160: consistency and proper size.
2161:
2162: - Got rid of the uint64 type (which we didn't need).
2163:
2164: - Use a slightly more compatible set of core #include directives.
2165:
2166: - Defined int32 in a way that ensures that the build dies if we can't
2167: find a variable with at least 32 bits.
2168:
2169: PROTOCOL DIFFERENCES FOR VERSION 29:
2170:
2171: - A 16-bit flag-word is transmitted after every file-list index. This
2172: indicates what is changing between the sender and the receiver. The
2173: generator now transmits an index and a flag-word to indicate when
2174: dirs and symlinks have changed (instead of producing a message),
2175: which makes the outputting of the information more consistent and
2176: less prone to screen corruption (because the local receiver/sender is
2177: now outputting all the file-change info messages).
2178:
2179: - If a file is being hard-linked, the ITEM_XNAME_FOLLOWS bit is enabled
2180: in the flag-word and the name of the file that was linked immediately
2181: follows in vstring format (see below).
2182:
2183: - If a file is being transferred with an alternate-basis file, the
2184: ITEM_BASIS_TYPE_FOLLOWS bit is enabled in the flag-word and a single
2185: byte follows, indicating what type of basis file was chosen. If that
2186: indicates that a fuzzy-match was selected, the ITEM_XNAME_FOLLOWS bit
2187: is set in the flag-word and the name of the match in vstring format
2188: follows the basis byte. A vstring is a variable length string that
2189: has its size written prior to the string, and no terminating null.
2190: If the string is from 1-127 bytes, the length is a single byte. If
2191: it is from 128-32767 bytes, the length is written as ((len >> 8) |
2192: 0x80) followed by (len % 0x100).
2193:
2194: - The sending of exclude names is done using filter-rule syntax. This
2195: means that all names have a prefixed rule indicator, even excludes
2196: (which used to be sent as a bare pattern, when possible). The -C
2197: option will include the per-dir .cvsignore merge file in the list of
2198: filter rules so it is positioned correctly (unlike in some older
2199: transfer scenarios).
2200:
2201: - Rsync sorts the filename list in a different way: it sorts the subdir
2202: names after the non-subdir names for each dir's contents, and it
2203: always puts a dir's contents immediately after the dir's name in the
2204: list. (Previously an item named "foo.txt" would sort in between
2205: directory "foo/" and "foo/bar".)
2206:
2207: - When talking to a protocol 29 rsync daemon, a list-only request
2208: is able to note this before the options are sent over the wire and
2209: the new --list-only option is included in the options.
2210:
2211: - When the --stats bytes are sent over the wire (or stored in a batch),
2212: they now include two elapsed-time values: one for how long it took to
2213: build the file-list, and one for how long it took to send it over the
2214: wire (each expressed in thousandths of a second).
2215:
2216: - When --delete-excluded is specified with some filter rules (AKA
2217: excludes), a client sender will now initiate a send of the rules to
2218: the receiver (older protocols used to omit the sending of excludes in
2219: this situation since there were no receiver-specific rules that
2220: survived --delete-excluded back then). Note that, as with all the
2221: filter-list sending, only items that are significant to the other
2222: side will actually be sent over the wire, so the filter-rule list
2223: that is sent in this scenario is often empty.
2224:
2225: - An index equal to the file-list count is sent as a keep-alive packet
2226: from the generator to the sender, which then forwards it on to the
2227: receiver. This normally invalid index is only a valid keep-alive
2228: packet if the 16-bit flag-word that follows it contains a single bit
2229: (ITEM_IS_NEW, which is normally an illegal flag to appear alone).
2230:
2231: - A protocol-29 batch file includes a bit for the setting of the --dirs
2232: option and for the setting of the --compress option. Also, the shell
2233: script created by --write-batch will use the --filter option instead
2234: of --exclude-from to capture any filter rules.
2235:
2236: BUILD CHANGES:
2237:
2238: - Handle an operating system that use mkdev() in place of makedev().
2239:
2240: - Improved configure to better handle cross-compiling.
2241:
2242:
2243: NEWS for rsync 2.6.3 (30 Sep 2004)
2244: Protocol: 28 (unchanged)
2245: Changes since 2.6.2:
2246:
2247: SECURITY FIXES:
2248:
2249: - A bug in the sanitize_path routine (which affects a non-chrooted
2250: rsync daemon) could allow a user to craft a pathname that would get
2251: transformed into an absolute path for certain options (but not for
2252: file-transfer names). If you're running an rsync daemon with chroot
2253: disabled, *please upgrade*, ESPECIALLY if the user privs you run
2254: rsync under is anything above "nobody".
2255:
2256: OUTPUT CHANGES (ATTN: those using a script to parse the verbose output):
2257:
2258: - Please note that the 2-line footer (output when verbose) now uses the
2259: term "sent" instead of "wrote" and "received" instead of "read". If
2260: you are not parsing the numeric values out of this footer, a script
2261: would be better off using the empty line prior to the footer as the
2262: indicator that the verbose output is over.
2263:
2264: - The output from the --stats option was similarly affected to change
2265: "written" to "sent" and "read" to "received".
2266:
2267: - Rsync ensures that a filename that contains a newline gets mentioned
2268: with each newline transformed into a question mark (which prevents a
2269: filename from causing an empty line to be output).
2270:
2271: - The "backed up ..." message that is output when at least 2 --verbose
2272: options are specified is now the same both with and without the
2273: --backup-dir option.
2274:
2275: BUG FIXES:
2276:
2277: - Fixed a crash bug that might appear when --delete was used and
2278: multiple source directories were specified.
2279:
2280: - Fixed a 32-bit truncation of the file length when generating the
2281: checksums.
2282:
2283: - The --backup code no longer attempts to create some directories
2284: over and over again (generating warnings along the way).
2285:
2286: - Fixed a bug in the reading of the secrets file (by the daemon) and
2287: the password file (by the client): the files no longer need to be
2288: terminated by a newline for their content to be read in.
2289:
2290: - If a file has a read error on the sending side or the reconstructed
2291: data doesn't match the expected checksum (perhaps due to the basis
2292: file changing during the transfer), the receiver will no longer
2293: retain the resulting file unless the --partial option was specified.
2294: (Note: for the read-error detection to work, neither side can be
2295: older than 2.6.3 -- older receivers will always retain the file, and
2296: older senders don't tell the receiver that the file had a read
2297: error.)
2298:
2299: - If a file gets resent in a single transfer and the --backup option
2300: is enabled, rsync no longer performs a duplicate backup (it used to
2301: overwrite the original file in the backup area).
2302:
2303: - Files specified in the daemon's "exclude" or "exclude from" config
2304: items are now excluded from being uploaded (assuming that the module
2305: allows uploading at all) in addition to the old download exclusion.
2306:
2307: - Got rid of a potential hang in the receiver when near the end of a
2308: phase.
2309:
2310: - When using --backup without a --backup-dir, rsync no longer preserves
2311: the modify time on directories. This avoids confusing NFS.
2312:
2313: - When --copy-links (-L) is specified, we now output a separate error
2314: for a symlink that has no referent instead of claiming that a file
2315: "vanished".
2316:
2317: - The --copy-links (-L) option no longer has the side-effect of telling
2318: the receiving side to follow symlinks. See the --keep-dirlinks
2319: option (mentioned below) for a way to specify that behavior.
2320:
2321: - Error messages from the daemon server's option-parsing (such as
2322: refused options) are now successfully transferred back to the client
2323: (the server used to fail to send the message because the socket
2324: wasn't in the right state for the message to get through).
2325:
2326: - Most transfer errors that occur during a daemon transfer are now
2327: returned to the user in addition to being logged (some messages are
2328: intended to be daemon-only and are not affected by this).
2329:
2330: - Fixed a bug in the daemon authentication code when using one of the
2331: batch-processing options.
2332:
2333: - We try to work around some buggy IPv6 implementations that fail to
2334: implement IPV6_V6ONLY. This should fix the "address in use" error
2335: that some daemons get when running on an OS with a buggy IPv6
2336: implementation. Also, if the new code gets this error, we might
2337: suggest that the user specify --ipv4 or --ipv6 (if we think it will
2338: help).
2339:
2340: - When the remote rsync dies, make a better effort to recover any error
2341: messages it may have sent before dying (the local rsync used to just
2342: die with a socket-write error).
2343:
2344: - When using --delete and a --backup-dir that contains files that are
2345: hard-linked to their destination equivalents, rsync now makes sure
2346: that removed files really get removed (avoids a really weird rename()
2347: behavior).
2348:
2349: - Avoid a bogus run-time complaint about a lack of 64-bit integers when
2350: the int64 type is defined as an off_t and it actually has 64-bits.
2351:
2352: - Added a configure check for open64() without mkstemp64() so that we
2353: can avoid using mkstemp() when such a combination is encountered.
2354: This bypasses a problem writing out large temp files on OSes such as
2355: AIX and HP-UX.
2356:
2357: - Fixed an age-old crash problem with --read-batch on a local copy
2358: (rsync was improperly assuming --whole-file for the local copy).
2359:
2360: - When --dry-run (-n) is used and the destination directory does not
2361: exist, rsync now produces a correct report of files that would be
2362: sent instead of dying with a chdir() error.
2363:
2364: - Fixed a bug that could cause a slow-to-connect rsync daemon to die
2365: with an error instead of waiting for the connection to finish.
2366:
2367: - Fixed an ssh interaction that could cause output to be lost when the
2368: user chose to combine the output of rsync's stdout and stderr (e.g.
2369: using the "2>&1").
2370:
2371: - Fixed an option-parsing bug when --files-from got passed to a daemon.
2372:
2373: ENHANCEMENTS:
2374:
2375: - Added the --partial-dir=DIR option that lets you specify where to
2376: (temporarily) put a partially transferred file (instead of over-
2377: writing the destination file). E.g. --partial-dir=.rsync-partial
2378: Also added support for the RSYNC_PARTIAL_DIR environment variable
2379: that, when found, transforms a regular --partial option (such as
2380: the convenient -P option) into one that also specifies a directory.
2381:
2382: - Added --keep-dirlinks (-K), which allows you to symlink a directory
2383: onto another partition on the receiving side and have rsync treat it
2384: as matching a normal directory from the sender.
2385:
2386: - Added the --inplace option that tells rsync to write each destination
2387: file without using a temporary file. The matching of existing data
2388: in the destination file can be severely limited by this, but there
2389: are also cases where this is more efficient (such as appending data).
2390: Use only when needed (see the man page for more details).
2391:
2392: - Added the "write only" option for the daemon's config file.
2393:
2394: - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
2395: and documented all these options in the man page.
2396:
2397: - Improved the handling of the --bwlimit option so that it's less
2398: bursty, more accurate, and works properly over a larger range of
2399: values.
2400:
2401: - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
2402: SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
2403:
2404: - Added the --checksum-seed=N option for advanced users.
2405:
2406: - Batch writing/reading has a brand-new implementation that is simpler,
2407: fixes a few weird problems with the old code (such as no longer
2408: sprinkling the batch files into different dirs or even onto different
2409: systems), and is much less intrusive into the code (making it easier
2410: to maintain for the future). The new code generates just one data
2411: file instead of three, which makes it possible to read the batch on
2412: stdin via a remote shell. Also, the old requirement of forcing the
2413: same fixed checksum-seed for all batch processing has been removed.
2414:
2415: - If an rsync daemon has a module set with "list = no" (which hides its
2416: presence in the list of available modules), a user that fails to
2417: authenticate gets the same "unknown module" error that they would get
2418: if the module were actually unknown (while still logging the real
2419: error to the daemon's log file). This prevents fishing for module
2420: names.
2421:
2422: - The daemon's "refuse options" config item now allows you to match
2423: option names using wildcards and/or the single-letter option names.
2424:
2425: - Each transferred file now gets its permissions and modified-time
2426: updated before the temp-file gets moved into place. Previously, the
2427: finished file would have a very brief window where its permissions
2428: disallowed all group and world access.
2429:
2430: - Added the ability to parse a literal IPv6 address in an "rsync:" URL
2431: (e.g. rsync://[2001:638:500:101::21]:873/module/dir).
2432:
2433: - The daemon's wildcard expanding code can now handle more than 1000
2434: filenames (it's now limited by memory instead of having a hard-wired
2435: limit).
2436:
2437: INTERNAL:
2438:
2439: - Some cleanup in the exclude code has saved some per-exclude memory
2440: and made the code easier to maintain.
2441:
2442: - Improved the argv-overflow checking for a remote command that has a
2443: lot of args.
2444:
2445: - Use rsyserr() in the various places that were still calling rprintf()
2446: with strerror() as an arg.
2447:
2448: - If an rsync daemon is listening on multiple sockets (to handle both
2449: IPv4 and IPv6 to a single port), we now close all the unneeded file
2450: handles after we accept a connection (we used to close just one of
2451: them).
2452:
2453: - Optimized the handling of larger block sizes (rsync used to slow to a
2454: crawl if the block size got too large).
2455:
2456: - Optimized away a loop in hash_search().
2457:
2458: - Some improvements to the sanitize_path() and clean_fname() functions
2459: makes them more efficient and produce better results (while still
2460: being compatible with the file-name cleaning that gets done on both
2461: sides when sending the file-list).
2462:
2463: - Got rid of alloc_sanitize_path() after adding a destination-buffer
2464: arg to sanitize_path() made it possible to put all the former's
2465: functionality into the latter.
2466:
2467: - The file-list that is output when at least 4 verbose options are
2468: specified reports the uid value on the sender even when rsync is
2469: not running as root (since we might be sending to a root receiver).
2470:
2471: BUILD CHANGES:
2472:
2473: - Added a "gen" target to rebuild most of the generated files,
2474: including configure, config.h.in, the man pages, and proto.h.
2475:
2476: - If "make proto" doesn't find some changes in the prototypes, the
2477: proto.h file is left untouched (its time-stamp used to always be
2478: updated).
2479:
2480: - The variable $STRIP (that is optionally set by the install-strip
2481: target's rule) was changed to $INSTALL_STRIP because some systems
2482: have $STRIP already set in the environment.
2483:
2484: - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
2485:
2486: - When cross-compiling, the gettimeofday() function is now assumed to
2487: be a modern version that takes two-args (since we can't test it).
2488:
2489: DEVELOPER RELATED:
2490:
2491: - The scripts in the testsuite dir were cleaned up a bit and a few
2492: new tests added.
2493:
2494: - Some new diffs were added to the patches dir, and some accepted
2495: ones were removed.
2496:
2497:
2498: NEWS for rsync 2.6.2 (30 Apr 2004)
2499: Protocol: 28 (unchanged)
2500: Changes since 2.6.1:
2501:
2502: BUG FIXES:
2503:
2504: - Fixed a major bug in the sorting of the filenames when --relative
2505: is used for some sources (just sources such as "/" and "/*" were
2506: affected). This fix ensures that we ask for the right file-list
2507: item when requesting changes from the sender.
2508:
2509: - Rsync now checks the return value of the close() function to
2510: better report disk-full problems on an NFS file system.
2511:
2512: - Restored the old daemon-server behavior of logging error messages
2513: rather than returning them to the user. (A better long-term fix
2514: will be sought in the future.)
2515:
2516: - An obscure uninitialized-variable bug was fixed in the uid/gid
2517: code. (This bug probably had no ill effects.)
2518:
2519: BUILD CHANGES:
2520:
2521: - Got rid of the configure check for sys/sysctl.h (it wasn't used
2522: and was causing a problem on some systems). Also improved the
2523: broken-largefile-locking test to try to avoid failure due to an
2524: NFS build-dir.
2525:
2526: - Fixed a compile problem on systems that don't define
2527: AI_NUMERICHOST.
2528:
2529: - Fixed a compile problem in the popt source for compilers that
2530: don't support __attribute__.
2531:
2532: DEVELOPER RELATED:
2533:
2534: - Improved the testsuite's "merge" test to work on OSF1.
2535:
2536: - Two new diffs were added to the patches dir.
2537:
2538:
2539: NEWS for rsync 2.6.1 (26 Apr 2004)
2540: Protocol: 28 (changed)
2541: Changes since 2.6.0:
2542:
2543: SECURITY FIXES:
2544:
2545: - Paths sent to an rsync daemon are more thoroughly sanitized when
2546: chroot is not used. If you're running a non-read-only rsync
2547: daemon with chroot disabled, *please upgrade*, ESPECIALLY if the
2548: user privs you run rsync under is anything above "nobody".
2549:
2550: ENHANCEMENTS:
2551:
2552: - Lower memory use, more optimal transfer of data over the socket,
2553: and lower CPU usage (see the INTERNAL section for details).
2554:
2555: - The RSYNC_PROXY environment variable can now contain a
2556: "USER:PASS@" prefix before the "HOST:PORT" information.
2557: (Bardur Arantsson)
2558:
2559: - The --progress output now mentions how far along in the transfer
2560: we are, including both a count of files transferred and a
2561: percentage of the total file-count that we've processed. It also
2562: shows better current-rate-of-transfer and remaining-transfer-time
2563: values.
2564:
2565: - Documentation changes now attempt to describe some often mis-
2566: understood features more clearly.
2567:
2568: BUG FIXES:
2569:
2570: - When -x (--one-file-system) is combined with -L (--copy-links) or
2571: --copy-unsafe-links, no symlinked files are skipped, even if the
2572: referent file is on a different filesystem.
2573:
2574: - The --link-dest code now works properly for a non-root user when
2575: (1) the UIDs of the source and destination differ and -o was
2576: specified, or (2) when the group of the source can't be used on
2577: the destination and -g was specified.
2578:
2579: - Fixed a bug in the handling of -H (hard-links) that might cause
2580: the expanded PATH/NAME value of the current item to get
2581: overwritten (due to an expanded-name caching bug).
2582:
2583: - We now reset the "new data has been sent" flag at the start of
2584: each file we send. This makes sure that an interrupted transfer
2585: with the --partial option set doesn't keep a shorter temp file
2586: than the current basis file when no new data has been transferred
2587: over the wire for that file.
2588:
2589: - Fixed a byte-order problem in --batch-mode on big-endian machines.
2590: (Jay Fenlason)
2591:
2592: - When using --cvs-exclude, the exclude items we get from a
2593: per-directory's .cvsignore file once again only affect that one
2594: directory (not all following directories too). The items are also
2595: now properly word-split and parsed without any +/- prefix parsing.
2596:
2597: - When specifying the USER@HOST: prefix for a file, the USER part
2598: can now contain an '@', if needed (i.e. the last '@' is used to
2599: find the HOST, not the first).
2600:
2601: - Fixed some bugs in the handling of group IDs for non-root users:
2602: (1) It properly handles a group that the sender didn't have a name
2603: for (it would previously skip changing the group on any files in
2604: that group). (2) If --numeric-ids is used, rsync no longer
2605: attempts to set groups that the user doesn't have the permission
2606: to set.
2607:
2608: - Fixed the "refuse options" setting in the rsyncd.conf file.
2609:
2610: - Improved the -x (--one-file-system) flag's handling of any mount-
2611: point directories we encounter. It is both more optimal (in that
2612: it no longer does a useless scan of the contents of the mount-
2613: point dirs) and also fixes a bug where a remapped mount of the
2614: original filesystem could get discovered in a subdir we should be
2615: ignoring.
2616:
2617: - Rsync no longer discards a double-slash at the start of a filename
2618: when trying to open the file. It also no longer constructs names
2619: that start with a double slash (unless the user supplied them).
2620:
2621: - Path-specifying options to a daemon should now work the same with
2622: or without chroot turned on. Previously, such a option (such as
2623: --link-dest) would get its absolute path munged into a relative
2624: one if chroot was not on, making that setting fairly useless.
2625: Rsync now transforms the path into one that is based on the
2626: module's base dir when chroot is not enabled.
2627:
2628: - Fixed a compatibility problem interacting with older rsync
2629: versions that might send us an empty --suffix value without
2630: telling us that --backup-dir was specified.
2631:
2632: - The "hosts allow" option for a daemon-over-remote-shell process
2633: now has improved support for IPv6 addresses and a fix for systems
2634: that have a length field in their socket structs.
2635:
2636: - Fixed the ability to request an empty backup --suffix when sending
2637: files to an rsync daemon.
2638:
2639: - Fixed an option-parsing bug when --files-from was sent to a server
2640: sender.
2641:
2642: INTERNAL:
2643:
2644: - Most of the I/O is now buffered, which results in a pretty large
2645: speedup when running under MS Windows. (Craig Barratt)
2646:
2647: - Optimizations to the name-handling/comparing code have made some
2648: significant reductions in user-CPU time for large file sets.
2649:
2650: - Some cleanup of the variable types make the code more consistent.
2651:
2652: - Reduced memory requirements of hard link preservation.
2653: (J.W. Schultz)
2654:
2655: - Implemented a new algorithm for hard-link handling that speeds up
2656: the code significantly. (J.W. Schultz and Wayne Davison)
2657:
2658: - The --hard-link option now uses the first existing file in the
2659: group of linked files as the basis for the transfer. This
2660: prevents the sub-optimal transfer of a file's data when a new
2661: hardlink is added on the sending side and it sorts alphabetically
2662: earlier in the list than the files that are already present on the
2663: receiving side.
2664:
2665: - Dropped support for protocol versions less than 20 (2.3.0 released
2666: 15 Mar 1999) and activated warnings for protocols less than 25
2667: (2.5.0 released 23 Aug 2001). (Wayne Davison and J.W. Schultz,
2668: severally)
2669:
2670: - More optimal data transmission for --hard-links (protocol 28).
2671:
2672: - More optimal data transmission for --checksum (protocol 28).
2673:
2674: - Less memory is used when --checksum is specified.
2675:
2676: - Less memory is used in the file list (a per-file savings).
2677:
2678: - The generator is now better about not modifying the file list
2679: during the transfer in order to avoid a copy-on-write memory
2680: bifurcation (on systems where fork() uses shared memory).
2681: Previously, rsync's shared memory would slowly become unshared,
2682: resulting in real memory usage nearly doubling on the receiving
2683: side by the end of the transfer. Now, as long as permissions
2684: are being preserved, the shared memory should remain that way
2685: for the entire transfer.
2686:
2687: - Changed hardlink info and file_struct + strings to use allocation
2688: pools. This reduces memory use for large file-sets and permits
2689: freeing memory to the OS. (J.W. Schultz)
2690:
2691: - The 2 pipes used between the receiver and generator processes
2692: (which are forked on the same machine) were reduced to 1 pipe and
2693: the protocol improved so that (1) it is now impossible to have the
2694: "redo" pipe fill up and hang rsync, and (2) trailing messages from
2695: the receiver don't get lost on their way through the generator
2696: over to the sender (which mainly affected hard-link messages and
2697: verbose --stats output).
2698:
2699: - Improved the internal uid/gid code to be more portable and a
2700: little more optimized.
2701:
2702: - The device numbers sent when using --devices are now sent as
2703: separate major/minor values with 32-bit accuracy (protocol 28).
2704: Previously, the copied devices were sent as a single 32-bit
2705: number. This will make inter-operation of 64-bit binaries more
2706: compatible with their 32-bit brethren (with both ends of the
2707: connection are using protocol 28). Note that optimizations in the
2708: binary protocol for sending the device numbers often results in
2709: fewer bytes being used than before, even though more precision is
2710: now available.
2711:
2712: - Some cleanup of the exclude/include structures and its code made
2713: things clearer (internally), simpler, and more efficient.
2714:
2715: - The reading & writing of the file-list in batch-mode is now
2716: handled by the same code that sends & receives the list over the
2717: wire. This makes it much easier to maintain. (Note that the
2718: batch code is still considered to be experimental.)
2719:
2720: BUILD CHANGES:
2721:
2722: - The configure script now accepts --with-rsyncd-conf=PATH to
2723: override the default value of the /etc/rsyncd.conf file.
2724:
2725: - Fixed configure bug when running "./configure --disable-ipv6".
2726:
2727: - Fixed compilation problem on Tru64 Unix (having to do with
2728: sockaddr.sa_len and sockaddr.sin_len).
2729:
2730: DEVELOPER RELATED:
2731:
2732: - Fixed "make test" bug when build dir is not the source dir.
2733:
2734: - Added a couple extra diffs in the "patches" dir, removed the ones
2735: that got applied, and rebuilt the rest.
2736:
2737:
2738: NEWS for rsync 2.6.0 (1 Jan 2004)
2739: Protocol: 27 (changed)
2740: Changes since 2.5.7:
2741:
2742: ENHANCEMENTS:
2743:
2744: * "ssh" is now the default remote shell for rsync. If you want to
2745: change this, configure like this: "./configure --with-rsh=rsh".
2746:
2747: * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
2748: Note that --from0 affects the line-ending character for all the
2749: files read by the --*-from options. (Wayne Davison)
2750:
2751: * Length of csum2 is now per-file starting with protocol version
2752: 27. (J.W. Schultz)
2753:
2754: * Per-file dynamic block size is now sqrt(file length). The
2755: per-file checksum size is determined according to an algorithm
2756: provided by Donovan Baarda which reduces the probability of rsync
2757: algorithm corrupting data and falling back using the whole md4
2758: checksums. (J.W. Schultz, Donovan Baarda)
2759:
2760: * The --stats option no longer includes the (debug) malloc summary
2761: unless the verbose option was specified at least twice.
2762:
2763: * Added a new error/warning code for when files vanish from the
2764: sending side. Made vanished source files not interfere with the
2765: file-deletion pass when --delete-after was specified.
2766:
2767: * Various trailing-info sections are now preceded by a newline.
2768:
2769: BUG FIXES:
2770:
2771: * Fixed several exclude/include matching bugs when using wild-cards.
2772: This has a several user-visible effects, all of which make the
2773: matching more consistent and intuitive. This should hopefully not
2774: cause anyone problems since it makes the matching work more like
2775: what people are expecting. (Wayne Davison)
2776:
2777: - A pattern with a "**" no longer causes a "*" to match slashes.
2778: For example, with "/*/foo/**", "foo" must be 2 levels deep.
2779: [If your string has BOTH "*" and "**" wildcards, changing the
2780: "*" wildcards to "**" will provide the old behavior in all
2781: versions.]
2782:
2783: - "**/foo" now matches at the base of the transfer (like /foo
2784: does). [Use "/**/foo" to get the old behavior in all versions.]
2785:
2786: - A non-anchored wildcard term floats to match beyond the base of
2787: the transfer. E.g. "CVS/R*" matches at the end of the path,
2788: just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
2789: to get the old behavior in all versions.]
2790:
2791: - Including a "**" in the match term causes it to be matched
2792: against the entire path, not just the name portion, even if
2793: there aren't any interior slashes in the term. E.g. "foo**bar"
2794: would exclude "/path/foo-bar" (just like before) as well as
2795: "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
2796: old behavior in all versions.]
2797:
2798: * The exclude list specified in the daemon's config file is now
2799: properly applied to the pulled items no matter how deep the
2800: user's file-args are in the source tree. (Wayne Davison)
2801:
2802: * For protocol version >= 27, mdfour_tail() is called when the
2803: block size (including checksum_seed) is a multiple of 64.
2804: Previously it was not called, giving the wrong MD4 checksum.
2805: (Craig Barratt)
2806:
2807: * For protocol version >= 27, a 64 bit bit counter is used in
2808: mdfour.c as required by the RFC. Previously only a 32 bit bit
2809: counter was used, causing incorrect MD4 file checksums for
2810: file sizes >= 512MB - 4. (Craig Barratt)
2811:
2812: * Fixed a crash bug when interacting with older rsync versions and
2813: multiple files of the same name are destined for the same dir.
2814: (Wayne Davison)
2815:
2816: * Keep tmp names from overflowing MAXPATHLEN.
2817:
2818: * Make --link-dest honor the absence of -p, -o, and -g.
2819:
2820: * Made rsync treat a trailing slash in the destination in a more
2821: consistent manner.
2822:
2823: * Fixed file I/O error detection. (John Van Essen)
2824:
2825: * Fixed bogus "malformed address {hostname}" message in rsyncd log
2826: when checking IP address against hostnames from "hosts allow"
2827: and "hosts deny" parameters in config file.
2828:
2829: * Print heap statistics when verbose >= 2 instead of when >= 1.
2830:
2831: * Fixed a compression (-z) bug when syncing a mostly-matching file
2832: that contains already-compressed data. (Yasuoka Masahiko and
2833: Wayne Davison)
2834:
2835: * Fixed a bug in the --backup code that could cause deleted files
2836: to not get backed up.
2837:
2838: * When the backup code makes new directories, create them with mode
2839: 0700 instead of 0755 (since the directory permissions in the
2840: backup tree are not yet copied from the main tree).
2841:
2842: * Call setgroups() in a more portable manner.
2843:
2844: * Improved file-related error messages to better indicate exactly
2845: what pathname failed. (Wayne Davison)
2846:
2847: * Fixed some bugs in the handling of --delete and --exclude when
2848: using the --relative (-R) option. (Wayne Davison)
2849:
2850: * Fixed bug that prevented regular files from replacing
2851: special files and caused a directory in --link-dest or
2852: --compare-dest to block the creation of a file with the
2853: same path. A directory still cannot be replaced by a
2854: regular file unless --delete specified. (J.W. Schultz)
2855:
2856: * Detect and report when open or opendir succeed but read and
2857: readdir fail caused by network filesystem issues and truncated
2858: files. (David Norwood, Michael Brown, J.W. Schultz)
2859:
2860: * Added a fix that should give ssh time to restore the tty settings
2861: if the user presses Ctrl-C at an ssh password prompt.
2862:
2863: INTERNAL:
2864:
2865: * Eliminated vestigial support for old versions that we stopped
2866: supporting. (J.W. Schultz)
2867:
2868: * Simplified some of the option-parsing code. (Wayne Davison)
2869:
2870: * Some cleanup made to the exclude code, as well as some new
2871: defines added to enhance readability. (Wayne Davison)
2872:
2873: * Changed the protocol-version code so that it can interact at a
2874: lower protocol level than the maximum supported by both sides.
2875: Added an undocumented option, --protocol=N, to force the value
2876: we advertise to the other side (primarily for testing purposes).
2877: (Wayne Davison)
2878:
2879:
2880: NEWS for rsync 2.5.7 (4 Dec 2003)
2881: Protocol: 26 (unchanged)
2882: Changes since 2.5.6:
2883:
2884: SECURITY FIXES:
2885:
2886: * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
2887: Russell, Andrea Barisani)
2888:
2889:
2890: NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
2891: Protocol: 26 (unchanged)
2892: Changes since 2.5.5:
2893:
2894: ENHANCEMENTS:
2895:
2896: * The --delete-after option now implies --delete. (Wayne Davison)
2897:
2898: * The --suffix option can now be used with --backup-dir. (Michael
2899: Zimmerman)
2900:
2901: * Combining "::" syntax with the --rsh/-e option now uses the
2902: specified remote-shell as a transport to talk to a (newly-spawned)
2903: server-daemon. This allows someone to use daemon features, such
2904: as modules, over a secure protocol, such as ssh. (JD Paul)
2905:
2906: * The rsync:// syntax for daemon connections is now accepted in the
2907: destination field.
2908:
2909: * If the file name given to --include-from or --exclude-from is "-",
2910: rsync will read from standard input. (J.W. Schultz)
2911:
2912: * New option --link-dest which is like --compare-dest except that
2913: unchanged files are hard-linked in to the destination directory.
2914: (J.W. Schultz)
2915:
2916: * Don't report an error if an excluded file disappears during an
2917: rsync run. (Eugene Chupriyanov and Bo Kersey)
2918:
2919: * Added .svn to --cvs-exclude list to support subversion. (Jon
2920: Middleton)
2921:
2922: * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
2923: and "hosts deny" fields. (Hideaki Yoshifuji)
2924:
2925: * Changed exclude file handling to permit DOS or MAC style line
2926: terminations. (J.W. Schultz)
2927:
2928: * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
2929: (Dave Dykstra)
2930:
2931: BUG FIXES:
2932:
2933: * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
2934: L. Allen, Martin Pool)
2935:
2936: * Generate each file's rolling-checksum data as we send it, not
2937: in a separate (memory-eating) pass before hand. This prevents
2938: timeout errors on really large files. (Stefan Nehlsen)
2939:
2940: * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
2941:
2942: * Better handling of some client-server errors. (Martin Pool)
2943:
2944: * Fixed a crash that would occur when sending a list of files that
2945: contains a duplicate name (if it sorts to the end of the file
2946: list) and using --delete. (Wayne Davison)
2947:
2948: * Fixed the file-name duplicate-removal code when dealing with multiple
2949: dups in a row. (Wayne Davison)
2950:
2951: * Fixed a bug that caused rsync to lose the exit status of its child
2952: processes and sometimes return an exit code of 0 instead of showing
2953: an error. (David R. Staples, Dave Dykstra)
2954:
2955: * Fixed bug in --copy-unsafe-links that caused it to be completely
2956: broken. (Dave Dykstra)
2957:
2958: * Prevent infinite recursion in cleanup code under certain circumstances.
2959: (Sviatoslav Sviridov and Marc Espie)
2960:
2961: * Fixed a bug that prevented rsync from creating intervening directories
2962: when --relative-paths/-R is set. (Craig Barratt)
2963:
2964: * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
2965:
2966: INTERNAL:
2967:
2968: * Many code cleanups and improved internal documentation. (Martin
2969: Pool, Nelson Beebe)
2970:
2971: * Portability fixes. (Dave Dykstra and Wayne Davison)
2972:
2973: * More test cases. (Martin Pool)
2974:
2975: * Some test-case fixes. (Brian Poole, Wayne Davison)
2976:
2977: * Updated included popt to the latest vendor drop, version 1.6.4.
2978: (Jos Backus)
2979:
2980: * Updated config.guess and config.sub to latest versions; this
2981: means rsync should build on more platforms. (Paul Green)
2982:
2983:
2984: NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
2985: Protocol: 26 (unchanged)
2986: Changes since 2.5.4:
2987:
2988: ENHANCEMENTS:
2989:
2990: * With --progress, when a transfer is complete show the time taken;
2991: otherwise show expected time to complete. (Cameron Simpson)
2992:
2993: * Make "make install-strip" works properly, and "make install"
2994: accepts a DESTDIR variable for help in building binary packages.
2995: (Peter Breitenlohner, Greg Louis)
2996:
2997: * If configured with --enable-maintainer-mode, then on receipt of
2998: a fatal signal rsync will try to open an xterm running gdb,
2999: similarly to Samba's "panic action" or GNOME's bug-buddy.
3000: (Martin Pool)
3001:
3002:
3003: BUG FIXES:
3004:
3005: * Fix situation where failure to fork (e.g. because out of process
3006: slots) would cause rsync to kill all processes owned by the
3007: current user. Yes, really! (Paul Haas, Martin Pool)
3008:
3009: * Fix test suite on Solaris. (Jos Backus, Martin Pool)
3010:
3011: * Fix minor memory leak in socket code. (Dave Dykstra, Martin
3012: Pool.)
3013:
3014: * Fix --whole-file problem that caused it to be the default even
3015: for remote connections. (Martin Pool, Frank Schulz)
3016:
3017: * Work around bug in Mac OS X mkdir(2), which cannot handle
3018: trailing slashes.
3019: <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
3020: (Martin Pool)
3021:
3022: * Improved network error handling. (Greg A. Woods)
3023:
3024:
3025: NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
3026: Protocol: 26 (unchanged)
3027: Changes since 2.5.3:
3028:
3029: BUG FIXES:
3030:
3031: * Additional fix for zlib double-free bug. (Martin Pool, Andrew
3032: Tridgell) (CVE CAN-2002-0059)
3033:
3034: ENHANCEMENTS:
3035:
3036: * Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
3037: (Note that rsync still uses a custom version of zlib; you can
3038: not just link against a system library. See zlib/README.rsync)
3039:
3040: * Additional test cases for --compress. (Martin Pool)
3041:
3042:
3043: NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
3044: Protocol: 26 (unchanged)
3045: Changes since 2.5.2:
3046:
3047: SECURITY FIXES:
3048:
3049: * Make sure that supplementary groups are removed from a server
3050: process after changing uid and gid. (Ethan Benson) (Debian bug
3051: #132272, CVE CAN-2002-0080)
3052:
3053: BUG FIXES:
3054:
3055: * Fix zlib double-free bug. (Owen Taylor, Mark J Cox) (CVE
3056: CAN-2002-0059)
3057:
3058: * Fixed problem that in many cases caused the error message
3059: unexpected read size of 0 in map_ptr
3060: and resulted in the wrong data being copied.
3061:
3062: * Fixed compilation errors on some systems caused by the use of
3063: "unsigned int64" in rsync.h.
3064:
3065: * Fixed problem on systems such as Sunos4 that do not support realloc
3066: on a NULL pointer; error was "out of memory in flist_expand".
3067:
3068: * Fix for rsync server processes hanging around after the client
3069: unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
3070:
3071: * Cope with BSD systems on which mkdir() will not accept a trailing
3072: slash.
3073:
3074: ENHANCEMENTS:
3075:
3076: * Merge in changes from zlib 1.1.2 to zlib 1.1.3. (Note that
3077: rsync still uses a custom version of zlib; you can not just link
3078: against a system library. See zlib/README.rsync)
3079:
3080: * Command to initiate connections is only shown with -vv, rather
3081: than -v as in 2.5.2. Output from plain -v is more similar to
3082: what was historically used so as not to break scripts that try
3083: to parse the output.
3084:
3085: * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
3086:
3087: * Made the --write-batch and --read-batch options actually work
3088: and added documentation in the man page (Jos Backus)
3089:
3090: * If the daemon is unable to fork a child to accept a connection,
3091: print an error message. (Colin Walters)
3092:
3093:
3094: NEWS for rsync 2.5.2 (26 Jan 2002)
3095: Protocol: 26 (changed)
3096: Changes since 2.5.1:
3097:
3098: SECURITY FIXES:
3099:
3100: * Signedness security patch from Sebastian Krahmer
3101: <krahmer@suse.de> -- in some cases we were not sufficiently
3102: careful about reading integers from the network.
3103:
3104: BUG FIXES:
3105:
3106: * Fix possible string mangling in log files.
3107:
3108: * Fix for setting local address of outgoing sockets.
3109:
3110: * Better handling of hardlinks and devices on platforms with
3111: 64-bit dev_t or ino_t.
3112:
3113: * Name resolution on machines supporting IPv6 is improved.
3114:
3115: * Fix for device nodes. (dann frazier) (Debian #129135)
3116:
3117: ENHANCEMENTS:
3118:
3119: * With -v, rsync now shows the command used to initiate an ssh/rsh
3120: connection.
3121:
3122: * --statistics now shows memory heap usage on platforms that
3123: support mallinfo().
3124:
3125: * "The Ted T'so school of program optimization": make progress
3126: visible and people will think it's faster. (With --progress,
3127: rsync will show you how many files it has seen as it builds the
3128: file_list, giving some indication that it has not hung.)
3129:
3130: * Improvements to batch mode support. This is still experimental
3131: but testing would be welcome. (Jos Backus)
3132:
3133: * New --ignore-existing option, patch previously distributed with
3134: Vipul's Razor. (Debian #124286)
3135:
3136:
3137: NEWS for rsync 2.5.1 (3 Jan 2002)
3138: Protocol: 25 (unchanged)
3139: Changes since 2.5.0:
3140:
3141: BUG FIXES:
3142:
3143: * Fix for segfault in --daemon mode configuration parser. (Paul
3144: Mackerras)
3145:
3146: * Correct string<->address parsing for both IPv4 and 6.
3147: (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
3148: Hagino)
3149:
3150: * Various fixes for IPv6 support. (Dave Dykstra)
3151:
3152: * rsync.1 typo fix. (Matt Kraai)
3153:
3154: * Test suite typo fixes. (Tom Schmidt)
3155:
3156: * rsync.1 grammar and clarity improvements. (Edward
3157: Welbourne)
3158:
3159: * Correction to ./configure tests for inet_ntop. (Jeff Garzik)
3160:
3161: ENHANCEMENTS:
3162:
3163: * --progress and -P now show estimated data transfer rate (in a
3164: multiple of bytes/s) and estimated time to completion. (Rik
3165: Faith)
3166:
3167: * --no-detach option, required to run as a W32 service and also
3168: useful when running on Unix under daemontools, AIX's SRC, or a
3169: debugger. (Max Bowsher, Jos Backus)
3170:
3171: * Clearer error messages for some conditions.
3172:
3173:
3174: NEWS for rsync 2.5.0 (30 Nov 2001)
3175: Protocol: 25 (changed)
3176: Changes since 2.4.6:
3177:
3178: ANNOUNCEMENTS
3179:
3180: * Martin Pool <mbp@samba.org> is now a co-maintainer.
3181:
3182: NEW FEATURES
3183:
3184: * Support for LSB-compliant packaging <http://www.linuxbase.org/>
3185:
3186: * Shell wildcards are allowed in "auth users" lines.
3187:
3188: * Merged UNC rsync+ patch to support creation of standalone patch
3189: sets. By Bert J. Dempsey and Debra Weiss, updated by Jos
3190: Backus. <http://www.ils.unc.edu/i2dsi/unc_rsync+.html>
3191:
3192: * IPv6 support based on a patch from KAME.net, on systems
3193: including modern versions of Linux, Solaris, and HP-UX. Also
3194: includes IPv6 compatibility functions for old OSs by the
3195: Internet Software Consortium, Paul Vixie, the OpenSSH
3196: portability project, and OpenBSD.
3197:
3198: ENHANCEMENTS
3199:
3200: * Include/exclude cluestick: with -vv, print out whether files are
3201: included or excluded and why.
3202:
3203: * Many error messages have more friendly explanations and more
3204: details.
3205:
3206: * Manual page improvements plus scanty protocol documentation.
3207:
3208: * When running as --daemon in the background and using a "log
3209: file" rsyncd.conf directive, close the log file every time it is
3210: open when going to sleep on the socket. This allows the log
3211: file to get cleaned out by another process.
3212:
3213: * Change to using libpopt rather than getopt for processing
3214: options. This makes the code cleaner and the behaviour more
3215: consistent across platforms. popt is included and built if not
3216: installed on the platform.
3217:
3218: * More details in --version, including note about whether 64-bit
3219: files, symlinks and hardlinks are supported.
3220:
3221: * MD4 code may use less CPU cycles.
3222:
3223: * Use mkstemp on systems where it is secure. If we use mktemp,
3224: explain that we do it in a secure way.
3225:
3226: * --whole-file is the default when source and target are on the
3227: local machine.
3228:
3229: BUG FIXES:
3230:
3231: * Fix for various bugs causing rsync to hang.
3232:
3233: * Attempt to fix Large File Summit support on AIX.
3234:
3235: * Attempt to fix error handling lockup bug.
3236:
3237: * Give a non-0 exit code if *any* of the files we have been asked
3238: to transfer fail to transfer.
3239:
3240: * For log messages containing ridiculously long strings that might
3241: overflow a buffer rsync no longer aborts, but rather prints an
3242: ellipsis at the end of the string. (Patch from Ed Santiago.)
3243:
3244: PLATFORMS:
3245:
3246: * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
3247:
3248: * autoconf2.52 (or later) is now required to rebuild the autoconf
3249: scripts. It is not required to simply build rsync.
3250:
3251: * Platforms thought to work in this release:
3252:
3253: Cray SV1 UNICOS 10.0.0.8 cc
3254: Debian Linux 2.2 UltraSparc gcc
3255: Debian Linux testing/unstable ARM gcc
3256: FreeBSD 3.3-RELEASE i386 cc
3257: FreeBSD 4.1.1-RELEASE i386 cc
3258: FreeBSD 4.3-STABLE i386 cc
3259: HP PA-RISC HP-UX 10.20 gcc
3260: HP PA-RISC HP-UX 11.11 cc
3261: IRIX 6.5 MIPS cc
3262: IRIX 6.5 MIPS gcc
3263: Mac OS X PPC (--disable-ipv6) cc
3264: NetBSD 1.5 i386 gcc
3265: NetBSD Current i386 cc
3266: OpenBSD 2.5 Sparc gcc
3267: OpenBSD 2.9 i386 cc
3268: OpenBSD Current i386 cc
3269: RedHat 6.2 i386 gcc
3270: RedHat 6.2 i386 insure++
3271: RedHat 7.0 i386 gcc
3272: RedHat 7.1 i386 (Kernel 2.4.10) gcc
3273: Slackware 8.0 i686 (Kernel 2.4.10)
3274: Solaris 8 UltraSparc cc
3275: Solaris 8 UltraSparc gcc
3276: Solaris 8 i386 gcc
3277: SuSE 7.1 i386 gcc2.95.2
3278: SuSE 7.1 ppc gcc2.95.2
3279: i386-pc-sco3.2v5.0.5 cc
3280: i386-pc-sco3.2v5.0.5 gcc
3281: powerpc-ibm-aix4.3.3.0 cc
3282: i686-unknown-sysv5UnixWare7.1.0 gcc
3283: i686-unknown-sysv5UnixWare7.1.0 cc
3284:
3285: TESTING:
3286:
3287: * The existing test.sh script by Phil Hands has been merged into a
3288: test framework that works from both "make check" and the Samba
3289: build farm.
3290:
3291: Partial Protocol History
3292: RELEASE DATE VER. DATE OF COMMIT* PROTOCOL
1.1.1.2 ! misho 3293: 28 Sep 2013 3.1.0 31 Aug 2008 31
1.1 misho 3294: 23 Sep 2011 3.0.9 30
3295: 26 Mar 2011 3.0.8 30
3296: 31 Dec 2009 3.0.7 30
3297: 08 May 2009 3.0.6 30
3298: 28 Dec 2008 3.0.5 30
3299: 06 Sep 2008 3.0.4 30
3300: 29 Jun 2008 3.0.3 30
3301: 08 Apr 2008 3.0.2 30
3302: 03 Apr 2008 3.0.1 30
3303: 01 Mar 2008 3.0.0 11 Nov 2006 30
3304: 06 Nov 2006 2.6.9 29
3305: 22 Apr 2006 2.6.8 29
3306: 11 Mar 2006 2.6.7 29
3307: 28 Jul 2005 2.6.6 29
3308: 01 Jun 2005 2.6.5 29
3309: 30 Mar 2005 2.6.4 17 Jan 2005 29
3310: 30 Sep 2004 2.6.3 28
3311: 30 Apr 2004 2.6.2 28
3312: 26 Apr 2004 2.6.1 08 Jan 2004 28
3313: 01 Jan 2004 2.6.0 10 Apr 2003 27 (MAX=40)
3314: 04 Dec 2003 2.5.7 26
3315: 26 Jan 2003 2.5.6 26
3316: 02 Apr 2002 2.5.5 26
3317: 13 Mar 2002 2.5.4 26
3318: 11 Mar 2002 2.5.3 26
3319: 26 Jan 2002 2.5.2 11 Jan 2002 26
3320: 03 Jan 2002 2.5.1 25
3321: 30 Nov 2001 2.5.0 23 Aug 2001 25
3322: 06 Sep 2000 2.4.6 24
3323: 19 Aug 2000 2.4.5 24
3324: 29 Jul 2000 2.4.4 24
3325: 09 Apr 2000 2.4.3 24
3326: 30 Mar 2000 2.4.2 24
3327: 30 Jan 2000 2.4.1 29 Jan 2000 24
3328: 29 Jan 2000 2.4.0 28 Jan 2000 23
3329: 25 Jan 2000 2.3.3 23 Jan 2000 22
3330: 08 Nov 1999 2.3.2 26 Jun 1999 21
3331: 06 Apr 1999 2.3.1 20
3332: 15 Mar 1999 2.3.0 15 Mar 1999 20
3333: 25 Nov 1998 2.2.1 19
3334: 03 Nov 1998 2.2.0 19
3335: 09 Sep 1998 2.1.1 19
3336: 20 Jul 1998 2.1.0 19
3337: 17 Jul 1998 2.0.19 19
3338: 18 Jun 1998 2.0.17 19
3339: 01 Jun 1998 2.0.16 19
3340: 27 May 1998 2.0.13 27 May 1998 19
3341: 26 May 1998 2.0.12 18
3342: 22 May 1998 2.0.11 18
3343: 18 May 1998 2.0.9 18 May 1998 18
3344: 17 May 1998 2.0.8 17
3345: 15 May 1998 2.0.1 17
3346: 14 May 1998 2.0.0 17
3347: 17 Apr 1998 1.7.4 17
3348: 13 Apr 1998 1.7.3 17
3349: 05 Apr 1998 1.7.2 17
3350: 26 Mar 1998 1.7.1 17
3351: 26 Mar 1998 1.7.0 26 Mar 1998 17 (MAX=30)
3352: 13 Jan 1998 1.6.9 13 Jan 1998 15 (MAX=20)
3353:
3354: * DATE OF COMMIT is the date the protocol change was committed to CVS.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>