When using --delete-missing-args and --ignore-errors with a a file list it terminates anyway if one directory, that is not a sub of root, is not existing. ~$ mkdir test ~$ cd test test$ mkdir -p src/a trg/a test$ echo "/a/b/c" > list test$ /usr/bin/rsync -slt --ignore-errors --force --ignore-missing-args --delete-missing-args --files-from=list --no-implied-dirs src `pwd`/trg file has vanished: "/home/axel/test/src/a/b" rsync warning: some files vanished before they could be transferred (code 24) at main.c(1196) [sender=3.1.2] test$ diff -r src/ trg/ Only in trg/a: b This behaviour results in data loss due stopped synchronisation. Please add the suggested patch. The bug was introduced in mga6 with rsync-3.1.2.
Assigning to all packagers collectively, since there is no registered maintainer for this package. Also CC'ing some submitters.
Assignee: bugsquad => pkg-bugsCC: (none) => luigiwalser, mageia, marja11, nicolas.salguero, smelror
this is fixed in 3.2.2
can we backport/update current version of mga7?
Component: RPM Packages => BackportsPriority: Normal => High
As long as it doesn't break usage with existing servers out there, as has been an issue with rsync in the past, it could be an update.
to my opinion, it fixes the ones intruduced before. Having it in backports allows us to test it easier before we ship mga8 where the old version is not available anymore...
btw. currently I'm runing the mga5 package due to the breakage in mga6!
Assignee: pkg-bugs => mageia
Assignee: mageia => qa-bugs
new version submitted to backports testing.
Howdy- I've got my own rudimentary rsync backup script, to external drive, initially, and NAS raid 1, currently, that hasn't crashed/terminated prematurely for some years but I thought I'd try this version, fwiw. [rolf@x570i ~]$ sudo urpmi http://mirrors.kernel.org/mageia/distrib/7/x86_64/media/core/backports_testing/rsync-3.2.2-1.mga7.x86_64.rpm To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release") lib64xxhash0 0.7.0 2.mga7 x86_64 (command line) rsync 3.2.2 1.mga7 x86_64 399KB of additional disk space will be used. 429KB of packages will be retrieved. Proceed with the installation of the 2 packages? (Y/n) http://mirrors.kernel.org/mageia/distrib/7/x86_64/media/core/release/lib64xxhash0-0.7.0-2.mga7.x86_64.rpm installing /var/cache/urpmi/rpms/lib64xxhash0-0.7.0-2.mga7.x86_64.rpm /var/cache/urpmi/partial/rsync-3.2.2-1.mga7.x86_64.rpm Preparing... ###################################################################################### 1/2: lib64xxhash0 ###################################################################################### 2/2: rsync ###################################################################################### 1/1: removing rsync-3.1.3-4.mga7.x86_64 ###################################################################################### [rolf@x570i ~]$ The command is thus: [rolf@x570i rsync]$ sh ./rolf.backup.rsync.command327.sh which script refers to a files list and I could provide more info, if needed, but didn't think it necessary. There were a couple of errors reported, one related to a path in the list that is no longer, but the sync completed w/o crashing/terminating: --- sending incremental file list rsync: [sender] link_stat "/movie/lan" failed: No such file or directory (2) sent 19 bytes received 12 bytes 62.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1287) [sender=3.2.2] --- rsync: [receiver] close failed on "/mnt/327md0/backup/rolf/.mozilla/seamonkey/w1o08opq.default/Mail/pop.gmail.com/.motionEye.9hg0zM": Input/output error (5) rsync error: error in file IO (code 11) at receiver.c(868) [receiver=3.2.2] Thanks
CC: (none) => rolfpedersen
I think, this still looks ok. I assume the file with the "error" was delted/renamed during transfer.
MGA7-64 Plasma on Lenovo B50 Installing from backports-testing No installation issues. Used rsync to get a folder with pictures from my desktop PC. $ rsync -arvuh herman@mach1:/home/herman/Afbeeldingen/2014/20140119NieuwjaarViaene /home/tester7/Pictures/ Password: receiving incremental file list 20140119NieuwjaarViaene/ 20140119NieuwjaarViaene/IMG_1251.jpg 20140119NieuwjaarViaene/IMG_1259.jpg 20140119NieuwjaarViaene/IMG_1271.jpg 20140119NieuwjaarViaene/IMG_1272.jpg 20140119NieuwjaarViaene/IMG_1273.jpg sent 123 bytes received 19.86M bytes 2.34M bytes/sec total size is 19.85M speedup is 1.00 Is correct result. OK'ing unless somenone wants more tests.
CC: (none) => herman.viaeneWhiteboard: (none) => MGA7-64-OK
Validating.
Keywords: (none) => validated_backportCC: (none) => andrewsfarm
moved.
Status: NEW => RESOLVEDCC: (none) => mageiaResolution: (none) => FIXED