unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: swedebugia <swedebugia@riseup.net>
To: Tobias Geerinckx-Rice <somebody@not-sent-or-endorsed-by.tobias.gr>
Cc: 34768@debbugs.gnu.org
Subject: bug#34768: guix-daemon tmpfs out of space on parabola
Date: Thu, 07 Mar 2019 15:20:07 +0100	[thread overview]
Message-ID: <0E607D15-3AB6-410C-A609-AEB092844EF6@riseup.net> (raw)
In-Reply-To: <8736o08494.fsf@nckx>

[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]

Tobias Geerinckx-Rice <somebody@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.

[-- Attachment #2: Type: text/html, Size: 1946 bytes --]

  reply	other threads:[~2019-03-08 19:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-06 14:04 bug#34768: guix-daemon tmpfs out of space on parabola swedebugia
2019-03-06 14:31 ` Tobias Geerinckx-Rice
2019-03-07 14:20   ` swedebugia [this message]
2019-03-10 17:29 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0E607D15-3AB6-410C-A609-AEB092844EF6@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=34768@debbugs.gnu.org \
    --cc=somebody@not-sent-or-endorsed-by.tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).