Re: rrdtool: 64-bit time_t transition requires a dump/restore of existing files

Paul Gevers <[email protected]> Sun, 17 Aug 2025 20:14:45 +0200
Newsgroups gmane.linux.debian.devel.documentation
Message-ID <[email protected]>
clone 1104695 -1
reassign -1 release-notes
severity -1 normal
thanks

I found this from 
https://blog.trueelena.org/blog/2025/08/17-rrdtool_and_trixie/index.html 
which also has instructions what to do.

Paul

On Sun, 4 May 2025 18:33:23 +0000 Marc Ballarin <[email protected]> 
wrote:
> Package: rrdtool
> Version: 1.7.2-4.2+b5
> Severity: minor
> 
> Dear Maintainer,
> 
> * What led up to the situation?
> Upgrading a 32-Bit ARM system from Bookworm to Trixie
> * What was the outcome of this action?
> RRD files created in Bookworm are not readable in Trixie:
> $ rrdtool info test.rrd
> ERROR: 'test.rrd' is too small (should be 2986716 bytes)
> * What outcome did you expect instead?
> $ rrdtool info test.rrd
> filename = "test.rrd"
> ...
> 
> This is somewhat expected behaviour, since RRD files are platform
> dependent, but it might still be surprising to users.
> 
> IMHO, this behaviour, as well as the workaround, should be mentioned in
> the release notes.
> 
> Workaround:
> 1. Stop writers and dump RRD to XML *before* upgrading:
> $ rrdtool dump test.rrd > test.xml
> 2. Restore RRD from XML *after* upgrading:
> $ rrdtool restore -f test.xml test.rrd
> 
> Regards,
> Marc
> 
> 
> -- System Information:
> Debian Release: trixie/sid
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: armhf (armv7l)
> 
> Kernel: Linux 6.12.22-armmp (SMP w/4 CPU threads)
> Kernel taint flags: TAINT_CRAP
> Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages rrdtool depends on:
> ii libc6 2.41-7
> ii libglib2.0-0t64 2.84.1-1
> ii librrd8t64 1.7.2-4.2+b5
> 
> rrdtool recommends no packages.
> 
> Versions of packages rrdtool suggests:
> ii librrds-perl 1.7.2-4.2+b5
> 
> -- no debconf information
> 
> 
>
OpenPGP_signature.asc (application/pgp-signature, 585 B)
-----BEGIN PGP SIGNATURE-----

wsC7BAABCABvBYJoohwVCRCcXJnrBb11CkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcme0H0cWeAZTg5GAE9O1u75GNk2/2M2ruwMKfnPtx6k3
3hYhBFi2bUhza+k7BS3mcpxcmesFvXUKAACC6Qf+L0kQFM7iRLlGs/bnTP50shbT
ac8sKvf5NMdyAErC9jK+bedLNCZMjhkotz2LEwM85Qh5MOJ9D4c47QTWIv5SThRR
ch4ztpiQ+LsR9mkKJBck6mYu0iXqiFXU3ZAu1RiJU9VjVSmeWjfTtAQojfKyCvGK
db5NSvMMC20p/xzIC+qH/4vELTOYUjvS4yP+blgbyqEhzcJkMF1xf9bbPXKG3SVe
lXMIRzI9Vhs55AKbw1iW5oHDbHHMFdBMbNujQD+41RVEJPz2xixz6cIbL1ceHid6
2GOGEAZ3J+JJFdOoRPRgpE8yQG0vVhax4VLNj0tftVORZaYOXc1ufSu5rXrBRg==
=ZVTC
-----END PGP SIGNATURE-----