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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#37161: closed (‘guix pack -f
 docker’ creates an image without /tmp)
Date: Tue, 27 Aug 2019 10:48:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 27 Aug 2019 12:47:22 +0200
with message-id <87sgpmq405.fsf <at> inria.fr>
and subject line Re: bug#37161: ‘guix pack -f docker’ creates an image without /tmp
has caused the debbugs.gnu.org bug report #37161,
regarding ‘guix pack -f docker’ creates an image without /tmp
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
37161: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37161
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-Guix <at> gnu.org
Subject: ‘guix pack -f docker’
 creates an image without /tmp
Date: Fri, 23 Aug 2019 16:57:15 +0200
Hi Guix!

Currently ‘guix pack -f docker’ creates an image that lacks /tmp, but
some programs fail to run when /tmp is missing.

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.

Ludo’.


[Message part 3 (message/rfc822, inline)]
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 267 days ago.

Previous Next


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