From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uNU7NpkG1GHDQwAAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 09:34:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0P/yMpkG1GGHbwAAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 09:34:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8BED91F0D1 for ; Tue, 4 Jan 2022 09:34:33 +0100 (CET) Received: from localhost ([::1]:46424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4fH5-0004mn-5j for larch@yhetil.org; Tue, 04 Jan 2022 03:34:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4f26-0003sR-C1 for bug-guix@gnu.org; Tue, 04 Jan 2022 03:19:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4f26-0006mt-2P for bug-guix@gnu.org; Tue, 04 Jan 2022 03:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4f25-0005QA-Vj for bug-guix@gnu.org; Tue, 04 Jan 2022 03:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52919: Hidden "disk-image-rw" files aren't deleted after use, filling $tmpdir In-Reply-To: Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 04 Jan 2022 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52919 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 52919-submit@debbugs.gnu.org id=B52919.164128428420774 (code B ref 52919); Tue, 04 Jan 2022 08:19:01 +0000 Received: (at 52919) by debbugs.gnu.org; 4 Jan 2022 08:18:04 +0000 Received: from localhost ([127.0.0.1]:36974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4f19-0005P0-Rz for submit@debbugs.gnu.org; Tue, 04 Jan 2022 03:18:04 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4f18-0005OG-6u for 52919@debbugs.gnu.org; Tue, 04 Jan 2022 03:18:02 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CEF23195; Tue, 4 Jan 2022 09:17:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vEAPSLCJBTIA; Tue, 4 Jan 2022 09:17:55 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4F03779; Tue, 4 Jan 2022 09:17:54 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmp850ll.fsf@gnu.org> Date: Tue, 04 Jan 2022 09:17:53 +0100 Message-ID: <8735m3nccu.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: CEF23195 X-Spamd-Result: default: False [0.90 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_HAS_CURRENCY(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 52919@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641285273; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=XcyPdf+91D4LVhFEq/aNRKxZ7tUz1ZphqL1A6EtD09o=; b=Dy//d+IquB6MIGnhEmW5upN4OosruCMX8Zi67nZK7M5BvuCImIfyUaQH/IlrYcC9/ebtvO GSRBA2lirpE35HZz8CaiZuUlMPdHh8X1whhDjBwnr8VDyXkngdavCxPmpz27YYtHkZAnRn f/NvnL7mWntt6PfGsgV23tX8V6p7VQ2SgATSOk92BYeysrhIjSNrDrrMReq6mTBZVwS0El lYbK6vj+Jg9R+/QRcQiRYTGGLzvJs6gzCnl0JaTlPVhD+45RLuEnoki45O3v5sHRcIFrFz QCsw5274h0OdQ2gMbamCb3TeFc9OOBIi/saTJQbpJGbUWyCc6JW1xKTt/41ZWw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641285273; a=rsa-sha256; cv=none; b=Ej0Z7Hp1BEdv8CDECnB6lPySf5yrd4TEHJrKNZj27nk4fWmoEdSX8hs+p13RgrKH+wK0di jtF0DKJfmMp0QWtOuIHNafMDZf+64gAQIl9fE8WjgvhPIXGIHuaW1WmDwQ92kL1/5Sovs0 vvkynu1D4iiYBygQUnm7ioRF3Lb3aSs8QHCh/bV6WrxDxSHcuDIHjkIBlpc0QYZW9i6k9c ZWNCUTqM8C3cF0eAp7XcFlWkTSGZkzjf34Rx07maFlrTMGfLKsC66+xFOIDPV2nRQfsCPq ndYmo+EJXLjz9mT1g5v/5aPOIFNaqGM51lVuxdcY09WGONva5z7jYXLtxgf+sA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.59 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8BED91F0D1 X-Spam-Score: -2.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: /HPeMzeMRb73 Hi, Mathieu Othacehe skribis: >> This is new. I think the issue was introduced with recent work on (gnu >> system image), perhaps from this commit: >> >> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Dda924796744bbb7b= 035a986fe5d28d8d613ff6af > > Before that commit "guix system vm" was always producing volatile > images, regardless of the "--volatile" argument. The new behaviour is to > only produce volatile images if "--volatile" is passed. I had overlooked the change of default. > This means that by default, "disk-image-rw" are created in /tmp so that > QEMU can operate on RW images. The side effect is that those big images > can fill /tmp pretty quickly as you noticed. > > We could use the ~/.cache/guix directory instead to store those > images. We could also make "--volatile" the default and introduce a > "--persistent" argument instead. That would restore the previous "guix > system vm" behaviour. Yes, reverting to the old behavior for =E2=80=98guix system vm=E2=80=99 and= adding =E2=80=98--persistent=E2=80=99 sounds like a nice option to me. As for the image backing storage, using ~/.cache/guix/images (with non dot-prefixed file names) sounds cleaner and safer to me (no risk of /tmp race or whatever). Thanks, Ludo=E2=80=99.