From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 uA6/KanUIWeoDQEA62LTzQ:P1 (envelope-from ) for ; Wed, 30 Oct 2024 06:39:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uA6/KanUIWeoDQEA62LTzQ (envelope-from ) for ; Wed, 30 Oct 2024 07:39:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TI5ahzzR; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dPbT839m; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730270377; 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=QktPSaSpD1Sk+DFbCrZfqBOmDI2hkaJcuYGZ+POw2ew=; b=MloMnyCAmDMBANuQKF17jGOss1O3gh44Jg/oZ/NvUU8Pps/s+k/I9Zi/7fI9/TL+ggAG1o Tle+zbAjNAoJ+iBJLYcw2Aqy0q8NAWpiid6nlRM83HO/6q5eF1mBNcOEZ28o+BbWTa7FQf Y1GB0BnkHY6qIFyE0qC+GO0uJTXKQteN8dOIFsZOUDX57z2ITHAy7A4ABEDaYsGgYoMFGF OmcvnGR1rxf4WUA3aVUkLp/mK5nOHG02JlBL1+GqHIhhBPZjCXtDo5sBLKdD07YpYhXBzD TUAWvaIyi6Mi4iGqZZr33Gms/bfZ+4nNiWOVEcYe8/lQ2IVpSLWIeDRb/3FAgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730270377; a=rsa-sha256; cv=none; b=mF6vCzmEzzVH7O2On3WO1Yk7k2ORb1ksBPxeskB77x69CyD/cP4Z6dY6idu+0ASa//nKxm HKb+rqZso5aWJ6YUCTSCeIeP2cUHKR9YZ5gyE3EaGntNYB3HdXUtIFLN/4Z/pXH5RM6OxO IdrLvsiJ+443CaLTcnXY49Wd387lL8j6BlSTYry5uMrDLwGNIYOsiWSmDoLcptso5oJ2o5 vL861Xy7qsKOCAjSiWpv8KBRCJ1Og766mXVlxYC7NadCbtq85Q0DIdp1unwxc8LmCDyQd5 jzMBt5RgxSqDBELxbDZ11k3EHowykLggee1Eq2a9lB2zsFzC1ziLTvBNGhhmDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=TI5ahzzR; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=dPbT839m; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 DC9D059A27 for ; Wed, 30 Oct 2024 07:39:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t62MC-00023a-7Y; Wed, 30 Oct 2024 02:39: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 1t62MA-00023S-UZ for guix-patches@gnu.org; Wed, 30 Oct 2024 02:39: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 1t62MA-0005Vx-Hn for guix-patches@gnu.org; Wed, 30 Oct 2024 02:39:02 -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:References:In-Reply-To:From:To:Subject; bh=QktPSaSpD1Sk+DFbCrZfqBOmDI2hkaJcuYGZ+POw2ew=; b=TI5ahzzRPetML5O2lt73vRynsD/HV6DE1kyt2+1BQi7RQm6My+xJOj/bAb3vdkqnkYTPAjy/xflUD5tyGLUvknfTeu2EQqcThWL5Lw6E4htEWH995YnErc6m3ZunbpIMREebd0AvBD/Sq4oRmKvuDB9MJY2indCE5+NiqdtR4IvI2ITx0brFR9UpxruDw/IyzNLdvbxqYKTNnB/Kl2RtuFCdHS0IVHp7Vg1hHI4eGpIZvkaIMco5blMfS88CV/llmL8MA3TE3rENDdlrnZ2aDDPHX95K1pijr/+2tdgMKsig4WNSb2EBVrQ6StMaDbV4D19/XPvE1QjJkqvvAS8B2A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t62MA-0004iJ-84 for guix-patches@gnu.org; Wed, 30 Oct 2024 02:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73494] [PATCH 0/2] tmpfs /run. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Oct 2024 06:39: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: Hilton Chain Cc: 73494@debbugs.gnu.org Received: via spool by 73494-submit@debbugs.gnu.org id=B73494.173027033218111 (code B ref 73494); Wed, 30 Oct 2024 06:39:02 +0000 Received: (at 73494) by debbugs.gnu.org; 30 Oct 2024 06:38:52 +0000 Received: from localhost ([127.0.0.1]:33435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t62Lz-0004i3-QD for submit@debbugs.gnu.org; Wed, 30 Oct 2024 02:38:52 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:53573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t62Lw-0004hx-Rh for 73494@debbugs.gnu.org; Wed, 30 Oct 2024 02:38:50 -0400 Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-71e953f4e7cso4616217b3a.3 for <73494@debbugs.gnu.org>; Tue, 29 Oct 2024 23:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730270267; x=1730875067; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=QktPSaSpD1Sk+DFbCrZfqBOmDI2hkaJcuYGZ+POw2ew=; b=dPbT839mBCATQN+dCqXdCMFGnyg6fhlCn1hhAYSVCPopsT2437j+vKVBecLCcanaqb dVY/Azty2DHJHmGGg8lfnhfbFLyZsbRS+LF2EpaDTOxwpH4KbQhEASQGX/CwGnl55/nL t0yRv4MmUxwlNvbihHktwWD91JXHMF0OAY1odt/16e+eEmKtWYWFZp4tQ3/+HmF4CKaL eUhXTKMM3B0AfW0gOFv4iZEr79wrtkMHupnhz4K6fyfr9iRusGn/lH+LDlD779+6XnIY IJe9VjzD6pApzviYZiP0CcKUO9NQxoNDEoqMhbURCWZAR81mRTY4VcHNNcBsYgkXZpMB Ao4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730270267; x=1730875067; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QktPSaSpD1Sk+DFbCrZfqBOmDI2hkaJcuYGZ+POw2ew=; b=nPJLvyvNBYnCEk27h6iryCTszFYCtxa0j5fZ3QeUEu8Hhsac9CV7SA8vO5/Ojph2m7 3rre9Mho68YmhqEvDXGvHdW9c89lbbQwAJlLb8ln1acwZnazEV9Yg6LQLEE02Ci4104G wQTXATZDRubFYEK+jjHqBnyafScFKHzJvNtzPzyYSZCNBPVPSXiymbZUDAlTS2qO261Z dy/IrGdIUy0AvuISUtTL4JKvCzDDtU9ZI+R1eNeC/V+yED/AG9dg84pmWl7uqe4Ipd8Q Zd7EQOqNorAMtKQHXIoWNBHFftjAXS3D0LgQu1AO8oLAoW4lZA0RMYWjcYLxIg0C8Thi 4/Ig== X-Gm-Message-State: AOJu0Yy6vBZPHHK/5+yRNzbpRyo4jiHiUKYLLRaj2nSAeo3B7q52mC8H FaHzXu3ZWxCSIApFFl3Yiak4Ei537dcUcUYp7gmFVdz0DRazrv4F8C9Qug== X-Google-Smtp-Source: AGHT+IFDKYRkx3MLeIUTX8BPACDexbzltw5rJ5XopjaFY6/QBj0Xi91Pr83BmZCnsDMviwQl7C0Jpg== X-Received: by 2002:a05:6a00:3d4d:b0:71e:a3:935b with SMTP id d2e1a72fcca58-7206306ebbfmr20617108b3a.25.1730270267227; Tue, 29 Oct 2024 23:37:47 -0700 (PDT) Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72057a0b7basm8603007b3a.109.2024.10.29.23.37.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 23:37:46 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87cyknm9ky.wl-hako@ultrarare.space> (Hilton Chain's message of "Sun, 29 Sep 2024 11:18:21 +0800") References: <87cyknm9ky.wl-hako@ultrarare.space> Date: Wed, 30 Oct 2024 15:37:39 +0900 Message-ID: <87h68ujdu4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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: , 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-Spam-Score: 0.15 X-Spam-Score: 0.15 X-Migadu-Queue-Id: DC9D059A27 X-Migadu-Scanner: mx13.migadu.com X-TUID: FAkI0GPdOzEa Hi Hilton, Hilton Chain writes: > 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. I think it's a worthwhile change. It'd be neat to unify every reference to /var/run to /run in the doc/code too. I'll be trying this on the build farm as there's an annoying problem with anonip that creates FIFOs under /run/anonip, and these currently become plain files upon reboot, breaking the anonip-service services. -- Thanks, Maxim