From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KMaHIBuez2RGLAEASxT56A (envelope-from ) for ; Sun, 06 Aug 2023 15:20:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EG5DIBuez2TiAwAAauVa8A (envelope-from ) for ; Sun, 06 Aug 2023 15:20:27 +0200 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 0CD5B3E3CD for ; Sun, 6 Aug 2023 15:20:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=ReRSenIN; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691328027; a=rsa-sha256; cv=none; b=iGTb0XmFkspmV7BF2gjMDAM0zU2xgmiMS4+fyaEqM7BTTOq5iktrfZmHtvPPu/xGeLg24e IV8yxaoa1UOZyLBvdUKZU5wmPwiDzql38Czhf88vbUywlu/zO0u6b/Juz9q0KmVtTSVy24 kx1QQNtc3kNP49qeRozs2Nsjh82vRf6NhcG7FPEx6s5mB7qo2IGMi9cRKUaD27Av8rbqOJ 5ejdDZFEsWCHVyIHPi/7DRwU0dLQ2e5CvPJI2TcemzZ076Kk4GEinOq1YvMZfo6WQFEOXU STtiPkOHMAyPq/2p84GWRxOFNyodxq5ylxP59OZ64kJR+sHUZ+fuPMueJYB8FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691328027; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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: dkim-signature; bh=jC+5nqHckN2lB8TboTuu/9yvZlZ4ddFv3LU5V1G6rLA=; b=ATOZ99W6xE+Vlf5jwniMRV3LvOdFItHTDLe1gYfLceZvQCwZo5qZB30bUO3ZFjzpc3sgeI oY23qvguovIst76z8FBa+RbUs76cWu00CPsR7U88cHshMQMBpu0MSCY2cbEHcbhM6hR14V t4+LkDCQkBgahYh5i6VxlvpKCc+pXWXRrIRGaqHojdFOJwiugONnwck9J9KT77Bs1h22UF 9hxEMGDdkXKh4JicgtoET2M6gWgakU9UfXpBPpcVrehA7fVWJ3omCkvilpjvQYgW+Abbnq oGIWbNWGFqHtTstO/rSiT+aOZn1cQejHqiIU2b0bEg6BnmfHUDr1TJZIoM3o+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=ReRSenIN; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSdfx-0005jp-J6; Sun, 06 Aug 2023 09:20:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSdfv-0005jS-3J for bug-guix@gnu.org; Sun, 06 Aug 2023 09:20:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSdfu-00023I-QV for bug-guix@gnu.org; Sun, 06 Aug 2023 09:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSdfu-00079o-7G for bug-guix@gnu.org; Sun, 06 Aug 2023 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 06 Aug 2023 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64775@debbugs.gnu.org Cc: Vagrant Cascadian , Saku Laesvuori , Csepp Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.169132799627496 (code B ref 64775); Sun, 06 Aug 2023 13:20:02 +0000 Received: (at 64775) by debbugs.gnu.org; 6 Aug 2023 13:19:56 +0000 Received: from localhost ([127.0.0.1]:58775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSdfn-00079P-M1 for submit@debbugs.gnu.org; Sun, 06 Aug 2023 09:19:55 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:53402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSdfi-00079E-LT for 64775@debbugs.gnu.org; Sun, 06 Aug 2023 09:19:54 -0400 Date: Sun, 06 Aug 2023 21:18:35 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691327979; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jC+5nqHckN2lB8TboTuu/9yvZlZ4ddFv3LU5V1G6rLA=; b=ReRSenINA9YTyL+tEkm4xJJ+U5vwEGpcb4bQqYmvPhpEKe9WmZ/nLQ1ZEdizBUv+Zp6C99 qS9t2Dp4Zbqoi+sSPHwWMe9dhp5iJ+z/pQPw/qffkuE/kBVPReYd9e+inK0tBgNVXG0bbL Uf6b7Mn3/32y3eTnq+yRIwjchezkKRInw8S1pMBEXD4svrmT5bfSdseZpyqv3Zy8gvsjef XObRlSq4g7+7XuQ8pTvgNkPO4C+UlP8Wa86HyL9X+sR2P8F80wSoyufBn/9FqNEq8a8RMw 5/+NmgUdPqO5ZEmDfW1wT4yFGybPR3pEyR1Fj4O4/gtvt2s5A521/f2VOXmFQQ== Message-ID: <87wmy848d0.wl-hako@ultrarare.space> In-Reply-To: <20230721202417.6kfmen37cc2h25ko@X-kone> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> <20230721202417.6kfmen37cc2h25ko@X-kone> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / 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: , Reply-to: Hilton Chain From: Hilton Chain via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.65 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 0CD5B3E3CD X-Spam-Score: -6.65 X-TUID: c9Y4wc3VzmYq Hi all, On Sat, 22 Jul 2023 04:24:17 +0800, Saku Laesvuori via Bug reports for GNU Guix wrote: > > [1 ] > > > I vote for TMPFS, since that would also reduce flash wear. > > > Honestly I don't get why it's not already using TMPFS. > > > > One argument could be how much ram it takes: > > > > $ du -sc /run/* > > 12 /run/blkid > > 0 /run/booted-system > > 0 /run/current-system > > 1312 /run/setuid-programs > > 524 /run/udev > > 1848 total > > > > That is with no explicit setuid programs configured, on a machine with a > > fairly minimal configuration. > > > > Not a *huge* amount of ram, but not nothing, either... > > I'd say it's effectively nothing for almost all devices capable of > running Guix. On my laptop the size of /run is 4804 (4.7M). In a quick > test one terminal window with only zsh running in it took almost 10 > times as much ram. > [2 signature.asc ] > No public key for 257D284A2A1D3A32 created at 2023-07-22T04:24:17+0800 using RSA I'm currently using tmpfs for /tmp, /run and /var/run on my Guix Systems. If you are interested, this is my base file systems: --8<---------------cut here---------------start------------->8--- (cons* (file-system (device "none") (mount-point "/tmp") (type "tmpfs") (check? #f)) (file-system (device "none") (mount-point "/run") (type "tmpfs") (needed-for-boot? #t) (check? #f)) (file-system (device "none") (mount-point "/var/run") (type "tmpfs") (needed-for-boot? #t) (check? #f)) (delete %debug-file-system %base-file-systems)) --8<---------------cut here---------------end--------------->8--- Thanks