From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0AJzKDmR4mQ2FQAASxT56A (envelope-from ) for ; Mon, 21 Aug 2023 00:18:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UKB+JzmR4mQHJgAAG6o9tA (envelope-from ) for ; Mon, 21 Aug 2023 00:18:33 +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 2E58E50CF7 for ; Mon, 21 Aug 2023 00:18:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692569913; a=rsa-sha256; cv=none; b=mSzBFU39eLWdawu8WozjsWj77lXtGmX5RbRaGkeknQ/IlkKaq/dr7nU9KxEtcNCt6Gy29A 2ztPJEhEhSTkm7NmaVUwWz+Ki9iNEdB4kM9VmrpJp+VGrH3P9enRxFI+TWa60PyjqzlSv6 bDoHAsPatl42AGnXt8iSjmGhp5jsnvzcjLZ/u+JQYjTz4OQb4jFdJ6O4MSKpy8w5ZFAc/g vRshcErJ296tY/z93Km99XiFlc4U8A4LNzqCwoynDL0CrtI+nYK7l9b6cMY51m1uOQvzUr y/UZmkqo7/UeApPQN2eHXuHUF4QM1LrHB5puHAM8cSywxOQuyS2nGxjarZQfiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692569913; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xMAvCQnmPgUJmjoIcQqdx2/1z6KKEq5M1AsLmHjO0U0=; b=nVpUUB+Rw4m1QOYJ9GbbpYj19qAj1VmXWjNR2TXjzfMcl6sQHCff2qvnlmP3eYeDCzxP0l UCNo0KCjeTK0zRQ6i/yue3fwx4mBqjTHj34MRxjpWfuxTCReD+NLxVVlAX/yD0zq7MZc82 l0HGVAYomKKaqnFcr6vUksohmq87ysKUiYIoKnRPhK7vkhBPQEkGbhBjTLAOS/d1T8Lgfz t86/aYibm0jLbM0kyxyrlISIj5gVUCH2uTucEvHM4Rvw8yOKQFx8XtQ4T6ImUPZBdf+/PV fhXqXVfOQdmPxdnz+8Ib1uIJu/EI5wjpSMHBuyggtja1IxjafLmiXymQOQfS2g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXqkF-000426-Gi; Sun, 20 Aug 2023 18:18: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 1qXqkD-000411-4l for guix-patches@gnu.org; Sun, 20 Aug 2023 18:18:01 -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 1qXqkC-00018Z-St for guix-patches@gnu.org; Sun, 20 Aug 2023 18:18:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXqkE-0003Xw-MA for guix-patches@gnu.org; Sun, 20 Aug 2023 18:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65335] [PATCH v2 2/5] gnu: services: activation-script: Ensure /var/run existence. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Aug 2023 22:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65335 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65335@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 65335-submit@debbugs.gnu.org id=B65335.169256983113543 (code B ref 65335); Sun, 20 Aug 2023 22:18:02 +0000 Received: (at 65335) by debbugs.gnu.org; 20 Aug 2023 22:17:11 +0000 Received: from localhost ([127.0.0.1]:55026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjO-0003WM-N5 for submit@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:10 -0400 Received: from 20.mo584.mail-out.ovh.net ([46.105.33.73]:43405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXqjI-0003Vc-FK for 65335@debbugs.gnu.org; Sun, 20 Aug 2023 18:17:06 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.16.177]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id F23A0229BB for <65335@debbugs.gnu.org>; Sun, 20 Aug 2023 22:17:00 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-xqm9h (unknown [10.110.115.102]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B24A61FD87; Sun, 20 Aug 2023 22:17:00 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-xqm9h with ESMTPSA id w57SKNyQ4mRn9gYAdcs0Ng (envelope-from ); Sun, 20 Aug 2023 22:17:00 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Mon, 21 Aug 2023 00:16:44 +0200 Message-ID: <9e7a3ce3a4f0cdaac19705fdbc7e5a2f91ef1c62.1692569807.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10438218036880925410 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddukedgtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves 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-Scanner: mx0.migadu.com X-Spam-Score: -6.20 X-Migadu-Queue-Id: 2E58E50CF7 X-Migadu-Spam-Score: -6.20 X-TUID: HMI5G1xKRNP/ --- gnu/services.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services.scm b/gnu/services.scm index eb9258977e..73235ac2b8 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -674,6 +674,7 @@ (define (activation-script gexps) ;; Make sure the user accounting database exists. If it ;; does not exist, 'setutxent' does not create it and ;; thus there is no accounting at all. + (mkdir-p "/var/run") (close-port (open-file "/var/run/utmpx" "a0")) ;; Same for 'wtmp', which is populated by mingetty et -- 2.41.0