From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp0.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms13.migadu.com with LMTPS
	id GEAKNCEH9WZvgAAAqHPOHw:P1
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 26 Sep 2024 07:02:58 +0000
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0.migadu.com with LMTPS
	id GEAKNCEH9WZvgAAAqHPOHw
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 26 Sep 2024 09:02:57 +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=C9ZPm7kd;
	dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=avlE8wvq;
	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=1727334177;
	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-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=DG5ISkxihGJNtJxV/8QDlRPuAuAPx55GC8e98W8DwuM=;
	b=G3sUTh4qUxTs2WZ7xayfXqz00cPJXXo51JfV+/krZ23dS73yyeCHTxkQpsjfiYbI0OfXik
	vk4Qe7Ejh7r7hmu8iVk/+f7Z/I6SdXU8gecHje88ABbtxzQ+vYWXeSo5ZolsDnpNULAYQk
	POzL5ZtZKriV49/FJRbbFmg5zBffXTclcWA4MiKktotvCo5smFSs/DZvgeifu20GnidJNs
	zbqwsuvXCzAzVw4m8iG82+UMKyOZo2AtO1uhfip2LCf6kmnqE4ZMf4K7+srdTnDJUT5RDt
	uJl4iRcptrrAZHb7TzcAt3jAD9lydxKJh6QAQRoxdlF4aYnsDWqLD4yP7WuOYg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727334177; a=rsa-sha256; cv=none;
	b=XO0B6s2SsNfjv+J+XNKoIhM2qUJBPoF47pF7FA6DutbmEZVcrm4gsroa9KtkZiNjwACtdX
	uUYe+syqkJ6QNYt6I0R3uPnFGmz6quCxCKtZaK4p88vdGi/zjHnTB1uHzcotyIO+xINZVe
	Z02fJnHsLUYYq4UiVpj7QqMK5/SSs5kcXX7ThRbI9My9Q7FiJdcwB7ajKXfiFPcrFoGtyQ
	gUbP2KBcho5qVP0+in2Oo3VZaWPqGHRKh48og/Gio2WCB8fRsy2V/1FZWdzmInR2kBqVpM
	sDni9jq/zigOW33uZooEcqJnAZZOYK4W33akQamqheNKmontmVL4oWTYzocdHA==
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=C9ZPm7kd;
	dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=avlE8wvq;
	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"
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 AC144BB77
	for <larch@yhetil.org>; Thu, 26 Sep 2024 09:02:57 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces@gnu.org>)
	id 1stiWL-00035y-Se; Thu, 26 Sep 2024 03:02:37 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1stiWK-000307-4c
 for guix-patches@gnu.org; Thu, 26 Sep 2024 03:02:36 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1stiWJ-0000zG-RB
 for guix-patches@gnu.org; Thu, 26 Sep 2024 03:02:35 -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:Date:From:To:Subject;
 bh=DG5ISkxihGJNtJxV/8QDlRPuAuAPx55GC8e98W8DwuM=; 
 b=C9ZPm7kd3qMcsO3Mm/gaAQU1z95GIv6u11N0yPeuwWexQs6SBSn4Y14GL8EfclRij1tBRtEsTfG4x4fwCVzOYQjfT8sf3q0zOQgG2rbsHS9Z0/0NBGdBCzC6IKbtQoiDnL2tysB/7v4W2eed4rsyAQeEKKNfVs1IPgQrboHlat/dSFAHLxhJuolnKY85ty5/u2YE16JOiL4OZM8ohrapVkUepoB+cHqLtPn9PjVO9OVXBlXdg9c1qvIoqDlk4SK+XPlbxyeUSsRkk7bw2RuDw9nApsVXBF5H/kekAAPV7+TmjG/Ss/LhFia/Umv3h90MxyviZKHDrZpAvnOHrjzNzw==;
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1stiWk-0007VE-Dw
 for guix-patches@gnu.org; Thu, 26 Sep 2024 03:03:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#73494] [PATCH 0/2] tmpfs /run.
Resent-From: Hilton Chain <hako@ultrarare.space>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Thu, 26 Sep 2024 07:03:02 +0000
Resent-Message-ID: <handler.73494.B.172733416528793@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 73494
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 73494@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>
X-Debbugs-Original-To: guix-patches@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.172733416528793
 (code B ref -1); Thu, 26 Sep 2024 07:03:02 +0000
Received: (at submit) by debbugs.gnu.org; 26 Sep 2024 07:02:45 +0000
Received: from localhost ([127.0.0.1]:48270 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1stiWS-0007UH-So
 for submit@debbugs.gnu.org; Thu, 26 Sep 2024 03:02:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:60570)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hako@ultrarare.space>) id 1stiWQ-0007U2-4C
 for submit@debbugs.gnu.org; Thu, 26 Sep 2024 03:02:43 -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 <hako@ultrarare.space>)
 id 1stiGi-0006kj-L3
 for guix-patches@gnu.org; Thu, 26 Sep 2024 02:46:28 -0400
Received: from mail.boiledscript.com ([144.168.59.46])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <hako@ultrarare.space>)
 id 1stiGh-0007F7-42
 for guix-patches@gnu.org; Thu, 26 Sep 2024 02:46:28 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space;
 s=dkim; t=1727333181;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=DG5ISkxihGJNtJxV/8QDlRPuAuAPx55GC8e98W8DwuM=;
 b=avlE8wvqVmWLh2RxRXMC7fqpi520IiNEj1Di5qTZT5D+X4P4Pd7Alg6zo2FEfJnTAK8G+8
 si04IaX15olk/9goVxIHgj6IVc1Nri3oodOafr8JOKZ3SNiA0uJ5menyYFQwDupBJf+hHr
 05JtGWKXyUN6MbzVhff/OHD1tFLkVmmMyksne2eWTHys3Bp05nHxlTYGaDTgjGferSKY+A
 Z9rRDa1cSMvsF8YrNFqNF2w+zXt9NzkYVA82esGCWnY13jWeYOnNqgglurj0h6KlD8vMKR
 zlpJUlAKjOEDqZ7uGm8FRJxTeb5LL8PdW/vQVm49ZMhOdd/c+scQaOzCZXtwsA==
Date: Thu, 26 Sep 2024 14:44:52 +0800
Message-ID: <cover.1727331040.git.hako@ultrarare.space>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spamd-Bar: -
Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space;
 helo=mail.boiledscript.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,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 
 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: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Reply-to:  Hilton Chain <hako@ultrarare.space>
X-ACL-Warn: ,  Hilton Chain via Guix-patches <guix-patches@gnu.org>
From:  Hilton Chain via Guix-patches via <guix-patches@gnu.org>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: guix-patches-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: -4.61
X-Spam-Score: -4.61
X-Migadu-Scanner: mx13.migadu.com
X-Migadu-Queue-Id: AC144BB77
X-TUID: 3Q+HCUtFYNnn

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