From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sHrgOl3H+GaUkAAAqHPOHw:P1 (envelope-from ) for ; Sun, 29 Sep 2024 03:19:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sHrgOl3H+GaUkAAAqHPOHw (envelope-from ) for ; Sun, 29 Sep 2024 05:19:58 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Hw6Ast2G; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=CsrCO4UA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727579997; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=TSCso4CQhRPqtedEgjdJpUZWe28A9Hq8WFzhFMZ0f+8=; b=lgolKKrnKreiLVOX8FtGLgKINaUD91PdNKeFepxBWAjDyfN9j2iuDskHQ+L+EuL+ni1lYZ 8zciSeIj4RJtG26za6bh6fNLe1b6jTNr44Tjpbtu0LDmhj9Vwh6dIFi8hWfgjftXwSGStT Rw2SfygrAjNbll/pl8N1OZ4W3bJAf5sv7mX93ndR7EDzzfWph4NLqOoqsLRKn6/Lv2wrpd CqzX8yvVrz/082C90uQdCIwQuNgsPxG/EY9CMioremrk2rnSZ2QKPj49KcEsmIfull9WJn 193M0Ve5gPn9m6rnl0Y8oSC+awWdHISPSYhVWwyBT5LGBBiKw+5koTkF+CSHTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Hw6Ast2G; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=CsrCO4UA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727579997; a=rsa-sha256; cv=none; b=dr4OEXHHDRAapy3xmmynM31ZZRYJ6rmbzdqEyiHgNWrlk1pvbdMaDXj8TQU2+379qwRUVO TRcmay22QhCgHL+GKvOGZ8UgcZfPKqalw++NaOyFVD6DU1QFatTHUfQMxtabYUxbxW1URf H2WjTsf52gYBHf4bprLMg4vEOwvGI4QFMEkgkarpeDJDWuRb6nzGDZqWaXC84PSUqT+Dkb 68jBXySOktzmLb1oEeaX4EkQkZcrZH8YYLBCEV14ep8a9iZqGVumAgYBa4T+DBkWILcQZO 1YUrolZQjvJSWYt8DdjKLLE5iSdRdgTXqoermZf2/vsygaSodFb8ElyC7W23Xw== 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 51B9A77324 for ; Sun, 29 Sep 2024 05:19:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sukT7-00029t-FG; Sat, 28 Sep 2024 23:19:33 -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 1sukT5-00029j-VY for guix-patches@gnu.org; Sat, 28 Sep 2024 23:19:32 -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 1sukT5-0002tc-Jb for guix-patches@gnu.org; Sat, 28 Sep 2024 23:19:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=TSCso4CQhRPqtedEgjdJpUZWe28A9Hq8WFzhFMZ0f+8=; b=Hw6Ast2GylqwesF7BnN09/hwka7KsIInx/9ai+9eq3/Jlw7St/XhGXmx+eL22e9NnGZ4oHWiA09ZHhR82ogXFHdgX8Lv0z/a15TBx8kqPzdtIz8C5N4jFFMyYh0tj4IMSZAfy3U6TZdePP5fxxItfrBzFJ7N+Foo2Y7REwgH3AGonbYcNWqhaRVaMa4J9iJhK2sHmDPbuOnZD6kMdE10OYWVqCZNA+VMfe8L7quLXRM51yVi89RkstohGcjMJQf27UGO1Rafl8Drn/6RJ78KjwUrBE0tGDHuXbJFk4r3Q4kDIv5DAFN4WZ4D71KJN9q1vn2OGNJnEJOnMeHXRiB4CA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sukTa-0004kU-4P for guix-patches@gnu.org; Sat, 28 Sep 2024 23:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73494] [PATCH 0/2] tmpfs /run. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 03:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73494 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73494@debbugs.gnu.org Received: via spool by 73494-submit@debbugs.gnu.org id=B73494.172757995818184 (code B ref 73494); Sun, 29 Sep 2024 03:20:02 +0000 Received: (at 73494) by debbugs.gnu.org; 29 Sep 2024 03:19:18 +0000 Received: from localhost ([127.0.0.1]:58867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sukSr-0004jE-PL for submit@debbugs.gnu.org; Sat, 28 Sep 2024 23:19:18 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:58480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sukSp-0004iw-Rq for 73494@debbugs.gnu.org; Sat, 28 Sep 2024 23:19:16 -0400 Date: Sun, 29 Sep 2024 11:18:21 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1727579917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TSCso4CQhRPqtedEgjdJpUZWe28A9Hq8WFzhFMZ0f+8=; b=CsrCO4UAHC50h4WvTrGqAHrFBE7pigLmEi9o3x+4xdqmHkIrFFybrbW/xNAXix9Wy0u2bh llTp/wKr11Ww3CezfT7w1xDRO+2LaslbTZKbDVEjAS7CbOT8IC8FMq000Ke16vlcrYpBP8 QiWStZ488B2m6pbVnxaKglmzrxBeiSJPv6BaV35zjK+qQqnYuOR3TMJ0+xndcG31sL9DSG POPYlUc9TjR9hfQC1IsxKW/sjiB1uBsRnetIRcTz/xUo5GBdpHbvgF4cfROIQFtAQW4mt/ 8JvypokVU+8GEgHMjDc1chwqOj6XZ12ngaTW6sNi6M2XckbvqbjcmnYoD9QFnA== Message-ID: <87cyknm9ky.wl-hako@ultrarare.space> In-Reply-To: References: 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 51B9A77324 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.31 X-Spam-Score: -4.31 X-TUID: 5H6TSzGkpK79 On Thu, 26 Sep 2024 14:44:52 +0800, Hilton Chain wrote: > > Hi Guix, > > This series adds a tmpfs /run to %base-file-systems and symlinks /var/run to > it. > > Mount options are taken from Systemd[1], OpenRC also uses the same ones[2]. > (Except no-suid since we have /run/privileged/bin.) > > Thanks > > [1]: https://github.com/systemd/systemd/blob/v256.6/src/shared/mount-setup.c#L102 > [2]: https://github.com/OpenRC/openrc/blob/0.55.1/sh/init.sh.Linux.in#L74 > > Hilton Chain (2): > file-systems: %base-file-systems: Add tmpfs /run. > services: cleanup: Make /var/run a symlink of /run. > > doc/guix.texi | 5 +++++ > gnu/services.scm | 6 +----- > gnu/services/dbus.scm | 31 ------------------------------- > gnu/system/file-systems.scm | 15 ++++++++++++++- > 4 files changed, 20 insertions(+), 37 deletions(-) > > > base-commit: 8576aaf5f90db9b385ea8cf6dc98bf3c062959dc > -- > 2.46.0 As adding mount point to /run requires an immediate reboot after reconfiguring from a system without it, I'll also add a news entry for the change. Merging /var/run and /run is the easiest part, since they are supposed to be cleaned upon booting and nothing will break with the change. However there're many references to both directories in our codebase. I'm not sure if these references should be unified as well. I won't hurry on pushing this change, please leave a comment if you want the change or there's any concern about it. Thanks