From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 gE13C1sC0WSdIwAASxT56A (envelope-from ) for ; Mon, 07 Aug 2023 16:40: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 mp10.migadu.com with LMTPS id +JpYClsC0WQkMAEAG6o9tA (envelope-from ) for ; Mon, 07 Aug 2023 16:40: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 8443F41782 for ; Mon, 7 Aug 2023 16:40:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=QnOfFICK; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691419227; a=rsa-sha256; cv=none; b=dirgxjzTVdHWTzYiSOI3VyRRepf2wT6nnIPSg9NOfYJo9cn+fIVECFO5USRI9bppP0Bnyc iF5AcDhaKTmRbzlsPK3ui5kpSqSSnhyyyyBVZ/92ssidvkE7wwFD7kQ9zQR/LxnNydJWKK sO2Wfx3IuRer8YFGNttAk7I+/4JsKJPo3y0TeXSwhYVmVAUZR7HOM1uVDjsF33IBDSEMUt Xlm6ioWO3aC4Nbj+K7pHFfXMqRItxpn724l3p+u3vtA8PG6Jq5dIs3sUzFD/kNZQRnnCI0 ZAHg+D67Ee1Bm2/sdBabJRr4RlRoNRT+7aiJ/W3Nv/NWW3/KuYC9+YKAfiwPPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691419227; 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=91pbQHlq6iHX0cGoB2+ytULsylO3598vtySmaQD88t0=; b=V2oNrDE4ERDm647/QWHochqCI8VuXdIspdRlMP0eTu/LG2S6O0/K9lHX/j5fZZwR159Jsr QyRElahfc2JILWqYNeJfXbKE4Sq2CuHzsNXN9qb+vmA+Xnx/7S3FeTJ+uC/zZ7jk0/VDgE HOdKZL21UkolnsyVCsgidFwx5UchsBi+wpxPgFdJmvJ3ygCDu4o3DQz7RhtwiDB2zw5JYP q5Y0xEhH4OZ81NXTeDEUr9LLHD13jZkGlEu7yCv0fpWsEnJlDeFPNkGyFEUWtwUVbnKFga 84uUzjTN3TRLtb/hARoun+GzZPRcSFX7+iWRKOhbNOvunp2T5ES1TM/EJ4Sm9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=QnOfFICK; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qT1Ot-0006rW-JT; Mon, 07 Aug 2023 10:40:03 -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 1qT1Os-0006r7-VG for bug-guix@gnu.org; Mon, 07 Aug 2023 10:40: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 1qT1Os-0002Qt-Hp for bug-guix@gnu.org; Mon, 07 Aug 2023 10:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qT1Os-0005SK-DZ for bug-guix@gnu.org; Mon, 07 Aug 2023 10:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 07 Aug 2023 14:40: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@debian.org, hako@ultrarare.space, saku@laesvuori.fi, raingloom@riseup.net X-Debbugs-Original-To: Hilton Chain via Bug reports for GNU Guix X-Debbugs-Original-Cc: Vagrant Cascadian , Hilton Chain , 64775@debbugs.gnu.org, Saku Laesvuori , Csepp Received: via spool by submit@debbugs.gnu.org id=B.169141915920886 (code B ref -1); Mon, 07 Aug 2023 14:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2023 14:39:19 +0000 Received: from localhost ([127.0.0.1]:34072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT1OB-0005Qn-0L for submit@debbugs.gnu.org; Mon, 07 Aug 2023 10:39:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT1O9-0005QN-Dq for submit@debbugs.gnu.org; Mon, 07 Aug 2023 10:39:17 -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 1qT1O4-0006eE-7i for bug-guix@gnu.org; Mon, 07 Aug 2023 10:39:12 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qT1O2-0002GT-PY for bug-guix@gnu.org; Mon, 07 Aug 2023 10:39:12 -0400 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-7658430eb5dso459376385a.2 for ; Mon, 07 Aug 2023 07:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691419149; x=1692023949; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=91pbQHlq6iHX0cGoB2+ytULsylO3598vtySmaQD88t0=; b=QnOfFICKLPBFMBYc/hD9vs7p8cG7zPYmRoy1pkaOvTUHXTV8zEPEvzaiIPOpfMKtjX rslzoJq1Meha6SyK9q5eYlzlXg2kcVErzDoLKFe3RqV1luiKBpT0dz2LCK/Yg+nLMj2E ERl/tkwFCPe+k1hwETs+rQ31SlB9GFc3R+DsoSOVA3MmTW0KbMN8v6VT2rRAFS6+fHqj Ig0mEC1nNZveoJ8fiTGPHA/8S4GVFuAslkh3PBG8xxNsOYkqtAJM2fDEDltzn99TNNIF 77eN5mNjsdE3I1vVFMy+dGNtmXpAr3Vl2pxFKxcwXgBugkPYXtLf4GaXBozCWGC11N+m 4h1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691419149; x=1692023949; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=91pbQHlq6iHX0cGoB2+ytULsylO3598vtySmaQD88t0=; b=DLiWotC6HU4SA17JJugJodhTapcuovW8922oHsA9A7L12ZIN1NsmAMg5P3LHhycNap 3sS94Hwxj/eFzvlFb+Q+glOnnTOMKrv0jDy9iYUI+2ykOaoQoUKn8P/ZDpSh3EYY3opN UuNh9VbDmUgPgQfCYxbW1/106yFk8RCaVbpmfIx0zHGA3ClHHS9Iki19KV7HHnjvQ7zj FGuIg30WmVvNIGJEDmNcwdtChxipKpnLpOLNqQZMDyOosPo2LVgDKPGHyAjKsrqBVo7G SXMMruLI3+xk/Vng45FQqMhonsxtar+2g610xDue6lZgrv+8wgvJZ5668ZyPYTnOiuhn DRYQ== X-Gm-Message-State: AOJu0Yw/8OKo87CYCi0kg4Q/BZN0msK8y6ryRapmi3TjnbAmIp446S3T Jnf7e1YSQGlng+23oQ58/Fg= X-Google-Smtp-Source: AGHT+IEq+cWCBVV1oLULiMWp1bQnZ8Rvkk64rIApovFG+/+lM6ItLSOlGo61HGdHCbASaudFfo8QuQ== X-Received: by 2002:a37:b445:0:b0:76c:b87c:16c2 with SMTP id d66-20020a37b445000000b0076cb87c16c2mr10688187qkf.52.1691419149621; Mon, 07 Aug 2023 07:39:09 -0700 (PDT) Received: from hurd (dsl-205-236-230-170.b2b2c.ca. [205.236.230.170]) by smtp.gmail.com with ESMTPSA id b28-20020a05620a119c00b0076825e43d98sm2626122qkk.125.2023.08.07.07.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 07:39:09 -0700 (PDT) From: Maxim Cournoyer References: <878rb9ysol.fsf@wireframe> <87y1j9njij.fsf@riseup.net> <875y6dyr4l.fsf@wireframe> <20230721202417.6kfmen37cc2h25ko@X-kone> <87wmy848d0.wl-hako@ultrarare.space> Date: Mon, 07 Aug 2023 10:39:08 -0400 In-Reply-To: <87wmy848d0.wl-hako@ultrarare.space> (Hilton Chain via Bug reports for's message of "Sun, 06 Aug 2023 21:18:35 +0800") Message-ID: <87wmy6ex2r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x736.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.05 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 8443F41782 X-Spam-Score: -5.05 X-TUID: McoaofFQAQSb Hi, Hilton Chain via Bug reports for GNU Guix writes: > 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. Without reviewing how our code base uses /run, it seems reasonable that this should be on a tmpfs. Can anyone think of a reason not to do so? Otherwise, I suggest we make it so. -- Thanks, Maxim