GNU bug report logs - #34768
guix-daemon tmpfs out of space on parabola

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Wed, 6 Mar 2019 14:03:02 UTC

Severity: normal

Tags: notabug

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

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 34768 in the body.
You can then email your comments to 34768 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#34768; Package guix. (Wed, 06 Mar 2019 14:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to swedebugia <swedebugia <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 06 Mar 2019 14:03:02 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: Report new Guix bug <bug-guix <at> gnu.org>
Subject: guix-daemon tmpfs out of space on parabola
Date: Wed, 6 Mar 2019 15:04:10 +0100
[Message part 1 (text/plain, inline)]
Hi

I'm trying to build New Moon (unbranded palemoon browser) in parabola.
The tmpfs i 2G which is way too little it seems.

I read the man page of guix-daemon and the manual and could not find a
way to point guix-daemon to another tmpdir than /tmp.

Is this a bug?

In case it is not possible to change on the guix side (before we rewrite
the daemon) I think we should add a section about how to work around it
to the manual.

-- 
Cheers Swedebugia

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#34768; Package guix. (Wed, 06 Mar 2019 14:32:02 GMT) Full text and rfc822 format available.

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

From: Tobias Geerinckx-Rice <somebody <at> not-sent-or-endorsed-by.tobias.gr>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 34768 <at> debbugs.gnu.org
Subject: Re: bug#34768: guix-daemon tmpfs out of space on parabola
Date: Wed, 06 Mar 2019 15:31:13 +0100
Hullo,

swedebugia wrote:
> I'm trying to build New Moon (unbranded palemoon browser) in 
> parabola.
> The tmpfs i 2G which is way too little it seems.
>
> I read the man page of guix-daemon and the manual and could not 
> find a
> way to point guix-daemon to another tmpdir than /tmp.

Well, TMPDIR= should Just Work :-)

You'll have to set it to the environment of guix-daemon (and 
restart the daemon) for it to have any effect.  How that's done 
depends on your service manager/init system.

I guess a ‘set-tmpdir’ RPC could be added to the protocol.  I 
haven't thought through the security implications, and IMO it's 
just papering over the real bug, which is…

> Is this a bug?

Not sure what exactly you're referring to, but yes, I do think 
that using /tmp instead of /var/tmp (or any non-tmpfs) is a bug by 
modern(?) conventions.  It's guaranteed to break eventually on 
almost every non-Guix System, and when it doesn't it's an abuse of 
RAM and swap space.

Kind regards,

T G-R




Information forwarded to bug-guix <at> gnu.org:
bug#34768; Package guix. (Fri, 08 Mar 2019 19:12:02 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: Tobias Geerinckx-Rice <somebody <at> not-sent-or-endorsed-by.tobias.gr>
Cc: 34768 <at> debbugs.gnu.org
Subject: Re: bug#34768: guix-daemon tmpfs out of space on parabola
Date: Thu, 07 Mar 2019 15:20:07 +0100
[Message part 1 (text/plain, inline)]
Tobias Geerinckx-Rice <somebody <at> not-sent-or-endorsed-by.tobias.gr> skrev: (6 mars 2019 15:31:13 CET)
>Hullo,
>
>swedebugia wrote:
>> I'm trying to build New Moon (unbranded palemoon browser) in 
>> parabola.
>> The tmpfs i 2G which is way too little it seems.
>>
>> I read the man page of guix-daemon and the manual and could not 
>> find a
>> way to point guix-daemon to another tmpdir than /tmp.
>
>Well, TMPDIR= should Just Work :-)
>
>You'll have to set it to the environment of guix-daemon (and 
>restart the daemon) for it to have any effect.  How that's done 
>depends on your service manager/init system.
>
>I guess a ‘set-tmpdir’ RPC could be added to the protocol.  I 
>haven't thought through the security implications, and IMO it's 
>just papering over the real bug, which is…
>
>> Is this a bug?
>
>Not sure what exactly you're referring to, but yes, I do think 
>that using /tmp instead of /var/tmp (or any non-tmpfs) is a bug by 
>modern(?) conventions.  It's guaranteed to break eventually on 
>almost every non-Guix System, and when it doesn't it's an abuse of 
>RAM and swap space.
>
>Kind regards,
>
>T G-R

Hi 😃

Thanks for the details. I agree that it is a bug.

I solved it by masking tmp.mount in systemd according to the arch wiki and thus disabled tmpfs for the whole thing.
-- 
Sent from my k-9 mail for Android.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34768; Package guix. (Sun, 10 Mar 2019 17:30:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 34768 <at> debbugs.gnu.org
Subject: Re: bug#34768: guix-daemon tmpfs out of space on parabola
Date: Sun, 10 Mar 2019 18:29:15 +0100
Hi swedebugia,

swedebugia <swedebugia <at> riseup.net> skribis:

> I read the man page of guix-daemon and the manual and could not find a
> way to point guix-daemon to another tmpdir than /tmp.

guix-daemon honors the TMPDIR environment variable, so you can run:

  TMPDIR=/some/where/else guix-daemon …

See <https://gnu.org/s/guix/manual/en/html_node/Invoking-guix_002ddaemon.html>.

HTH!

Ludo’.




Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 10 Mar 2019 17:30:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 34768 <at> debbugs.gnu.org and swedebugia <swedebugia <at> riseup.net> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 10 Mar 2019 17:30:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 Apr 2019 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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