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 wGZCFLHeumQLRgAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 21:38: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 mp10.migadu.com with LMTPS id aOBEE7HeumQ40AAAG6o9tA (envelope-from ) for ; Fri, 21 Jul 2023 21:38: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 1E7464F255 for ; Fri, 21 Jul 2023 21:38:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=fIlw0aLv; 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=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689968305; 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=ndxwtuATc58crrhTxzuJcC/Dn31cg+xk/bgiKBuh7io=; b=SzRD0vDG0eqa85yLN4wlJSqd+mpv8/RBGfFIRw6zksA/SL5rbiXTd8l2/ibJfIhgWDZ+Zk zdkYBzjNhPnmYpkuZD82V6o6qWf+lvSLa8N+YG/S+oXlbpx/qv3u6PnOw7nsmhCwnvY3od q0WUzeSQWAaNu22owpDTbzhuVZG1Ra2jhxN/Rk+8MMeeusYDaSAlPgqIttvgc1n25gl8Pb xAH58ETbAlwVpQsCik4qdqds8X40hBaaklxK/hr7FH+043eKnt0MLT2jtwMq7QGaok5QvT aT0kAKTkbx3OlpHKa+EAzH5/r7R5KJ51lBwTkwVrz8v1Ii6pwKE1Bzj/GOjLxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689968305; a=rsa-sha256; cv=none; b=SewPL4fzxbay1D1pxYgdx3zYxBt97+42r8oBdpn6TnP1qSqz7oPugpmvfkH50IqYvkWe9E h5JikrpXI05Q2zlzdKM64hwR/NVq20TDgt+6+SQlW3KWFWhsUEjlS+qPhDjKRsTav+S1dP bpy3u7czyKXgSdJh7XCiTYvUiQWBiv+F8Jlaom7//xKT6EjGMg75TOEfKVROvTzGNZII+Z gqt21x+Q/6DmAsKYu4nbuGdl82ueNOPnLfeA9NF+Cy1E0rAAjijsK9bFUmB55iaCgNDEhZ aHUYLowYEz5NV9OpIS3cD4MW0DjrNO5Db0/2PsR3HaJh4jare1ScL5VHSFznKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=fIlw0aLv; 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=riseup.net (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMvwy-0002mS-9F; Fri, 21 Jul 2023 15:38:04 -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 1qMvww-0002lY-Iw for bug-guix@gnu.org; Fri, 21 Jul 2023 15:38: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 1qMvww-0006EJ-BB for bug-guix@gnu.org; Fri, 21 Jul 2023 15:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMvwv-0003S9-Jp for bug-guix@gnu.org; Fri, 21 Jul 2023 15:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64775: /run should be cleaned on boot Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jul 2023 19:38:01 +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 X-Debbugs-Original-Cc: 64775@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168996826513243 (code B ref -1); Fri, 21 Jul 2023 19:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 19:37:45 +0000 Received: from localhost ([127.0.0.1]:34937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvwe-0003RW-S2 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:37:45 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMvwb-0003R0-6L for submit@debbugs.gnu.org; Fri, 21 Jul 2023 15:37:42 -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 1qMvwV-0002jZ-RE for bug-guix@gnu.org; Fri, 21 Jul 2023 15:37:35 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMvwT-00066C-GA for bug-guix@gnu.org; Fri, 21 Jul 2023 15:37:35 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R70FQ5FsWzDqCd; Fri, 21 Jul 2023 19:37:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1689968250; bh=8gL+Z0WPSxIhimMj8qYlFsRRxP8PjmSTkiR16yGx3A4=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=fIlw0aLvwt1bQw5AsHuHzstAiayg+AAEly7Udk1GogtysJJ3BuM9FrB0T/qrPZS0x nmK0cF4iz9PvTTEuf6t3o0WC8rjRuh+1fszSeGq51pdkoiDjY5et6CWIH+47EIcS56 7X6xNIpKBt50zFZvNIWfYZc/0vX9laLyDbjt20WQ= X-Riseup-User-ID: F3C734336E0EEEC9CCB5FC0C6AB53AA1B970F12AA5F78E127C778E75A7B8CA7D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4R70FQ017kzFqLB; Fri, 21 Jul 2023 19:37:29 +0000 (UTC) References: <878rb9ysol.fsf@wireframe> From: Csepp Date: Fri, 21 Jul 2023 21:36:40 +0200 In-reply-to: <878rb9ysol.fsf@wireframe> Message-ID: <87y1j9njij.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.33 X-Spam-Score: -2.33 X-Migadu-Queue-Id: 1E7464F255 X-Migadu-Scanner: mx1.migadu.com X-TUID: NRr593k3QwYE Vagrant Cascadian writes: > [[PGP Signed Part:Undecided]] > So, if there are files sitting around in /run, they do not get cleaned > up unless it is something guix is already aware of > (e.g. /run/setuid-programs). > > I noticed this when experimenting with: > > https://issues.guix.gnu.org/61462 > Add support for file capabilities(7) > > Even after a reboot, the leftovers from that experimental patchset were > still present in /run... > > 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. > > > live well, > vagrant > > [[End of PGP Signed Part]] I vote for TMPFS, since that would also reduce flash wear. Honestly I don't get why it's not already using TMPFS.