Bug 1214616

Summary: rsync dumping core
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michael Hirmke <opensuse>
Component: BasesystemAssignee: David Anes <david.anes>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pmonrealgonzalez
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michael Hirmke 2023-08-25 11:35:44 UTC
Starting with the latest snapshot before Aug, 15 rsync started dumping core, when trying to backup /boot/efi on my notebook:

/usr/bin/rsync --archive --one-file-system --hard-links --acls --xattrs --numeric-ids --delete-excluded --delete-during --filter=dir-merge_/.rsync_filter_backup_client --exclude-from=/var/log/backup/exclude-client.lst --verbose --stats --no-human-readable /boot/efi/ backupsrv:/var/backup/client/boot_efi/
sending incremental file list
*** buffer overflow detected ***: terminated
Aborted (core dumped)
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [Receiver=3.2.3]

Actual version is openSUSE Tumbleweed 20230822.
Comment 1 Michael Hirmke 2023-08-25 11:37:38 UTC
Backing up / and /boot works without any problems.
Comment 2 Michael Hirmke 2023-08-25 11:38:11 UTC
fsck for /boot/efi didn't show any errors to be corrected.
Comment 4 Michael Hirmke 2023-08-31 18:38:06 UTC
The filter option is causing the problem:

--filter=dir-merge_/.rsync_filter_backup_client

The same command without this options works without dumping core.

It doesn't matter what file name is used her - even using "x" causes a dump.
Comment 5 Michael Hirmke 2023-08-31 18:39:01 UTC
Even using -F leads to a dump.
Comment 6 Dirk Mueller 2023-09-05 12:20:37 UTC
this was annoying the hell out of me, so I submitted Jiri's fix to factory.
Comment 7 David Anes 2023-09-05 13:03:47 UTC
Related Factory request: https://build.opensuse.org/request/show/1109041
Comment 8 David Anes 2023-09-06 08:13:17 UTC

*** This bug has been marked as a duplicate of bug 1214249 ***