GNU bug report logs - #19771
Missing documentation on enviroment variables for guix-deamon

Previous Next

Package: guix;

Reported by: Andrei Osipov <andrspv <at> gmail.com>

Date: Wed, 4 Feb 2015 17:40:02 UTC

Severity: normal

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

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: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#19771: closed (Missing documentation on enviroment variables
 for guix-deamon)
Date: Sat, 07 Feb 2015 17:43:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 07 Feb 2015 18:42:28 +0100
with message-id <87wq3toby3.fsf <at> gnu.org>
and subject line Re: bug#19771: Missing documentation on enviroment variables for guix-deamon
has caused the debbugs.gnu.org bug report #19771,
regarding Missing documentation on enviroment variables for guix-deamon
to be marked as done.

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


-- 
19771: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19771
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrei Osipov <andrspv <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Missing documentation on enviroment variables for guix-deamon
Date: Wed, 04 Feb 2015 18:47:48 +0300

Consider adding the descrition of env variables used by guix-deamon to
the documentation. 

<andreoss`> how to change the temporary directory from /tmp to /var/tmp?
                                                                        [08:14]
<andreoss`> i have /tmp as tmpfs and it has no enough space to build gcc
<Sleep_Walker> hm, I can't find it either in ./configure, either as parameter
               to guix-daemon                                           [08:29]
<Sleep_Walker> it seems it could respect TMPDIR environment variable    [08:34]
<Sleep_Walker> andreoss`: could you confirm?                            [08:36]
<Sleep_Walker> export TMPDIR=/var/tmp ; guix-daemon <your_parameters>
<andreoss`> Sleep_Walker: confirmed                                     [08:39]
<andreoss`> thanks
<Sleep_Walker> andreoss`: you're welcome                                [08:42]
<Sleep_Walker> andreoss`: could you please file a bug and request
               documentation improvement?
<Sleep_Walker> so it doesn't get lost   


[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Andrei Osipov <andrspv <at> gmail.com>
Cc: 19771-done <at> debbugs.gnu.org
Subject: Re: bug#19771: Missing documentation on enviroment variables for
 guix-deamon
Date: Sat, 07 Feb 2015 18:42:28 +0100
Andrei Osipov <andrspv <at> gmail.com> skribis:

> <andreoss`> how to change the temporary directory from /tmp to /var/tmp?
>                                                                         [08:14]
> <andreoss`> i have /tmp as tmpfs and it has no enough space to build gcc
> <Sleep_Walker> hm, I can't find it either in ./configure, either as parameter
>                to guix-daemon                                           [08:29]
> <Sleep_Walker> it seems it could respect TMPDIR environment variable    [08:34]
> <Sleep_Walker> andreoss`: could you confirm?                            [08:36]
> <Sleep_Walker> export TMPDIR=/var/tmp ; guix-daemon <your_parameters>
> <andreoss`> Sleep_Walker: confirmed                                     [08:39]

I’ve added two paragraphs to that effect:

     When the daemon performs a build on behalf of the user, it creates a
  build directory under ‘/tmp’ or under the directory specified by its
  ‘TMPDIR’ environment variable; this directory is shared with the
  container for the duration of the build.  Be aware that using a
  directory other than ‘/tmp’ can affect build results—for example, with a
  longer directory name, a build process that uses Unix-domain sockets
  might hit the name length limitation for ‘sun_path’, which it would
  otherwise not hit.

     The build directory is automatically deleted upon completion, unless
  the build failed and the client specified ‘--keep-failed’ (*note
  ‘--keep-failed’: Invoking guix build.).

Thanks for the report!

Ludo’.


This bug report was last modified 10 years and 184 days ago.

Previous Next


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