From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kDhGAI+X3GT4+AAASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 11:31:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QFkgAI+X3GSj+AAA9RJhRA (envelope-from ) for ; Wed, 16 Aug 2023 11:31:59 +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 AF99A302C2 for ; Wed, 16 Aug 2023 11:31:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=1692178318; 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=h0Qtc4JxYVJ7k0VQSoo2VRZspvXC3t9Ph0DSBu0lNwk=; b=gTmC71i8VvfqJMzCH46ARoAoqvKpjw1qkwVnCSz84RT5tyO8Kv+Yj5+l9dXUTMtA7yiruh 0+rjLHtIYZGRO+QYCQaNBvvcij5AZ8aOn7y4VdPj3rrzYZZG1FT7oH1Kj5aXpq6Q0BQUeT FPFVfabqOkYrs5oPOlotlSfWh4ShRxf3oWi3K65DWTGgwOr/qTP+rykWkvQYxdrHpcWI+/ sXGxKa1Lar1mqLIc2C8IQQ1kl0bR2oOgOBWztfqgvjov6GvgBfFUvAj6Lu7nM7XDai9tKz 4wT7pWT8/3dY2rQofZefwLr9gXR7X3ZIgAS1kn3WMAojLyI2nyuwqvol0EHcQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=1692178318; a=rsa-sha256; cv=none; b=vAvseb/c7WVMfU2s1r/OPPN0AlDmDFioTGJNAKq0ZEKLd2ZqK1NEL70WF222yYcbKQoJA6 RkzJZ11qoImRmON/ot3NweDTgdk5H2XzRnnJWJIsv/pw0p2D2Mhikzyd46xVOwYV8IG0eK aBw9nBdPMFoZJ9Kvj0IXygTJ2CRfTPznhDGrjLeWc0dkLxQs0J+wLykFvD6i/KG10IVwm4 rWA0ypEwmed2Qar4tN04Brtuv+PUcz0yKJKLVCd5xMTHpdtVRn0OxG+Fh/NOxo7xbSVGw4 JVxsPt6S6ATfLLJsGHwa5mIAT+y0O6oQJOnT0ZB5Y9Vasxa5SN8vRFjwxgpVew== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWCsD-0001sp-DT; Wed, 16 Aug 2023 05:31:29 -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 1qWCrm-0001lg-Qe for guix-patches@gnu.org; Wed, 16 Aug 2023 05:31:09 -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 1qWCrm-0000u5-I7 for guix-patches@gnu.org; Wed, 16 Aug 2023 05:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWCrm-0006Ns-E4 for guix-patches@gnu.org; Wed, 16 Aug 2023 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65335] [PATCH 2/4] gnu: services: activation-script: Ensure /var/run existence. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Aug 2023 09:31: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.169217820524343 (code B ref 65335); Wed, 16 Aug 2023 09:31:02 +0000 Received: (at 65335) by debbugs.gnu.org; 16 Aug 2023 09:30:05 +0000 Received: from localhost ([127.0.0.1]:38851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCqq-0006KW-Ur for submit@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:05 -0400 Received: from 5.mo583.mail-out.ovh.net ([87.98.173.103]:59745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWCql-0006JD-BQ for 65335@debbugs.gnu.org; Wed, 16 Aug 2023 05:30:03 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.16.160]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 149FC2606F for <65335@debbugs.gnu.org>; Wed, 16 Aug 2023 09:29:58 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-tskzz (unknown [10.108.16.92]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 53B0D1FDBA; Wed, 16 Aug 2023 09:29:57 +0000 (UTC) Received: from ngraves.fr ([37.59.142.110]) by ghost-submission-6684bf9d7b-tskzz with ESMTPSA id n1IBEBWX3GTYHR0A3bk/bA (envelope-from ); Wed, 16 Aug 2023 09:29:57 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Wed, 16 Aug 2023 11:29:27 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> References: <344951a96d504fb86db43c79262739f5a7c086bb.1692178169.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 10886607677632340706 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedruddtledgudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheeffeehseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth 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-Spam-Score: -6.18 X-Spam-Score: -6.18 X-Migadu-Queue-Id: AF99A302C2 X-Migadu-Scanner: mx2.migadu.com X-TUID: Ut1/kiquwo4w --- gnu/services.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services.scm b/gnu/services.scm index 109e050a23..a992800796 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -670,6 +670,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