Performing the verification for Focal:
First, reproducing the bug with the current version:
# apt policy rsync
rsync:
Installed: 3.1.3-8
Candidate: 3.1.3-8
Version table:
*** 3.1.3-8 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
# mkdir -p a/1 b/1; echo "/1/2/3" > list
# rsync --dry-run --stats -Pav --delete-missing-args --files-from=list a b
building file list ...
0 files...
file has vanished: "/root/a/1/2"
2 files to consider
ABORTING due to invalid path from sender: 1/2/3
rsync error: protocol incompatibility (code 2) at generator.c(1278)
[generator=3.1.3]
Next, updating the package to the version available in -proposed, clearing the
directory, and making sure that the bug is fixed:
# apt policy rsync
rsync:
Installed: 3.1.3-8ubuntu0.1
Candidate: 3.1.3-8ubuntu0.1
Version table:
*** 3.1.3-8ubuntu0.1 500
500 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
100 /var/lib/dpkg/status
3.1.3-8 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
# mkdir -p a/1 b/1; echo "/1/2/3" > list
# rsync --dry-run --stats -Pav --delete-missing-args --files-from=list a b
building file list ...
0 files...
file has vanished: "/root/a/1/2"
2 files to consider
WARNING: parent dir is absent in the file list: 1/2
Number of files: 2 (reg: 1, dir: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 0 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 59
Total bytes received: 68
sent 59 bytes received 68 bytes 254.00 bytes/sec
total size is 0 speedup is 0.00 (DRY RUN)
rsync warning: some files vanished before they could be transferred (code 24)
at main.c(1207) [sender=3.1.3]
As shown above, there is no longer a crash due to missing parent folders.
Therefore, the bug has been fixed for focal and verification is complete.
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1896251
Title:
rsync --delete-missing-args fails with "error: protocol
incompatibility"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1896251/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs