Package: rsync Version: 3.2.3-7 Severity: important Hello. After last update of Debian/testing (bookworm/sid) with rsync 3.2.3-4 to rsync-3.2.3-7, new version can't change file attributes. Example:
# rsync -va /etc/ld.so.cache /tmp sending incremental file list ld.so.cache rsync: [receiver] failed to set permissions on "/tmp/.ld.so.cache.hvkXg2": Function not implemented (38) Proper permissions for file are not set. Rsync 3.2.3-4 on the same system works good. Ltrace for rsync-3.2.3-7 shows call to non-implemented function "lchmod": [pid 5535] __lxstat(1, ".ld.so.cache.Hhy5UI", 0x7ffe8558e790 <unfinished ...> [pid 5535] SYS_lstat(".ld.so.cache.Hhy5UI", 0x7ffe8558e790) = 0 [pid 5535] <... __lxstat resumed> ) = 0 [pid 5535] utimensat(0xffffff9c, 0x7ffe85590a00, 0x7ffe8558e700, 256 <unfinished ...> [pid 5535] SYS_utimensat(0xffffff9c, 0x7ffe85590a00, 0x7ffe8558e700, 256) = 0 [pid 5535] <... utimensat resumed> ) = 0 [pid 5535] lchmod(0x7ffe85590a00, 420, 0x7ffe8558e700, 0) = 0xffffffff ___________^^^^^^_______________________________________ [pid 5535] __errno_location() = 0x7fc937826480 [pid 5535] __asprintf_chk(0x55c1a1db93d8, 1, 0x55c1a1d8e0cf, 0x55c1a1db8360) = 29 [pid 5535] __errno_location() = 0x7fc937826480 [pid 5535] __snprintf_chk(0x7ffe8558d270, 5120, 1, 5120) = 18 [pid 5535] __vsnprintf_chk(0x7ffe8558d282, 5102, 1, -1) = 58 [pid 5535] strerror(38) = "Function not implemented" [pid 5535] __snprintf_chk(0x7ffe8558d2bc, 5044, 1, -1) = 32 [pid 5535] memcpy(0x55c1a3b57924, "rsync: [receiver] failed to set permissions on "/rz/etc/.ld.so.cache.Hhy5UI": Function not implemented (38)\n", 108) = 0x55c1a3b57924 List of packages for rsync-3.2.3-7 on broken system are: ||/ Name Version Architecture Description +++-================-===============-============-=============================================== ii libacl1:amd64 2.3.1-1 amd64 access control list - shared library ii libc6:amd64 2.30-4 amd64 GNU C Library: Shared libraries ii liblz4-1:amd64 1.9.3-2 amd64 Fast LZ compression algorithm library - runtime ii libpopt0:amd64 1.18-3 amd64 lib for parsing cmdline parameters ii libssl1.1:amd64 1.1.1l-1 amd64 Secure Sockets Layer toolkit - shared libraries ii libxxhash0:amd64 0.8.0-2 amd64 shared library for xxhash ii libzstd1:amd64 1.4.8+dfsg-2.1 amd64 fast lossless compression algorithm ii lsb-base 11.1.0 all Linux Standard Base init script functionality ii zlib1g:amd64 1:1.2.11.dfsg-2 amd64 compression library - runtime Upgrade libc6 to 2.32-4 solves the problem. I suspect that lchmod() function appears in libc6-2.31 (or in some other library), but dependency list for rsync mentions "libc6 (>= 2.15)". Probably it should be corrected. -- Eugene Berdnikov