Rsync 3.3.0 released

2024-04-06 Thread Wayne Davison via rsync
I have released rsync version 3.3.0. This is a bug fix release, with the increased version bump being a delayed reaction to some of the recent larger changes that have happened. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.3.0 You can

Re: [PATCH] Add --omit-{device,special}-times options

2023-05-26 Thread Wayne Davison via rsync
On Tue, May 16, 2023 at 7:28 PM Marc Aurèle La France wrote: > Similar to --omit-{dir,link}-times: > > --omit-device-times omit device files from --times > --omit-special-times omit sockets and fifos from --times > I'm not convinced these are needed at present. Also, fix corner case that allows

Re: [PATCH] Fix the counting of device files and symlinks

2023-05-26 Thread Wayne Davison via rsync
On Tue, May 16, 2023 at 7:28 PM Marc Aurèle La France via rsync < rsync@lists.samba.org> wrote: > Device files should be counted as devices, not symlinks. > Thanks for the catch! I fixed this the other day. ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. T

Re: xfer_sum_len type bug

2023-05-26 Thread Wayne Davison via rsync
On Tue, May 16, 2023 at 2:03 PM Derek Martin wrote: > This appears to be because of a type mismatch between xfer_sum_len > (declared as [signed] int) and the third arugment to memset, whose > function prototype is (from the man page): > >void *memset(void *s, int c, size_t n); > If that i

Rsync 3.3.0pre1 released

2023-04-29 Thread Wayne Davison via rsync
I have released rsync version 3.3.0pre1 for release testing. This is mainly bug fixes, with the increased version bump being a delayed reaction to some of the recent larger changes that have happened. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsy

Re: out-format in one line

2023-01-28 Thread Wayne Davison via rsync
On Sat, Jan 28, 2023 at 1:22 AM Michael Homscheidt wrote: > I use rsync with the option --out-format '%o %n‘ but want to have the > contents of the mesages to be overwritten. You can't make rsync do that directly, but you can filter the output. For instance, the following python3 script runs rs

Re: Apparent synchronization bug in rsync

2022-12-08 Thread Wayne Davison via rsync
On Thu, Dec 8, 2022 at 12:49 PM Kevin Korb wrote: > The first "Bug Fix" listed in https://rsync.samba.org/ftp/rsync/NEWS#3.2.4 is > almost certainly related. Apparently it was fixed via remote option but > since your test doesn't include networking that fix wouldn't help. > No, the bug was fixed

Re: EVP_MD_CTX_new unresolved reference

2022-10-25 Thread Wayne Davison via rsync
On Sun, Oct 23, 2022 at 6:25 AM Randall wrote: >checksum.o(.text._158011632+0xe2): unresolved reference to > EVP_MD_CTX_new. > > > > This is on the NonStop ia64 and x86 platforms. Can you guide me? > You have a couple choices: 1. Re-run ./configure with --disable-openssl added to the opti

Rsync 3.2.7 released

2022-10-20 Thread Wayne Davison via rsync
I have released rsync 3.2.7. This has some new features & fixes, including various bug fixes for arg validation & filter-rule validation. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.2.7 You can download the source tar file and its sig

Re: [3.1.3] --remove-source-files $SRC/ $SRC/ - erases all files

2022-10-19 Thread Wayne Davison via rsync
On Sun, Oct 16, 2022 at 11:01 PM Sridhar Sarnobat wrote: > 90% of my data losses are caused by rsync'ing from dir A to dir A > Upgrade to 3.2.6 (or 3.2.7pre1): https://download.samba.org/pub/rsync/NEWS#3.2.6 ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list.

Re: How to use --rsh with multiple sub-arguments?

2022-10-07 Thread Wayne Davison via rsync
On Fri, Oct 7, 2022 at 1:46 AM c.buhtz wrote: > You see there are several sub-arguments that need to be put to "ssh" via > the "--rsh". > In addition to what Kevin said, I find it easier to put customizations into the ~/.ssh/config file under a custom hostname (or the main hostname, as you prefer

Rsync 3.2.7pre1 released

2022-09-30 Thread Wayne Davison via rsync
I have released rsync version 3.2.7pre1 for release testing. This has a few new features and continues in the fixing of bugs in the extra validation of args & filter rules. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.2.7 You can downl

Re: Implicit containing directory sometimes rejected as unrequested

2022-09-25 Thread Wayne Davison via rsync
The git code should have this fixed. Feel free to build it yourself, or try the executable in the tar file from here: https://download.samba.org/pub/rsync/binaries/opensuse-15-x86_64/ ..wayne.. On Sat, Sep 24, 2022 at 5:02 PM jimc via rsync wrote: > Version: rsync-3.2.6-1.1.x86_64 from OpenS

Re: rsync --daemon complains parsing nonexistant /etc/rsyncd.conf

2022-09-20 Thread Wayne Davison via rsync
On Sun, Sep 18, 2022 at 6:13 AM Paul Slootman wrote: > IMHO rsync is correct in refusing to run with a missing rsyncd.conf. > Yeah, it's one of the ways that some installs prevent a superfluous daemon from starting up -- if it's not configured, you don't want it. ..wayne.. -- Please use reply-a

Re: Build error on Solaris 10

2022-09-20 Thread Wayne Davison via rsync
On Tue, Sep 20, 2022 at 11:21 AM İhsan Doğan via rsync < rsync@lists.samba.org> wrote: > ./mkgitver > ./mkgitver: test: argument expected > Looks like your OS's "test" doesn't support "-e". If you tweak the "if [ -e" to be "if [ -d" you should be fine. ..wayne.. -- Please use reply-all for mos

Re: Patch: disable path sanitization for modules rooted at "/"

2022-09-19 Thread Wayne Davison via rsync
On Wed, Sep 7, 2022 at 6:25 AM Thor Simon wrote: > When running in daemon mode with a module rooted at “/” [...] it seems to > me that path sanitization is not useful in this case. > In a typical Linux install, the default of "use chroot = true" already results in sanitize_paths = 0 for a path "/

Re: 3.2.6: ERROR: rejecting unrequested file-list

2022-09-13 Thread Wayne Davison via rsync
On Tue, Sep 13, 2022 at 9:06 AM Carlos Carvalho wrote: > The debug option didn't change the output at all. > That seems quite unlikely to me. But ignoring that, the latest git should hopefully have the issue you're seeing fixed. Rsync packagers will want this newest commit

Re: 3.2.6: ERROR: rejecting unrequested file-list

2022-09-12 Thread Wayne Davison via rsync
It helps to have some kind of a reproducer. Also, keep in mind there are 2 kinds of rejections: unrequested args and unfiltered files. The latter should have a big improvement in the latest git version. If you want some debug info on arg rejection, try adding `--debug=filter5` and see what auto-c

Re: Patch: more detailed error logging when an ACL unpack error occurs

2022-09-11 Thread Wayne Davison via rsync
On Sat, Sep 10, 2022 at 1:29 PM Ryan Schmidt wrote: > Would you be interested in adding this patch to the rsync-patches repo or > incorporating it into rsync directly? > I don't recall seeing that before, so thanks for pointing that out. I've committed the change to the rsync git. ..wayne.. --

Re: Make an rsync using script with old and new versions of rsync without using the "old" way (--old-args)?

2022-09-10 Thread Wayne Davison via rsync
On Fri, Sep 2, 2022 at 1:19 AM c.buhtz wrote: > 4. `--protect-args` activates the "new" behavior > Essentially, just in a way that has a couple drawbacks: it would have refused to work with rsyncs older than 3.0.0, and it would have refused to work with a remote rrsync setup (since the "protect

Rsync 3.2.6 released

2022-09-09 Thread Wayne Davison via rsync
I have released rsync 3.2.6. A fairly simple bugfix release. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.2.6 You can download the source tar file and its signature from here: https://rsync.samba.org/ftp/rsync/rsync-3.2.6.tar.gz

Re: Problems building rsync with Clang 15 beta

2022-08-18 Thread Wayne Davison via rsync
On Thu, Aug 18, 2022 at 9:27 AM Paul Eggert wrote: > But if rsync must add -pedantic-errors for some reason, it should do so at > the very end of 'configure' I think I'll just get rid of it except for some private builds. perhaps it'd be better for rsync to also add -pedantic-errors only for GC

Re: CVE-2022-29154 and v3.2.3

2022-08-17 Thread Wayne Davison via rsync
On Wed, Aug 17, 2022 at 9:30 AM Mark Esler wrote: > I am curious if CVE-2022-29154 affects rsync 3.2.3 or rrsync 3.2.3 and > earlier. The security page covers this: it's all versions prior to 3.2.5. if old_style_args is set to true then the add_implied_in

Rsync 3.2.5 released

2022-08-14 Thread Wayne Davison via rsync
I have released rsync 3.2.5. A bugfix release that includes a couple security fixes. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.2.5 You can download the source tar file and its signature from here: https://rsync.samba.org/ftp/rs

Rsync 3.2.5pre2 released

2022-08-08 Thread Wayne Davison via rsync
Rsync version 3.2.5pre2 is now available for release testing. It mainly includes fixes for the new file-list security code and a buffer fix for the included zlib code. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.2.5 You can download t

Re: Reading a batch file

2022-08-07 Thread Wayne Davison via rsync
On Fri, Aug 5, 2022 at 12:56 PM sergio hernandez wrote: > I need to be able to read the batch file for an external application that > I'm developing. But I don't know what is the structure used in the file. > >> It's a capture of the rsync protocol. Pretty much only rsync knows how to read it as i

Re: Is there a better way to transfer data that doesn't use so much cache?

2022-08-04 Thread Wayne Davison via rsync
On Wed, Aug 3, 2022 at 7:10 PM Dan Stromberg wrote: > However, if you transfer a large amount of data and do not intend to > retransmit that data any time soon, then the memory isn't really put to > good use, and can actually cause your system to slow down significantly - > particularly if there's

Rsync 3.2.5pre1 released

2022-08-01 Thread Wayne Davison via rsync
I have released rsync version 3.2.5pre1 for release testing. This includes a checksum fix that affects some architectures (such as ARM), improves the security of the received file list, enhances the manpage, etc. I'd really appreciate it if people would give this release some extensive testing and

Re: Rsync 3.2.4 released

2022-06-18 Thread Wayne Davison via rsync
For those packaging rsync 3.2.4 using a C compiler where "char" defaults to "unsigned char", such as ARM systems, rsync 3.2.4 will potentially generate the wrong rolling checksum values, thus failing to optimize the copy with the full amount of matching local data from a prior copy when high-bit ch

Re: Problem with file exclusion pattern

2022-05-04 Thread Wayne Davison via rsync
On Tue, May 3, 2022 at 7:35 AM H wrote: > However, would I not still need --include='*/' since I want it to > recourse into all subdirectories? > Only if you could have a directory that matches the lock name and you didn't want to exclude it. The default is to include a file/dir unless something

Re: Problem with file exclusion pattern

2022-05-02 Thread Wayne Davison via rsync
On Sat, Apr 30, 2022 at 3:33 PM H wrote: > rsync -vHrltDium -c --chmod=Du+rwx,go-rwx,Fu+rw,go-rw --no-perms --stats > --include='*' --include='*/' --exclude='*.~lock*' --exclude='*' -e "ssh -y > -p 22" ~/test/ someone@1.2.3.4:~/test > See the latest manpage's filter-rules section

Rsync 3.2.4 released

2022-04-15 Thread Wayne Davison via rsync
I have released rsync 3.2.4. Another typical release with both bug fixes and some enhancements. It also contains a security fix for the bundled zlib 1.2.8, which may or may not be used in your particular build configuration. To see a summary of all the recent changes, visit this link: https:/

Rsync 3.2.4pre4 released

2022-03-27 Thread Wayne Davison via rsync
Rsync version 3.2.4pre4 is now available for release testing. This is planned to be the final pre-release before 3.2.4. It contains some configuration improvements for the optimization features, some bug fixes, and the addition of --copy-devices. To see a summary of the release changes, visit this

Re: Restriction enforcement

2022-03-12 Thread Wayne Davison via rsync
On Tue, Mar 8, 2022 at 7:15 AM Hove, K.W. van (Koen, Student M-CS) via rsync wrote: > I noticed that --max-size, --min-size, --exclude, and --include are only > sent by the client as a "request" to the server, and that if the server for > some reason chooses to ignore those options and include th

Re: Trying to elevate rsync privileges when connecting over ssh without using NOPASSWD in sudoers

2022-03-11 Thread Wayne Davison via rsync
On Fri, Mar 11, 2022 at 4:57 AM Dr. Mark Asbach via rsync < rsync@lists.samba.org> wrote: > b) Passing the password to sudo via stdin using --rsync-path "echo > MYPASSWORD | sudo -S rsync" (see https://askubuntu.com/a/1155897). In that ask-ubuntu example they are running a client rsync via sudo,

Re: use absolute paths in transfer list

2022-02-17 Thread Wayne Davison via rsync
On Wed, Feb 16, 2022 at 2:57 AM Fourhundred Thecat via rsync < rsync@lists.samba.org> wrote: > how can I print the full paths? > If you're pushing files (which includes a local copy), putting "%f" into --out-format gets you the full specified path for the source files. It likes to strip the lead

Re: Confused as to why rsync thinks time, owner and group of many files differ

2022-02-07 Thread Wayne Davison via rsync
On Thu, Feb 3, 2022 at 2:23 PM Andy Smith via rsync wrote: > When rsync considers times as being different, it means mtime, right? Yet > these files have identical mtimes. They also have identical uid, gid and > permissions. > They do now, but it looks like you have lots of files hard-linked to

Re: trailing spaces in exclude-from file

2022-01-27 Thread Wayne Davison via rsync
On Mon, Jan 24, 2022 at 1:08 AM Jürgen Bausa via rsync < rsync@lists.samba.org> wrote: > However, it didn't work in the beginning and took me some time to find > out, that a space at the end (e.g. "+ /mnt/Windows/Users " in the second > line) will be interpreted and thus, the directory is assumed

Rsync 3.2.4pre3 released

2022-01-19 Thread Wayne Davison via rsync
Rsync version 3.2.4pre3 is now available for release testing. This fixes an issue with local copying and the arg-escaping (due to no shell being used). To see a summary of the release changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS You can download the source tar file and it

Rsync 3.2.4pre2 released

2022-01-15 Thread Wayne Davison via rsync
Rsync version 3.2.4pre2 is now available for release testing. I decided to go ahead and make a fairly significant change from pre1 to pre2: the new backslash escaping of remote args. This should be a more compatible change than making --protect-args enabled by default, and I figured that since the

Re: Trying to cross-compile rsync 3.2.3 for an M1 Mac

2022-01-05 Thread Wayne Davison via rsync
On Tue, Jan 4, 2022 at 7:39 PM Fred Fugate via rsync wrote: > It seems that the rsync source tarfile includes lib/md5-asm-x86_64.S, but > for my compilation to work, I need a file called lib/md5-asm-aarch64.S ? > Try configuring with --disable-asm. I imagine 3.2.4pre1

Re: --copy-unsafe-links unexpected behavior with unsafe symlinks

2022-01-04 Thread Wayne Davison via rsync
To be extra clear (since I was overly terse in my hasty answer), here's your last example fixed for you: $ cd ~/dev $ rsync --copy-unsafe-links -aivz --delete ~/tmp/TST/tree/ ~/tmp/XXX/tree/ This is how rsync knows where the safe restriction lies -- at the top of the transfer (the final s

Re: --copy-unsafe-links unexpected behavior with unsafe symlinks

2022-01-03 Thread Wayne Davison via rsync
Read the section on --copy-unsafe-symlinks and make the change I recommended. That's all there is to it. When a dir name is in the transfer, it is not the top of the transfer tree. It's parent is. This is pretty standard rsync stuff, where trailing slashes are very important to rsync. ..wayne.. -

Rsync 3.2.4pre1 released

2022-01-02 Thread Wayne Davison via rsync
Rsync version 3.2.4pre1 is now available for release testing. This has a pretty typical combination of bug fixing and enhancements. To see a summary of the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS You can download the source tar file and its signature from here

Re: --copy-unsafe-links unexpected behavior with unsafe symlinks

2021-12-31 Thread Wayne Davison via rsync
On Sun, Nov 28, 2021 at 12:53 PM Cristian via rsync wrote: > $ rsync --copy-unsafe-links -avz --delete tree XXX > In this case, the "tree" directory is a part of the transfer inside the top-of-transfer dir (the current directory). Thus any symlinks that don't try to escape the current directory

Re: malloc assert

2021-01-31 Thread Wayne Davison via rsync
On Wed, Jan 27, 2021 at 2:19 AM Hans Andersson wrote: > I occasionally get the following error when running rsync [malloc.c > assertion] > Since rsync doesn't supply any malloc code, that's probably a question for your C-library provider. You might first try out 3.2.3, which fixed a couple mem is

Re: Bug when using rsync -r --delete -b --backup-dir

2021-01-15 Thread Wayne Davison via rsync
On Mon, Nov 23, 2020 at 1:33 PM CRTS via rsync wrote: > then the empty directory does end up in bkp. > You mean "does not". That is correct, as it only creates backup dirs to hold backup files. I recall this being specifically chosen as the desired outcome but not the details of why (since it w

Re: Is there a default for 'pid file' for rsync in daemon mode?

2021-01-02 Thread Wayne Davison via rsync
On Fri, Jan 1, 2021 at 2:13 PM raf wrote: > maybe the pidfile should be locked > https://download.samba.org/pub/rsync/NEWS#3.2.0 ..wayne.. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsyn

Re: Is there any way to restore/create hardlinks lost in incremental backups?

2020-12-13 Thread Wayne Davison via rsync
I should also mention that there are totally valid reasons why the dir might be huge on day4. For instance, if someone changed the mode on the files from 664 to 644 then the files cannot be hard-linked together even if the file's data is unchanged. The same goes for differences in preserved xattrs,

Re: Is there any way to restore/create hardlinks lost in incremental backups?

2020-12-13 Thread Wayne Davison via rsync
You could rsync the current day4 dir to a day4.new dir, and list all the prior days as --link-dest options. Make sure that you're using the same xatt/acl options as your official backup command (the options may or may not be present) so that you are preserving the same level of info as the backup.

Re: A strange problem with my daily backups performed via rsync

2020-11-02 Thread Wayne Davison via rsync
On Mon, Nov 2, 2020 at 3:03 AM Manish Jain wrote: > rsync -av --delete src dst # but protect dir dst/XYZ from deletion > > I tried "--filter 'protect dst/XYZ'" but that does not prevent the > directory dst/XYZ from being deleted. > The "dst" dir isn't in the transfer, so it can't appear in a fil

Re: Syncing multiple sub-directories to one directory

2020-09-30 Thread Wayne Davison via rsync
On Tue, Sep 29, 2020 at 4:46 PM Rob Campbell wrote: > Thanks for your help. What you provided didn't work for me because that > still placed things in subdirectories. > Ah, that's what you were trying to do. Your original email sounded like you just didn't want it to recurse into subdirectories.

Re: strange crash with md5p8.diff + xxhash

2020-09-29 Thread Wayne Davison via rsync
On Sun, Sep 27, 2020 at 9:01 AM Madhu via rsync wrote: > Turns out the comment in rsync.h: (struct name_num_obj): > struct name_num_item list[8]; /* A big-enough len (we'll get a > compile error if it is ever too small) */ > > isn't correct. I don't get a compile error. Gcc likes to gen

Re: rsync 3.1.3 dry run bug?

2020-09-29 Thread Wayne Davison via rsync
On Sun, Sep 27, 2020 at 12:27 PM Dipl.-Ing. Wolf-Dieter Pichler wrote: > In this example output rsync says that it would just perform two > group changes, BUT despite the -n option it actually synced some documents. > I doubt that very much, so I'd suggest checking on what else might be going on.

Re: Syncing multiple sub-directories to one directory

2020-09-29 Thread Wayne Davison via rsync
On Tue, Sep 29, 2020 at 7:38 AM Rob Campbell wrote: > I would like to sync many subdirectories into one directory with no > subdirectories. I've tried > > rsync -rv --progress --include '*.jp*g' --include '*.png' --include > '*.dng' --include '*.raw' --include '*.nef' --include 'Duo' --include > '

Re: Skip source files that differ from existing destination files with a warning?

2020-09-23 Thread Wayne Davison via rsync
On Thu, Sep 17, 2020 at 5:32 AM Matt McCutchen wrote: > For the "not transfer" part, I can use --ignore-existing, but I don't see > a direct way to be warned only about source files that differ from > existing destination files. > Indeed, the 2-step approach that you mentioned is all that the rel

Re: Security issue: How to report it privately to the maintainers?

2020-09-02 Thread Wayne Davison via rsync
On Tue, Sep 1, 2020 at 8:43 PM Philippe Höij wrote: > There is a security issue in rsync that needs to be disclosed to the team. > I added a security policy to the repo which indicates that security issues can be emailed to me. ..wayne.. -- Please use reply-all for most replies to avoid omittin

Re: Rsync 3.2.3 released

2020-08-07 Thread Wayne Davison via rsync
On Thu, Aug 6, 2020 at 10:46 PM Rupert Gallagher wrote: > I noted that rsync writes a gmon file on the source path and leaves it > there when it terminates. Nope, it doesn't. You'll need to figure out what's going on with your setup. Also, I have 12GB of cache in ecc ram that rsync is not usin

Re: Rsync 3.2.3 released

2020-08-07 Thread Wayne Davison via rsync
On Thu, Aug 6, 2020 at 11:48 PM Michal Ruprich wrote: > I see that a couple of patches from the rsync-patches tar have > disappeared, like acls.diff or xattrs.diff yet I don't see the changes in > the code. Is there a reason for their removal? > Various things were removed that had limited value o

Rsync 3.2.3 released

2020-08-06 Thread Wayne Davison via rsync
I have released rsync 3.2.3. It contains a smattering of bug fixes and various enhancements. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.2.3 You can download the source tar file and its signature from here: https://rsync.samba.o

Re: Rsync 3.2.3pre1 released

2020-07-29 Thread Wayne Davison via rsync
On Tue, Jul 28, 2020 at 4:43 PM Nelson H. F. Beebe via rsync < rsync@lists.samba.org> wrote: > xxhash in particular is not a package that we have needed before, so none > of the clients has it. > All new, wonderful libraries have a point in time where they begin to get used. If you transfer larg

Rsync 3.2.3pre1 released

2020-07-27 Thread Wayne Davison via rsync
have made rsync 3.2.3pre1 available for release testing. This combines some bug fixing with a good chunk of enhancements. To see a summary of the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS You can download the source tar file and its signature from here: htt

Re: Syncing from two sources to one target and deleting files not in either source

2020-07-21 Thread Wayne Davison via rsync
On Tue, Jul 21, 2020 at 4:15 AM @lbutlr wrote: > how can I remove files on Server 3 that do not exist on either Server 1 or > Server 2? > If you want rsync to do the deletions during a copy from one of the servers, you'll need a filter file of "protect" (P) rules for every dir and file on the oth

Re: --exclude vs --filter

2020-07-11 Thread Wayne Davison via rsync
On Sat, Jul 11, 2020 at 12:59 AM Roland wrote: > can "--filter" statements completely replace "--exclude" statements Yes. The old-style exclude/include options just turn into the simplest form of exclude/include filter rules. ..wayne.. -- Please use reply-all for most replies to avoid omittin

Rsync 3.2.2 released

2020-07-04 Thread Wayne Davison via rsync
I have released rsync 3.2.2. This is a few more portability fixes, some improvements to the newest features, and some other simple changes. Hopefully this will be the last of these recent touch-up releases. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/

Rsync 3.2.2pre3 released

2020-06-30 Thread Wayne Davison via rsync
I have made rsync 3.2.2pre3 available for release testing. This release has a fix for a crash that affects some daemon setups. I also took the opportunity to make the daemon parameters configuration simpler to keep all the define/init/access bits in sync. To see a summary of the recent changes, v

Rsync 3.2.2pre2 released

2020-06-28 Thread Wayne Davison via rsync
I have made rsync 3.2.2pre2 available for release testing. I noticed a couple more minor issues with building from an alternative dir, so I simplified the build-dir idiom to put all the generated files in the build dir instead of having some of the configure-related ones in the src dir. This simpli

Rsync 3.2.2pre1 released

2020-06-27 Thread Wayne Davison via rsync
I have made rsync 3.2.2pre1 available for release testing. This is a few more portability fixes, some improvements to the newest features, and a couple other simple changes. If no blocking issues are found, this will be released as 3.2.2 soon. At that point I imagine that this will be the last of t

Re: Rsync Daemon Remote Pull

2020-06-27 Thread Wayne Davison via rsync
On Sat, Jun 27, 2020 at 7:17 AM Chandrasekar Natarajan wrote: > Kindly help me to resolve this. > One thing you can do is to change the initial command from "rsync" to "/usr/bin/rsync" (if that is where the real command is installed in your setup) in order to try to avoid any script & shell alias

Re: Rsync Daemon Remote Pull

2020-06-26 Thread Wayne Davison via rsync
On Thu, Jun 25, 2020 at 3:02 PM Chandrasekar Natarajan wrote: > Unexpected remote arg: user@x.x.x.x:port/module > This means that your non-option args starts with a local arg, contains a remote arg somewhere in the middle, and ends with either a local or remote arg. None of those are valid becau

Re: rsync with mode --delete

2020-06-26 Thread Wayne Davison via rsync
On Fri, Jun 26, 2020 at 10:24 AM Budi Janto wrote: > path = /mnt/DATA > Any idea or suggestion to prevent client's data loss? > There are several options: 1. Set the "pre-xfer exec = /script/name" in your daemon module and make the script check if a /mnt/DATA/known-to-exist-subdir is missi

Rsync 3.2.1 released

2020-06-22 Thread Wayne Davison via rsync
I have released rsync 3.2.1. This is mainly a few fixes for some release issues and portability problems. There's also a couple new features, just for good measure. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.2.1 You can download the

Rsync 3.2.1pre1 released

2020-06-21 Thread Wayne Davison via rsync
I have made rsync 3.2.1pre1 available for testing. This is mainly a few fixes for some release issues and portability problems. There's also a new feature, just for good measure. If no blocking issues are found, this will be released as 3.2.1 soon. To see a summary of all the changes since 3.2.0,

Rsync 3.2.0 released

2020-06-19 Thread Wayne Davison via rsync
I have released rsync 3.2.0. This is a feature release with a number of bug fixes. To see a summary of all the changes since 3.1.3, visit this link: http://rsync.samba.org/ftp/rsync/rsync-3.2.0-NEWS You can download the source tar file and its signature from here: http://rsync.samba.o

Rsync 3.2.0pre3 released

2020-06-17 Thread Wayne Davison via rsync
I have made rsync 3.2.0pre3 available for testing. This is mainly some improvements in configuration and portability fixes. Let's see if this one will end up being the last "pre" version before 3.2.0. Please give it a try! Send feedback via email to the rsync mailing list. Bugs can be created via

Rsync 3.2.0pre2 released

2020-06-15 Thread Wayne Davison via rsync
I have made rsync 3.2.0pre2 available for testing. I got some nice feedback on a couple items in the pre1 release, so I decided to roll up that with a few other changes and release pre2. I'm hopeful that this will end up being the version that gets released as 3.2.0, so please give it a try! Send

Rsync 3.2.0pre1 released

2020-06-13 Thread Wayne Davison via rsync
I have made rsync 3.2.0pre1 available for testing. This release has a bunch of fixes & new features. Please test the code and send feedback via email to the rsync mailing list. Bugs can be created via bugzilla tickets, github issues, or discussed on the mailing list. To see a summary of the chan

Re: bug: xattr filter rule treated as file filter rule on the remote side

2020-06-13 Thread Wayne Davison via rsync
On Wed, May 16, 2018 at 10:03 AM Andras Nagy wrote: > Summary: an xattr filter rule (e.g. --filter='-x! user.*’, which is > suggested by the documentation) is treated as a file filter rule on the > remote side. > This got fixed in git a long time ago, but I (sadly) haven't yet made a new release

Re: Rsync 3.1.3 segfault

2020-06-13 Thread Wayne Davison via rsync
On Mon, May 28, 2018 at 7:22 AM Marcin Krol wrote: > The code responsible for segfault is new popt_unalias function added > in 3.1.3. To be exact this line causes segfault: > poptAddAlias(con, unalias, 0); > I have never seen this crash occur, but it dawned on me that the reason is most likely th

Re: Regarding an "earlier" variant of `pre-xfer exec` [feature request and proposed patch]

2020-06-10 Thread Wayne Davison via rsync
On Fri, Nov 8, 2019 at 8:00 AM Ciprian Dorin Craciun via rsync < rsync@lists.samba.org> wrote: > Therefore I've tried to patch `rsync` myself, mainly by copy-pasting the > code related to `pre-xfer exec` option: > > https://github.com/cipriancraciun/rsync/commit/1f85c5f596542ed878d09a60e55ea027934

Re: Delta-compression and --write-devices

2020-06-10 Thread Wayne Davison via rsync
On Wed, Jun 10, 2020 at 11:05 AM Laurens Blankers wrote: > Based on the log output and the source code I suspect that the problem > occurs because the delta-compression determines the size of the > destination to be 0. > Indeed, that looks to be exactly what is wrong. I adapted the code in the r

Re: Preserving destination group and owner

2020-06-04 Thread Wayne Davison via rsync
On Thu, Jun 4, 2020 at 3:07 AM Alberto Cabello Sánchez wrote: > I'm trying to get an rsync updating some files without changing their > owner, groups or permissions. I've read man pages etc. stating I need to > use the "--no-o", "--no-g", "--no-p" flags > You'll need to also specify --inplace in

Re: Enabling easier contributions to rsync

2020-05-25 Thread Wayne Davison via rsync
On Mon, May 25, 2020 at 7:09 PM Karl O. Pinc via rsync < rsync@lists.samba.org> wrote: > FWIW, I find sending an email with an attachment a lot easier than having > to login to github, clone, push, and open a pull request. > Patches are still fine by me, so no mandatory pull requests here. ..way

Re: Enabling easier contributions to rsync

2020-05-25 Thread Wayne Davison via rsync
I've decided to give hosting it on github a try, especially since there's been a lot of nice contributions lately. Hopefully this will make it easier for both the people sending patches as well as for me to snag the changes. I'll continue to push changes to the samba git as well. Here's the new

Re: [PATCH] Optimized assembler version of md5_process() for x86-64

2020-05-23 Thread Wayne Davison via rsync
On Sat, May 23, 2020 at 4:37 AM Sebastian Andrzej Siewior < rs...@ml.breakpoint.cc> wrote: > Wouldn't it be better to add support for a crypto library (like openssl) > which would provide optimized algorithms for more than just one platform > without the need to maintain it separately? > Adding o

Re: checksum feature request

2020-05-22 Thread Wayne Davison via rsync
On Tue, Oct 1, 2019 at 8:02 AM Bill Wichser via rsync wrote: > Attached is the patch we applied [to add xxhash checksums] Thanks, Bill! I finally got around to finishing up some checksum improvements and have added support for xxhash in the master branch. The latest version in git now picks th

Re: [PATCH] Optimized assembler version of md5_process() for x86-64

2020-05-22 Thread Wayne Davison via rsync
On Fri, May 22, 2020 at 11:08 AM Jorrit Jongma via rsync < rsync@lists.samba.org> wrote: > This patch introduces an optimized assembler version of md5_process(), the > inner loop of MD5 checksumming. It affects the performance of all MD5 > operations in rsync - including block matching and whole-f

Re: [PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64

2020-05-21 Thread Wayne Davison via rsync
On Tue, May 19, 2020 at 7:29 AM Jorrit Jongma via rsync < rsync@lists.samba.org> wrote: > I've read up some more on the subject, and it seems the proper way to do > this with GCC is g++ and target attributes. I've refactored the patch that > way, and it indeed uses SSSE3 automatically on supportin

Re: [draft PATCH] whitelist support for refuse options

2020-05-17 Thread Wayne Davison via rsync
On Sun, Feb 9, 2020 at 2:06 PM Nick Cleaton via rsync wrote: > This adds support for whitelisting the acceptable options in the "refuse > options" setting in rsyncd.conf. It introduces "!" as a special option > string that refuses most options and interprets any following strings as > patterns of

Re: How to display IP of mirror site and exclude it

2020-04-22 Thread Wayne Davison via rsync
On Wed, Apr 8, 2020 at 8:15 AM Gerard E. Seibert wrote: > Since this does not happen on all of the mirror sites, I would like a way > to get a list or have rsync display the IP of the site it received an error > message from and a way to block the use of that IP in the future. Is that > possible?

Re: [PATCH] Replace mkproto.pl with mkproto.awk

2020-04-07 Thread Wayne Davison via rsync
Thanks for the patch! I've gone ahead and included it in the latest git since it should make a standard build a little simpler. I do note that for any patched builds where the yodl (.yo) doc files got changed that there is still a perl dependency when running the tweak_manpage script on the yodl2m

Re: Allow "--in-place" as an alternative option name for "--inplace"

2020-04-05 Thread Wayne Davison via rsync
> On Jun 26, 2019, at 2:53 PM, Jan-Benedict Glaw via rsync < rsync@lists.samba.org> wrote: > > As I commonly spell --inplace as --in-place, I'd like to suggest this simple patch: On Wed, Jun 26, 2019 at 7:29 PM @lbutlr via rsync wrote: > If we’re going to do that add --remove-source and --delete-

Re: [PATCH] Bug fix for file comparison

2019-03-16 Thread Wayne Davison via rsync
On Thu, Mar 7, 2019 at 12:27 AM Florian Zumbiehl via rsync < rsync@lists.samba.org> wrote: > in the file comparison code: The > current code skips the unchanged_file() check when that check succeeded for > an earlier candidate, which could lead to accepting a file with a different > checksum as un

Re: zlib issues

2019-03-16 Thread Wayne Davison via rsync
On Wed, Mar 13, 2019 at 6:02 AM Christoph Gentsch via rsync < rsync@lists.samba.org> wrote: > I just had a look at the rysnc code (master branch) and realized, that > there is a copy of the zlib included. So I checked if the CVEs from 2016 > are patched in this, and NOPE! they arent! > Thanks for

Re: preallocate working incorrectly in 3.1.3

2019-01-15 Thread Wayne Davison via rsync
On Mon, Jan 14, 2019 at 6:11 PM TR Reardon via rsync wrote: > I believe that the changes to support --preallocate and --sparse together > have broken --preallocate by itself (commit > f3873b3d88b61167b106e7b9227a20147f8f6197) > Indeed, those "opts" values were reversed, and thus fallocate wasn't

Re: rsync sends -C and -x options silently

2018-05-16 Thread Wayne Davison via rsync
On Wed, May 16, 2018 at 10:04 AM Anand Buddhdev via rsync < rsync@lists.samba.org> wrote: > This newer rsync version appears to be sending -C and -x options to the > server, even though they are not set on the client side. > It's not. What it is doing is sending information in the -eSTRING option

Re: Unfortunate results from fake-super

2018-02-04 Thread Wayne Davison via rsync
On Sat, Feb 3, 2018 at 5:20 AM, Dave Gordon via rsync wrote: > [...fake-super symlink saved as a file...] This results in the copy being world-writable. > Indeed. The file initially gets created as a mode-600 file, but the code later tweaks the permissions to match the symlink, which is (as you

Rsync 3.1.3 released

2018-01-28 Thread Wayne Davison via rsync
Rsync 3.1.3 is now available for downloading. This is a security, feature, and bug-fix release. To see a full summary of the changes since 3.1.2, visit this link: http://rsync.samba.org/ftp/rsync/src/rsync-3.1.3-NEWS You can download the source tar file and its signature from here: http://

Re: Rsync 3.1.3pre1 released

2018-01-15 Thread Wayne Davison via rsync
On Mon, Jan 15, 2018 at 6:20 AM, Randall S. Becker wrote: > Incompatibility introduced at 3.1.3pre1. These are not present at master, > which compiles cleanly. > The master branch and 3.1.3pre1 were pretty much the same until just a moment ago (except that the tar files get some generated files

Rsync 3.1.3pre1 released

2018-01-14 Thread Wayne Davison via rsync
I have made rsync 3.1.3pre1 available for testing. This release has a couple security fixes, a few new features, and a smattering of bug fixes. Please test this new release and send email to the rsync mailing list with any questions, comments, or bug reports. To see a summary of the changes sinc

  1   2   3   4   5   6   7   8   9   10   >