--- Begin Message ---
Subject: |
Directories in the store get non-zero timestamps |
Date: |
Tue, 13 Nov 2018 00:47:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
On berlin, I see that timestamps on directories are not reset:
--8<---------------cut here---------------start------------->8---
address@hidden ~$ 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’.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#33361: Directories in the store get non-zero timestamps |
Date: |
Tue, 13 Nov 2018 15:17:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> On berlin, I see that timestamps on directories are not reset:
>
> address@hidden ~$ 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’.
--- End Message ---