From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#34768: guix-daemon tmpfs out of space on parabola Date: Wed, 06 Mar 2019 15:31:13 +0100 Message-ID: <8736o08494.fsf@nckx> References: <22f759c1-a41c-d3b8-08e7-fe4cda616894@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1XaV-0005w3-Sr for bug-guix@gnu.org; Wed, 06 Mar 2019 09:32:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1XaV-0005Nz-01 for bug-guix@gnu.org; Wed, 06 Mar 2019 09:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1XaU-0005Ns-RF for bug-guix@gnu.org; Wed, 06 Mar 2019 09:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1XaU-0006PD-JF for bug-guix@gnu.org; Wed, 06 Mar 2019 09:32:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <22f759c1-a41c-d3b8-08e7-fe4cda616894@riseup.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: swedebugia Cc: 34768@debbugs.gnu.org Hullo, swedebugia wrote: > I'm trying to build New Moon (unbranded palemoon browser) in=20 > 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=20 > find a > way to point guix-daemon to another tmpdir than /tmp. Well, TMPDIR=3D should Just Work :-) You'll have to set it to the environment of guix-daemon (and=20 restart the daemon) for it to have any effect. How that's done=20 depends on your service manager/init system. I guess a =E2=80=98set-tmpdir=E2=80=99 RPC could be added to the protocol. = I=20 haven't thought through the security implications, and IMO it's=20 just papering over the real bug, which is=E2=80=A6 > Is this a bug? Not sure what exactly you're referring to, but yes, I do think=20 that using /tmp instead of /var/tmp (or any non-tmpfs) is a bug by=20 modern(?) conventions. It's guaranteed to break eventually on=20 almost every non-Guix System, and when it doesn't it's an abuse of=20 RAM and swap space. Kind regards, T G-R