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