GNU bug report logs -
#21111
GNU tar warns about zeroed timestamps in binary tarball
Previous Next
Reported by: Dave Love <fx <at> gnu.org>
Date: Wed, 22 Jul 2015 11:56:01 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21111 in the body.
You can then email your comments to 21111 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#21111
; Package
guix
.
(Wed, 22 Jul 2015 11:56:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dave Love <fx <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 22 Jul 2015 11:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The timestamps in the guix-binary-0.8.3.x86_64-linux.tar.xz tarball are
all at the epoch, so unpacking it spews messages like
tar: ./var/guix: implausibly old time stamp 1970-01-01 01:00:00
I guess that's not intentional, but if it is, it's probably worth a note
in the installation instructions.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21111
; Package
guix
.
(Wed, 22 Jul 2015 12:28:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 21111 <at> debbugs.gnu.org (full text, mbox):
On Wed, Jul 22, 2015 at 12:55:13PM +0100, Dave Love wrote:
> The timestamps in the guix-binary-0.8.3.x86_64-linux.tar.xz tarball are
> all at the epoch, so unpacking it spews messages like
>
> tar: ./var/guix: implausibly old time stamp 1970-01-01 01:00:00
>
> I guess that's not intentional, but if it is, it's probably worth a note
> in the installation instructions.
It is intentional, as part of making things deterministic.
Andreas
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21111
; Package
guix
.
(Wed, 22 Jul 2015 16:15:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 21111 <at> debbugs.gnu.org (full text, mbox):
Andreas Enge <andreas <at> enge.fr> skribis:
> On Wed, Jul 22, 2015 at 12:55:13PM +0100, Dave Love wrote:
>> The timestamps in the guix-binary-0.8.3.x86_64-linux.tar.xz tarball are
>> all at the epoch, so unpacking it spews messages like
>>
>> tar: ./var/guix: implausibly old time stamp 1970-01-01 01:00:00
>>
>> I guess that's not intentional, but if it is, it's probably worth a note
>> in the installation instructions.
>
> It is intentional, as part of making things deterministic.
Right.
Interestingly, I do not get this message, both with ‘tar xf’ and
‘tar xvf’ with GNU tar 1.28.
I tried with different timezones, and I can’t trigger it.
Dave: What version of GNU tar do you use, and in what timezone?
TIA,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#21111
; Package
guix
.
(Wed, 22 Jul 2015 20:27:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 21111 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> Interestingly, I do not get this message, both with ‘tar xf’ and
> ‘tar xvf’ with GNU tar 1.28.
>
> I tried with different timezones, and I can’t trigger it.
>
> Dave: What version of GNU tar do you use, and in what timezone?
>
> TIA,
> Ludo’.
It was on RHEL6 in the UK zone
$ grep -I zone /etc/sysconfig/clock
ZONE="Europe/London"
with:
$ rpm -q tar
tar-1.23-11.el6.x86_64
There aren't any obviously-relevant patches in the tar package changelog.
I think it would be worth a note on the timestamps anyway to avoid
confusion and make sure they're maintained, if they should be. (Excuse
me if that's done somewhere, but I just went to the current installation
instructions.)
Changed bug title to 'GNU tar warns about zeroed timestamps in binary tarball' from 'possibly bogus in binary tarball'
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Wed, 22 Jul 2015 20:39:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Wed, 22 Jul 2015 21:00:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Dave Love <fx <at> gnu.org>
:
bug acknowledged by developer.
(Wed, 22 Jul 2015 21:00:04 GMT)
Full text and
rfc822 format available.
Message #21 received at 21111-done <at> debbugs.gnu.org (full text, mbox):
Dave Love <fx <at> gnu.org> skribis:
> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Interestingly, I do not get this message, both with ‘tar xf’ and
>> ‘tar xvf’ with GNU tar 1.28.
>>
>> I tried with different timezones, and I can’t trigger it.
>>
>> Dave: What version of GNU tar do you use, and in what timezone?
>>
>> TIA,
>> Ludo’.
>
> It was on RHEL6 in the UK zone
>
> $ grep -I zone /etc/sysconfig/clock
> ZONE="Europe/London"
>
> with:
>
> $ rpm -q tar
> tar-1.23-11.el6.x86_64
>
> There aren't any obviously-relevant patches in the tar package changelog.
According to the 1.28 manual (info "(tar) warnings"), this specific
warning can be explicitly enabled with --warning=timestamp.
However, I tried variations of the following command with no luck:
TZ=Europe/London tar --warning=timestamp --extract -f \
guix-binary-0.8.3.i686-linux.tar.xz
So maybe the fact that 1.28 doesn’t emit the warning is a bug.
> I think it would be worth a note on the timestamps anyway to avoid
> confusion and make sure they're maintained, if they should be. (Excuse
> me if that's done somewhere, but I just went to the current installation
> instructions.)
I’ve added this to the installation instructions in commit aafa0df:
Some versions of GNU tar raise a warning about “implausibly old
time stamps”. This is because all the files in the archive have
their modification time set to zero (which means January 1st,
1970.) This is done on purpose to make sure the archive content is
independent of its creation time, thus making it reproducible.
Thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 20 Aug 2015 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.