Your message dated Tue, 19 May 2026 09:00:38 +0000
with message-id <[email protected]>
and subject line Fixed upstream since 3.1.0
has caused the Debian Bug report #636416,
regarding rsync: truncates time fraction for local mirroring on ext4 filesystem
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.)
--
636416: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636416
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsync
Version: 3.0.7-2
Severity: normal
Hi,
I make local partition backups using rsync, and rsync is the best!
I also run a filesystem meta-data script to validate the backup
partition against its original source.
Since I started using ext4 instead of ext3, the meta-data validation
step now fails because rsync truncates the time fraction to zero on the
destination filesystem.
Here is a simple typescript that illustrates the problem,
$ find srcd -printf '%y %04m %3n %6U %6G %10s %T@ %p\n'
d 0755 2 1001 1001 4096 1312323863.5645407420 srcd
f 0644 1 1001 1001 15 1312307519.8524697750 srcd/s-file
$ rsync -rlptgoDH -x --delete-before srcd/ ddir
$ find srcd -printf '%y %04m %3n %6U %6G %10s %T@ %p\n'
d 0755 2 1001 1001 4096 1312323863.5645407420 srcd
f 0644 1 1001 1001 15 1312307519.8524697750 srcd/s-file
$ find ddir -printf '%y %04m %3n %6U %6G %10s %T@ %p\n'
d 0755 2 1001 1001 4096 1312323863.0000000000 ddir
f 0644 1 1001 1001 15 1312307519.0000000000 ddir/s-file
$ diff -r srcd/ ddir/ ; echo $?
0
As one can see, the contents of srcd/ and ddir/ are identical, however, the
timestamps for all files in ddir/ have had their fractional part set to zero.
Thanks,
Jeffrey Sheinberg
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.38-bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages rsync depends on:
ii base-files 6.0squeeze2 Debian base system miscellaneous f
ii libacl1 2.2.49-4 Access control list shared library
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
rsync recommends no packages.
Versions of packages rsync suggests:
ii openssh-client 1:5.5p1-6+squeeze1 secure shell (SSH) client, for sec
ii openssh-server 1:5.5p1-6+squeeze1 secure shell (SSH) server, for sec
-- no debconf information
--- End Message ---
--- Begin Message ---
Hello,
to my knowledge rsync is able to use nanoseconds since 3.1.0. So the
issue is fixed in a version released and package for Debian.
Regards,
Christian
--- End Message ---