Regression in stderr handling in 3.2.3 breaks BackupPc on 22.04; fix available in 3.2.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rsync (Debian) |
New
|
Unknown
|
|||
rsync (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Marc Deslauriers |
Bug Description
rsync 3.2.3 (packaged in Ubuntu 22.04) changes stderr handling, leading another bug in libfile-rsyncp-perl (in Ubuntu 18.04 and 20.04) to surface [1].
It practically makes using BackupPC 3 impossible with clients using rsync 3.2.3, as is packaged for 22.04. The fact that BackupPC on 20.04 can't be used to back up machines with 22.04 is rather surprising and has bitten other users [2].
It's unclear whether the bug will be fixed in 18.04's and 20.04's libfile-rsyncp-perl package (for status, see [3]).
Because of this, the rsync maintainer has included a patch in 3.2.4 that fixes this regression [4] (even though not strictly an rsync bug). As a result, rsync 3.2.3 is the only affected version, which happens to be the one packaged in 22.04.
This report is to request backporting that fix [4] to Ubuntu 22.04, so that things don't silently break in scenarios where the backup server is left at 20.04, and some backup clients happen to upgrade to 22.04.
I'm not sure what the criteria for security releases are, but as the issue causes backup denial of service and has easy mitigation, I think it would make sense to put it through the security channel.
[1]: https:/
[2]: https://<email address hidden>
[3]: https:/
[4]: https:/
summary: |
- 22.04: Backport request from 3.2.4 for fix of 3.2.3 regression + Regression in stderr handling in 3.2.3 breaks BackupPc on 22.04; fix + available in 3.2.4 |
Changed in rsync (Ubuntu Jammy): | |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
Changed in rsync (Debian): | |
status: | Unknown → New |
Thanks for the links Peter. Looking at the upstream patch, it looks straightforward enough, but can you also provide more detailed steps to reproduce this issue?
I gather this would involve setting up a 20.04 host and 22.04 clients, running Backuppc on the latter to pull data from the former. If you can provide a reproducer that'd help accelerate progress towards getting a fix prepared for backporting. Thanks ahead of time.