Your message dated Fri, 3 Jul 2020 19:56:23 +0100
with message-id
<cabwkt9qokyny4plw2vf6sta1onasf1rmaktb9bt5qq7xhrs...@mail.gmail.com>
and subject line rsync unlink failed - unable to delete directory
has caused the Debian Bug report #685026,
regarding rsync unlink failed - unable to delete directory
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
685026: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685026
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsync
Version: 3.0.9-3
Severity: normal
Tags: upstream
I've recently upgraded my backup host from squeeze to wheezy and am
being bit by an issue in rsync handling the replacement of directories
with symlinks.
I use rsync via rsnapshot to build backup snapshots over time using
hard-links on directories. That continues to work correctly. However
when I run a script using rsync directly to sync the entire backup
directory with the multiple snapshot to a removable drive for offsite
backup, rsync fails trying to unlink directories.
This appears to be in line with the bug documented upstream:
https://bugzilla.samba.org/show_bug.cgi?id=7129
I initially thought it was a regression in the version from squeeze,
however I downgraded and tested with the squeeze version with the same
result, so it juts happens to be induced by the upgrade to wheezy
generating the neccessary condition in my backup set.
For reference, the changes on this fairly minimal server that trigger
this issue are:
/etc/network/run
/usr/share/doc/libncurses5
/usr/share/doc/libncursesw5
/usr/share/doc/module-init-tools
/usr/share/doc/tcpd
/usr/share/doc/udev
Then as my automatic backups are rotating the changes through the
generations the list of times the error is encountered increases (one
per backup day).
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: armel (armv5tel)
Kernel: Linux 3.2.0-3-kirkwood
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rsync depends on:
ii base-files 6.9
ii libacl1 2.2.51-8
ii libc6 2.13-33
ii libgcc1 1:4.7.1-2
ii libpopt0 1.16-7
ii lsb-base 4.1+Debian7
rsync recommends no packages.
Versions of packages rsync suggests:
ii openssh-client 1:6.0p1-2
iu openssh-server 1:6.0p1-2
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 3.1.0-1
As confirmed in the upstream bugreport, 3.1.0 fixed the issue
https://bugzilla.samba.org/show_bug.cgi?id=7129
--
Samuel Henrique <samueloph>
--- End Message ---