GNU bug report logs - #37161
‘guix pack -f docker’ creates an image without /tmp

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Fri, 23 Aug 2019 14:58:01 UTC

Severity: normal

Done: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 37161-done <at> debbugs.gnu.org
Subject: Re: bug#37161: ‘guix pack -f docker’ creates an image without /tmp
Date: Tue, 27 Aug 2019 12:47:22 +0200
Hi,

Ricardo Wurmus <rekado <at> elephly.net> skribis:

>> One can work around it by asking Docker to create /tmp:
>>
>>   docker run --tmpfs /tmp …
>>
>> However, it seems easier to just create /tmp upfront in the image.
>
> If /tmp exists in the image can a user still overwrite it to either map
> an outside directory to /tmp in the container or to use a tmpfs?

Yes I think so.

> If this is still possible, I agree that /tmp should exist in the
> generated image – even if it’s just a plain mount point.

Done in commit 7979a287f8eb84cbbfa44629951572408939a756.

Thanks,
Ludo’.




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

Previous Next


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