From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 yPaXEljjumTnTgAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 21:58:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uOGaEVjjumTb7gAAG6o9tA (envelope-from ) for ; Fri, 21 Jul 2023 21:58:16 +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 CDED850307 for ; Fri, 21 Jul 2023 21:58:15 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=dtGkZw8e; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689969496; 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: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=SLf9aqDB5BeAKN1IyJxPzTUKumgAiqnNvfjWyUVLBRA=; b=uD8Sq4OVA5F0DFJ+3Kh1o+rFOYxoiso4oDwiN2VzRB6n9JaGVPztlrbQDMSSpEUE4ujAMd +ic39FGmEoETA2Bcy7g8J83OMs5WRup7R45xXipMhmLlv84SOS2hva05PcyzXKCg5n8Qpx JYRqHJI7Ew4lous2nxYmBm++cjIdBVlVIpdkXJJ/n7/pH7187uveo9xDiFpOeJVFZBV3R0 9DqKkWI71hEWgA73XSb+fn3WYaXsum103bePsNemt28jMBJnGwFLAUVsHDmA8apyEeIUzt wK3OuQbZg+fH21+Ee0iRWCO8b6shi6IgZnbTku+gKfsOhhohBiH5SDr9AeT5xA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689969496; a=rsa-sha256; cv=none; b=E2HHEpgKEH+vsU3pVd5uL4mEQzkUQs5L/bMbVTX/rrgLHyuU1RAY17zENk5b2P3lTuvggu PBANBxBk5y+ABI08yfeEj3Pp6gXJualuRy1hQo1NoL3IPIPCCr3c09MhOfkklwZeysyN05 Yk5LdXz/DuJ8ajph+skCdooF/jI8HwADGks3vFA7rob9NKWTa/0snMdzJUXZa8Zkyjy16j olon2hHeTCVjHAAd0Ait3XxUnLw4EU43w+Si1emHEQviMPrM5mb9SuUTWo80PC9kTkd/19 HPj4vBafaLuv84633/sT/r4gBeHP5LIj1xrztAj+XhoSnWM+mv2QXn8z9fwxoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debian.org header.s=1.vagrant.user header.b=dtGkZw8e; 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=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMwGL-0005Pg-90; Fri, 21 Jul 2023 15:58: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 1qMwGI-0005PR-Uq for bug-guix@gnu.org; Fri, 21 Jul 2023 15:58:02 -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 1qMwGI-0001OU-Mh for bug-guix@gnu.org; Fri, 21 Jul 2023 15:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMwGI-0003zg-Iz for bug-guix@gnu.org; Fri, 21 Jul 2023 15:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 19:58: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: Csepp Cc: 64775@debbugs.gnu.org Received: via spool by 64775-submit@debbugs.gnu.org id=B64775.168996947215334 (code B ref 64775); Fri, 21 Jul 2023 19:58:02 +0000 Received: (at 64775) by debbugs.gnu.org; 21 Jul 2023 19:57:52 +0000 Received: from localhost ([127.0.0.1]:34961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwG7-0003zG-SX for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:57:52 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:57282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMwG3-0003yz-7m for 64775@debbugs.gnu.org; Fri, 21 Jul 2023 15:57:50 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 2A5E31AD10; Fri, 21 Jul 2023 12:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689969457; bh=wJFpm1A6E++v8KgOXpQ0a6fpBfDlJLONAsT8wdD0/Lg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=dtGkZw8eKmc5gzJu1uoI+4qC8OGPMPuH2NvMvbviZ/4pSpmYPtdpKEotMv0IHUy/1 rxoCF1g2+xl9rfbwXuDoNpWNmRKVpNSD/Wr+jvzYiNXsmaOwRzw2v/++SB9d00r01S lHupoDLDUJf9vvZrXKCx7hWX47f3AY16nVRBQko4zw8gjLmPHIfjrZwqM4CRleqp+x auHG/j2CZLq0J7VqfoifVHadYFBxBjKHvpYB0YUt0tmL0mpQL5ykoViYL17iYfy4D7 MCSWLm4D5wg0Q2cSCtAXwzudec3aiBgijOUkYjBZ55v3mj/47hFVe7aXMiyoHx02xl MVDhkaKzevv3g== From: Vagrant Cascadian In-Reply-To: <87y1j9njij.fsf@riseup.net> References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> Date: Fri, 21 Jul 2023 12:57:30 -0700 Message-ID: <875y6dyr4l.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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: , 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: -3.92 X-Spam-Score: -3.92 X-Migadu-Queue-Id: CDED850307 X-Migadu-Scanner: mx1.migadu.com X-TUID: O4DFpqrILZ83 --=-=-= Content-Type: text/plain On 2023-07-21, Csepp wrote: > Vagrant Cascadian writes: >> While I know that Guix does not really follow the FHS in most respects, >> maybe the intention of /run defined there should still be respected? >> >> https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html >> >> 3.15. /run : Run-time variable data >> 3.15.1. Purpose >> >> This directory contains system information data describing the system >> since it was booted. Files under this directory must be cleared >> (removed or truncated as appropriate) at the beginning of the boot >> process. >> ... >> >> Many distros implement this by having /run on a tmpfs, but making sure >> to clean up /run at boot seems like a reasonable thing to do at the very >> least. >> >> I am not sure if it makes sense to do housecleaning of /run from guix >> system reconfigure ... as there may be legitimate uses for other >> processes to write there. ... > 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... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLrjKgAKCRDcUY/If5cW qj7pAQDrIgz6i0S36bLiL49S6CGkKCOEmcR0eR21jGB03PkhjwD1FKQ2K6aP8Idn Nzj4CxpnE7VUqm7GWYhFAn72toTyAg== =KJXs -----END PGP SIGNATURE----- --=-=-=--