From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mCbwHtk9u2RmhQAASxT56A (envelope-from ) for ; Sat, 22 Jul 2023 04:24:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2I+6Htk9u2TmfQAAauVa8A (envelope-from ) for ; Sat, 22 Jul 2023 04:24:25 +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 1674C504A0 for ; Sat, 22 Jul 2023 04:24:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b="B7F/bKqF"; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689992665; 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=KEfGyjdOc451olmfly7A/RbNLXM4/JH4ndMTfGhHnTU=; b=GQRTCO8eLGZWp0ax/nT+TXWKsN/Cw76od12tmSeG5XZ1KgecVRhrRvtvhO6/qidS4ex64v q+xiu5odvD+gaTC++gOIxefj0/bcEYhtdgisUSJ2jvJTveZPj2SetBTjlpypCrfFAZA7Wj PXfiqebpUAYxgCUMeIoiTTHsLPezq5+05rheB+kqIW+9u+5uRwQVdr22bu0IeAxtX9zoo0 1jR3fcKdC9E93Hjm2Gm0tiV/WWWETWYgdgO9bfgY/DF1C7cVRy2/PEfYEf7M033Y1QfsxG LI5FFbfoZpg884xOGTc7bI1qm5RL/CjfeXuUyDp54M9bCT+sV7OZBBBj1CfQJg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689992665; a=rsa-sha256; cv=none; b=pz2hrD2NOjKyiJgKlS43/W2C0Wu/cD9wBw3TrbSjtb1x/HRESFAfkw74wMJjzRC3WK18bj x6wqG8LpQiGaPKmufOcu7q0yMRnzXGQkSYvTGX6eLtY3175ncVmWoa0vWiUHWo20+7svaa 0P3EdD7v40SJ57pRyQ0SipdX3pXHDh4eWj8mLptDXOFkdjrkvlsF1actBGKIQqRjyLs73i EQtEpTFFavAd085DUaBFqV9pqXWlYjztPuCLIrZtneOGbovCyRu6agpolimDwpq55hkRBR F3sNoYmnPZW2D1fgIUf6jx2ecJelgtXPpWv/UIlv+AZMUBWtCNNr+GSEp15eIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=laesvuori.fi header.s=mail header.b="B7F/bKqF"; 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 1qN2I7-0000a1-5J; Fri, 21 Jul 2023 22:24:22 -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 1qMwgR-0001Q2-9M for bug-guix@gnu.org; Fri, 21 Jul 2023 16:25: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 1qMwgQ-0006L8-Ee for bug-guix@gnu.org; Fri, 21 Jul 2023 16:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMwgQ-0004i5-9e for bug-guix@gnu.org; Fri, 21 Jul 2023 16:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Saku Laesvuori Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 20:25: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: Vagrant Cascadian Cc: 64775@debbugs.gnu.org, Csepp Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.168997106818051 (code B ref 64775); Fri, 21 Jul 2023 20:25:02 +0000 Received: (at 64775) by debbugs.gnu.org; 21 Jul 2023 20:24:28 +0000 Received: from localhost ([127.0.0.1]:34979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwfs-0004h4-CI for submit@debbugs.gnu.org; Fri, 21 Jul 2023 16:24:28 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:47230 helo=mail.laesvuori.fi) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwfp-0004gq-To for 64775@debbugs.gnu.org; Fri, 21 Jul 2023 16:24:26 -0400 Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127]) by mail.laesvuori.fi (Postfix) with ESMTPSA id 98900342BB9; Fri, 21 Jul 2023 22:24:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1689971063; bh=5i1ygmm6bJH12gDJE32ksiytwj73bOHxDX7P98YYGu0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=B7F/bKqFTZ3vH36Ak8xC9iwifyTM2vZo/BQntE7WrEMXgO9LVNG/u6Um0ZIJW6LB+ qhT2b/KDIeu9tPkfcq/3dZpJKr8iuBXYR9wAbgoc7xSV75pSb8F+B+27c+cVJ5V5Y8 /P1sY+m4DtrYRFrbma8dGuI9BDiQ9ExmnXQF/BGI= Date: Fri, 21 Jul 2023 23:24:17 +0300 Message-ID: <20230721202417.6kfmen37cc2h25ko@X-kone> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oaaslj5hwsmsofen" Content-Disposition: inline In-Reply-To: <875y6dyr4l.fsf@wireframe> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 21 Jul 2023 22:24:16 -0400 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: Saku Laesvuori From: Saku Laesvuori 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.16 X-Spam-Score: -8.16 X-Migadu-Queue-Id: 1674C504A0 X-Migadu-Scanner: mx1.migadu.com X-TUID: WfsUd2QAUSte --oaaslj5hwsmsofen Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > 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: >=20 > $ du -sc /run/* > 12 /run/blkid > 0 /run/booted-system > 0 /run/current-system > 1312 /run/setuid-programs > 524 /run/udev > 1848 total >=20 > That is with no explicit setuid programs configured, on a machine with a > fairly minimal configuration. >=20 > 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. --oaaslj5hwsmsofen Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmS66XEACgkQJX0oSiod OjLyGg/9HNBsRuEUSMC3dhK6I3EHmdFfkgpH8venf5YTy4Hm6jg1xTEmgNhsxfvl fuJa3JyQVE2aoaMQBfsZYy0GhlS8/S5mQkByrOlhA9RP6/IxCrUJqsPa8ZFvjF2h XKB7aLnSgfdW2GWvy7nzdt+qvymwcRv1nLXXTWpl5rBJyI6AGxOlqBkaU1SDTRV+ LVMyc+rq+TXkPIyblv8fP3uPdIVm7+io9u0o9XMv27jUS8bd+NueWoF7ECgrRm5z aNMA4YdYjxYtOPSE9XzU1tEHvXctd3jBYzTowh+AbuC8QCY1ScQLBA8OptgQ0zGk EGzoOak2QNu+W1bxFZE6+Pw80Ooyd54v5BB6gyIeTm4LYEkp0hqKvkiP1XlJWFVc 1VNx8Fl2uqQYc9eyidxg7HUvEsRcBbMq0nN0zdtkLaWT4uwomfmysZ1dj4lWtJ2E Ny79wMRJebIgMvO8np6mEqD0KGvs0/ewaNck537mC1Ivd9O4qonQ8adzVRhid4kc Mmo7uGB9vymR+4rO0SI+GpUA0c3MEtkKi2vNh27MIaC0t2HbF8X4YyI0BtuVS88+ Pb09Q5q+Et1EMke5skSJ/L1IbCEqEyQKhp8KV9uY9WACoD2ddgUkzHl4Ph+mCKt1 AvQ+8WXDnZwpptRmg/5jiUF6ci2PKcorq/je/Z6ELUBfygM14y4= =gZUj -----END PGP SIGNATURE----- --oaaslj5hwsmsofen--