• Warning: rsync is broken

    From alain williams@3:633/10 to All on Friday, June 19, 2026 12:40:01
    I am running Debian 13.

    rsync was broken a few weeks ago (in May).

    The symptom is error messages 'Invalid argument (22)' when trying to read files. (The 22 is the errno value).

    See: https://github.com/RsyncProject/rsync/issues/897

    Note the workaround commented by ovalhub:

    I was able to find a workaround for this bug with a rsyncd.conf change.
    As explained above and in #922, the issue is triggered when a module has path = /.
    With use chroot = yes, you can set path = //.// for the same / result.
    I was then able to rsync / as desired.

    I use rsync for backups, this normally runs silently overnight. I did not see the huge number of error messages as rsync also hung and the script did not end and thus send me email.

    I think that this has now been fixed but has not appeared in Debian, yet. I implemented the workaround y/day.

    Regards

    --
    Alain Williams
    Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
    +44 (0) 787 668 0256 https://www.phcomp.co.uk/
    Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html
    #include <std_disclaimer.h>

    --- PyGate Linux v1.5.17
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Dan Ritter@3:633/10 to All on Friday, June 19, 2026 13:10:02
    alain williams wrote:
    I use rsync for backups, this normally runs silently overnight. I did not see the huge number of error messages as rsync also hung and the script did not end
    and thus send me email.

    You can solve this class of problems with the coreutils program
    "timeout". It will run a given program and kill it if it is
    still running after a configurable period of time.


    -dsr-


    --
    https://randomstring.org/~dsr/eula.html is binding upon you.
    [Set the new password to "swordfish". Please repeat everything three times.]

    --- PyGate Linux v1.5.17
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)