Package: ftpsync
Version: 20180513+nmu1
Severity: important

Hi all,

I discussed this a few days ago in #debian-ftp; I think the bug is
probably in rsync but ftpsync is how I ran across it.

My mirror syncs against free.hands.com / ftp.uk.debian.org. With rsync
3.2.5-1 my mirror fails to sync: stage1 executes fine but stage 2 fails
with the following error from rsync:

ERROR: rejecting excluded file-list name: project
rsync error: protocol incompatibility (code 2) at flist.c(994)
[Receiver=3.2.5]
rsync error: protocol incompatibility (code 2) at io.c(1644)
[sender=3.2.3]
(from rsync-ftpsync.error.0)

The ftpsync output around this time is:

Aug 28 07:47:04 tarquin ftpsync[753936]: Running stage2: rsync --quiet
--log-file /srv/debmirror/log/rsync-ftpsync.log
--filter=exclude_/Archive-Update-in-Progress-tarquin.boo.tc
--filter=protect_/Archive-Update-in-Progress-tarquin.boo.tc
--filter=exclude_/Archive-Update-Required-tarquin.boo.tc
--filter=protect_/Archive-Update-Required-tarquin.boo.tc
--filter=exclude_/project/trace/tarquin.boo.tc
--filter=protect_/project/trace/tarquin.boo.tc
--filter=exclude_/project/trace/tarquin.boo.tc-stage1
--filter=protect_/project/trace/tarquin.boo.tc-stage1
--filter=exclude_/project/trace/_hierarchy
--filter=protect_/project/trace/_hierarchy
--filter=exclude_/project/trace/_traces
--filter=protect_/project/trace/_traces --filter=include_/project/
--filter=protect_/project/ --filter=include_/project/trace/
--filter=protect_/project/trace/ --filter=include_/project/trace/*
--bwlimit=0 -prltvHSB8192 --safe-links --chmod=D755,F644 --timeout 120
--stats --no-human-readable --no-inc-recursive --exclude=.~tmp~/
--filter=include_/dists/**/binary-arm64/
--filter=include_/dists/**/installer-arm64/
--filter=include_/dists/**/Contents-arm64.gz
--filter=include_/dists/**/Contents-udeb-arm64.gz
--filter=include_/dists/**/Contents-arm64.diff/
--filter=include_/indices/**/arch-arm64.files
--filter=include_/indices/**/arch-arm64.list.gz
--filter=include_/pool/**/*_arm64.deb
--filter=include_/pool/**/*_arm64.udeb
--filter=include_/pool/**/*_arm64.changes
--filter=include_/dists/**/binary-amd64/
--filter=include_/dists/**/installer-amd64/
--filter=include_/dists/**/Contents-amd64.gz
--filter=include_/dists/**/Contents-udeb-amd64.gz
--filter=include_/dists/**/Contents-amd64.diff/
--filter=include_/indices/**/arch-amd64.files
--filter=include_/indices/**/arch-amd64.list.gz
--filter=include_/pool/**/*_amd64.deb
--filter=include_/pool/**/*_amd64.udeb
--filter=include_/pool/**/*_amd64.changes
--filter=include_/dists/**/binary-i386/
--filter=include_/dists/**/installer-i386/
--filter=include_/dists/**/Contents-i386.gz
--filter=include_/dists/**/Contents-udeb-i386.gz
--filter=include_/dists/**/Contents-i386.diff/
--filter=include_/indices/**/arch-i386.files
--filter=include_/indices/**/arch-i386.list.gz
--filter=include_/pool/**/*_i386.deb
--filter=include_/pool/**/*_i386.udeb
--filter=include_/pool/**/*_i386.changes
--filter=include_/dists/**/source/ --filter=include_/pool/**/*.tar.*
--filter=include_/pool/**/*.diff.* --filter=include_/pool/**/*.dsc
--filter=include_/dists/**/binary-all/
--filter=include_/dists/**/installer-all/
--filter=include_/dists/**/Contents-all.gz
--filter=include_/dists/**/Contents-udeb-all.gz
--filter=include_/dists/**/Contents-all.diff/
--filter=include_/indices/**/arch-all.files
--filter=include_/indices/**/arch-all.list.gz
--filter=include_/pool/**/*_all.deb --filter=include_/pool/**/*_all.udeb
--filter=include_/pool/**/*_all.changes
--filter=exclude_/dists/**/binary-*/
--filter=exclude_/dists/**/installer-*/
--filter=exclude_/dists/**/Contents-*.gz
--filter=exclude_/dists/**/Contents-udeb-*.gz
--filter=exclude_/dists/**/Contents-*.diff/
--filter=exclude_/indices/**/arch-*.files
--filter=exclude_/indices/**/arch-*.list.gz
--filter=exclude_/pool/**/*_*.deb --filter=exclude_/pool/**/*_*.udeb
--filter=exclude_/pool/**/*_*.changes --filter=exclude_/dists/**/source/
--filter=exclude_/pool/**/*.tar.* --filter=exclude_/pool/**/*.diff.*
--filter=exclude_/pool/**/*.dsc free.hands.com::debian
/srv/debmirror/debian/ --max-delete=40000 --delay-updates --delete
--delete-delay --delete-excluded
Aug 28 07:47:41 tarquin ftpsync[753936]: Back from rsync with returncode
2
Aug 28 07:47:41 tarquin ftpsync[753936]: ERROR: Sync step 2 went wrong,
got errorcode 2. Logfile: /srv/debmirror/log/ftpsync.log
Aug 28 07:47:41 tarquin ftpsync[753936]: Mirrorsync done with errors
(from ftpsync.log.0)

The relevant parts of my ftpsync.conf are:

RSYNC_HOST=free.hands.com
RSYNC_PATH="debian"
ARCH_INCLUDE="arm64 amd64 i386 source"

Reverting to rsync 3.2.4-1+b1 allows the sync to complete as normal. The
logs above are from a diffrent machine than the one I'm reporting on
where I have allowed rsync to update to 3.2.5-1, and which I can use for
testing.

Cheers,
Chris

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ftpsync depends on:
ii  exim4-daemon-light [mail-transport-agent]  4.96-3
hi  rsync                                      3.2.4-1+b1

Versions of packages ftpsync recommends:
ii  curl  7.84.0-2

ftpsync suggests no packages.

-- no debconf information

Reply via email to