Bug#954274: y2038 problem

2020-03-19 Thread Christian Göttsche
Oops, I missed the reply from Adam.

He might be right.
You might want to try out adding the line

compressoptions "-n"

to /etc/logrotate.conf



Bug#954274: y2038 problem

2020-03-19 Thread Adam Borowski
Sergio: could you take a look at dates in your /var/log (and subpaths)?
I'm pretty sure you have post-2038 (or pre- 1901-12-13) files there.

I see this one a lot, as for me this happens because of a bug in Allwinner
A64 chipset which causes large forward time jumps.

I've filed this in gzip as #950519, that might be a better solution as it'd
solve the same problem globally rather than just for logrotate.

But if we'd want to fix it here, in logrotate, it's just a two-character
patch that adds -n to gzip's invocation.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ in the beginning was the boot and root floppies and they were good.
⢿⡄⠘⠷⠚⠋⠀   --  on #linux-sunxi
⠈⠳⣄