2020-09-18 15:35:31 |
Mikko Rantalainen |
bug |
|
|
added bug |
2020-09-18 15:37:35 |
Mikko Rantalainen |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863334 |
|
2020-09-28 14:49:54 |
Sergio Durigan Junior |
nominated for series |
|
Ubuntu Focal |
|
2020-09-28 14:49:54 |
Sergio Durigan Junior |
bug task added |
|
rsync (Ubuntu Focal) |
|
2020-09-28 14:49:54 |
Sergio Durigan Junior |
nominated for series |
|
Ubuntu Bionic |
|
2020-09-28 14:49:54 |
Sergio Durigan Junior |
bug task added |
|
rsync (Ubuntu Bionic) |
|
2020-09-28 14:51:05 |
Sergio Durigan Junior |
bug |
|
|
added subscriber Ubuntu Server |
2020-09-28 14:51:14 |
Sergio Durigan Junior |
rsync (Ubuntu Bionic): status |
New |
Triaged |
|
2020-09-28 14:51:16 |
Sergio Durigan Junior |
rsync (Ubuntu Focal): status |
New |
Triaged |
|
2020-09-28 15:02:57 |
Sergio Durigan Junior |
tags |
amd64 apport-bug bionic |
amd64 apport-bug bionic server-next |
|
2020-09-28 15:04:13 |
Sergio Durigan Junior |
nominated for series |
|
Ubuntu Xenial |
|
2020-09-28 15:04:13 |
Sergio Durigan Junior |
bug task added |
|
rsync (Ubuntu Xenial) |
|
2020-09-28 15:04:19 |
Sergio Durigan Junior |
rsync (Ubuntu Xenial): status |
New |
Triaged |
|
2020-09-28 19:59:50 |
Sergio Durigan Junior |
tags |
amd64 apport-bug bionic server-next |
amd64 apport-bug bionic |
|
2021-10-14 15:14:18 |
Paride Legovini |
rsync (Ubuntu): status |
New |
Fix Released |
|
2021-10-14 15:14:22 |
Paride Legovini |
rsync (Ubuntu Xenial): status |
Triaged |
Won't Fix |
|
2021-10-14 15:14:56 |
Paride Legovini |
rsync (Ubuntu Bionic): importance |
Undecided |
Low |
|
2021-10-14 15:14:58 |
Paride Legovini |
rsync (Ubuntu Focal): importance |
Undecided |
Low |
|
2021-10-14 15:22:55 |
Paride Legovini |
tags |
amd64 apport-bug bionic |
amd64 apport-bug bionic server-todo |
|
2021-10-26 20:49:17 |
Lena Voytek |
rsync (Ubuntu Bionic): assignee |
|
Lena Voytek (lvoytek) |
|
2021-10-26 20:49:21 |
Lena Voytek |
rsync (Ubuntu Focal): assignee |
|
Lena Voytek (lvoytek) |
|
2021-10-26 21:04:16 |
Lena Voytek |
rsync (Ubuntu Bionic): status |
Triaged |
In Progress |
|
2021-10-26 21:04:20 |
Lena Voytek |
rsync (Ubuntu Focal): status |
Triaged |
In Progress |
|
2021-10-28 18:00:27 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~lvoytek/ubuntu/+source/rsync/+git/rsync/+merge/410962 |
|
2021-10-29 19:31:29 |
Lena Voytek |
description |
Running
rsync --delete-missing-args --files-from=...
fails with error message like
ABORTING due to invalid path from sender: dir1/dir2/dir3
rsync error: protocol incompatibility (code 2) at generator.c(1271) [generator=3.1.2]
if the listed directories are trying to delete full subtree of files.
According to https://bugzilla.samba.org/show_bug.cgi?id=12569 this has been fixed in version 3.2.2.
See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863334
Could you update the rsync package or backport the fix?
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: rsync 3.1.2-2.1ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-47.51~18.04.1-lowlatency 5.4.55
Uname: Linux 5.4.0-47-lowlatency x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CurrentDesktop: MATE
Date: Fri Sep 18 18:27:53 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-01-05 (621 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: rsync
UpgradeStatus: No upgrade log present (probably fresh install) |
[Impact]
Rsync crashes when using --delete-missing-args on a file with a missing parent folder.
Backporting this fix will allow users to delete missing source args when some files in the list have missing parent folders without interruption.
This is fixed by patching in an upstream commit that allows files with missing parent folders to be handled without aborting.
[Test Plan]
# lxc launch images:ubuntu/focal builder
# lxc exec builder bash
# apt update
# apt dist-upgrade
# apt install -y rsync
# mkdir -p a/1 b/1; echo "/1/2/3" > list
# rsync --dry-run --stats -Pav --delete-missing-args --files-from=list a b
* This should crash with exit code 2 after printing the following:
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]
[Where problems could occur]
Since the remove operation will now continue when files in the list have missing parent folders, other errors and warnings with different behaviors could arise instead.
A warning that may arise the most often in these situations is the following:
warning: some files vanished before they could be transferred (code 24) at main.c(1207) [sender=3.1.3]
This appears at the end of the above test case with the new code. The behavior is expected, but it may cause regressions due to changes in the output of certain use cases.
[Original Description]
Running
rsync --delete-missing-args --files-from=...
fails with error message like
ABORTING due to invalid path from sender: dir1/dir2/dir3
rsync error: protocol incompatibility (code 2) at generator.c(1271) [generator=3.1.2]
if the listed directories are trying to delete full subtree of files.
According to https://bugzilla.samba.org/show_bug.cgi?id=12569 this has been fixed in version 3.2.2.
See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863334
Could you update the rsync package or backport the fix?
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: rsync 3.1.2-2.1ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-47.51~18.04.1-lowlatency 5.4.55
Uname: Linux 5.4.0-47-lowlatency x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CurrentDesktop: MATE
Date: Fri Sep 18 18:27:53 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-01-05 (621 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: rsync
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-11-03 23:10:09 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~lvoytek/ubuntu/+source/rsync/+git/rsync/+merge/411290 |
|
2021-11-05 23:40:56 |
Steve Langasek |
rsync (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2021-11-05 23:40:58 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2021-11-05 23:41:00 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2021-11-05 23:41:05 |
Steve Langasek |
tags |
amd64 apport-bug bionic server-todo |
amd64 apport-bug bionic server-todo verification-needed verification-needed-focal |
|
2021-11-05 23:41:55 |
Steve Langasek |
rsync (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2021-11-05 23:42:02 |
Steve Langasek |
tags |
amd64 apport-bug bionic server-todo verification-needed verification-needed-focal |
amd64 apport-bug bionic server-todo verification-needed verification-needed-bionic verification-needed-focal |
|
2021-11-08 19:07:00 |
Lena Voytek |
bug |
|
|
added subscriber Lena Voytek |
2021-11-08 20:17:47 |
Lena Voytek |
tags |
amd64 apport-bug bionic server-todo verification-needed verification-needed-bionic verification-needed-focal |
amd64 apport-bug bionic server-todo verification-done-focal verification-needed verification-needed-bionic |
|
2021-11-08 20:41:31 |
Lena Voytek |
tags |
amd64 apport-bug bionic server-todo verification-done-focal verification-needed verification-needed-bionic |
amd64 apport-bug bionic server-todo verification-done-bionic verification-done-focal |
|
2021-11-17 00:05:08 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2021-11-17 00:23:53 |
Launchpad Janitor |
rsync (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2021-11-17 00:24:06 |
Launchpad Janitor |
rsync (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|