GNU bug report logs - #33361
Directories in the store get non-zero timestamps

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Mon, 12 Nov 2018 23:49:02 UTC

Severity: important

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 33361 in the body.
You can then email your comments to 33361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#33361; Package guix. (Mon, 12 Nov 2018 23:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 12 Nov 2018 23:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Bug Guix <bug-guix <at> gnu.org>
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: Directories in the store get non-zero timestamps 
Date: Tue, 13 Nov 2018 00:47:53 +0100
On berlin, I see that timestamps on directories are not reset:

--8<---------------cut here---------------start------------->8---
ludo <at> berlin ~$ find /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4 -exec stat -c '%y %n' {} \;
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages
2018-11-13 00:32:27.631418400 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/SOURCES.txt
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/requires.txt
1970-01-01 01:00:00.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/dependency_links.txt
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/entry_points.txt
1970-01-01 01:00:00.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/not-zip-safe 
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/top_level.txt
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/PKG-INFO
2018-11-13 00:32:27.627418400 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables/utils.py
1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables/index.py
2018-11-13 00:32:27.623418400 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables/tests
[...]
--8<---------------cut here---------------end--------------->8---

This is probably a bug in (guix store database) as used by ‘guix
offload’.

Ludo’.




Severity set to 'important' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 13 Nov 2018 12:58:02 GMT) Full text and rfc822 format available.

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 13 Nov 2018 14:19:01 GMT) Full text and rfc822 format available.

Notification sent to ludo <at> gnu.org (Ludovic Courtès):
bug acknowledged by developer. (Tue, 13 Nov 2018 14:19:02 GMT) Full text and rfc822 format available.

Message #12 received at 33361-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 33361-done <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: Re: bug#33361: Directories in the store get non-zero timestamps
Date: Tue, 13 Nov 2018 15:17:46 +0100
ludo <at> gnu.org (Ludovic Courtès) skribis:

> On berlin, I see that timestamps on directories are not reset:
>
> ludo <at> berlin ~$ find /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4 -exec stat -c '%y %n' {} \;
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages
> 2018-11-13 00:32:27.631418400 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/SOURCES.txt
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/requires.txt
> 1970-01-01 01:00:00.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/dependency_links.txt
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/entry_points.txt
> 1970-01-01 01:00:00.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/not-zip-safe 
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/top_level.txt
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/PKG-INFO
> 2018-11-13 00:32:27.627418400 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables/utils.py
> 1970-01-01 01:00:01.000000000 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables/index.py
> 2018-11-13 00:32:27.623418400 +0100 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables/tests
> [...]
>
> This is probably a bug in (guix store database) as used by ‘guix
> offload’.

Fixes in commit f5a2724ae453f4a4b55ff848f4ad7e30efb6eef8.

For the record, the bug also impacted permissions on these directories,
which were not set to read-only for the owner (it was still read-only
for everyone else, fortunately):

--8<---------------cut here---------------start------------->8---
$ ls -ld /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info
drwxr-xr-x 2 root root 4096 Nov 13 00:32 /gnu/store/yn7dx3jkb18mc7dwnsn2izix2f62riw8-python-tables-3.4.4/lib/python3.7/site-packages/tables-3.4.4-py3.7.egg-info/
--8<---------------cut here---------------end--------------->8---

The bug occurred only on directories containing files that were
deduplicated.

(Remember that you’re not exposed at all if you do not use offloading.)

I’ll update the ‘guix’ package so everyone can deploy the fix.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 12 Dec 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 134 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.