From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id wCcTKAOTF2ZiSAEAqHPOHw:P1 (envelope-from ) for ; Thu, 11 Apr 2024 09:36:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wCcTKAOTF2ZiSAEAqHPOHw (envelope-from ) for ; Thu, 11 Apr 2024 09:36:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b=Bf1a+JCH; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712820995; h=from:from:sender:sender: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:dkim-signature; bh=YYfYi3qzWrvOn9awp4cy2PJLAzjna9rpyAhyy5oAPyU=; b=PN22Nz/ezcWZHuyDCwdHbBxc+C+d1RpUVnQbls6WXbTHRLkJK0nGcb+6QM8dIjWWtNH1/2 U6DyKj+7qvCI1ssp34A8KvL010RHYQHWx6wiRkNHO6d2gBc1zForcmMikRHF8lI5xIEnYa FsmiaKcTXR/CZKtTlwNUcsxlxVDY7GZJIGgPMR1pMUOL4foXpV6zXQoPmIPbtqxvndUsEJ DNQ0KjPECW2E51AQ6t/xS3utlR1kPuvO7g+/M2GK2J1RknS29D2goqItA0pweE0nJ7c+BP IgwxHAQsM0i64Gx6+gcOh6jNhmlfZ5rCJ4N/XAwzjrHHuFb7cN1/xvF9ZheX3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712820995; a=rsa-sha256; cv=none; b=WDuB2PQ34/H1kpPRAOupaESCz/owRCK5AU+w1iJDtiGZMdRTZGEgftOSjamClFbLkVOZZi 3XwgPwximcfz7haCKiktjUTY2WH4r3CaQyyyeYHX/KuxnnMmJTztQe03fSNLqqu4igNFE3 fXUBcYn1tgiT4vr+dORpdjgaaqVY50YT3vQMYEkilQSJsUCcOjrMki0bv+W2oueZbNeP7N E1AgqSZOQLWkmXd5GfA5TmjBQ1BLdzKpkFNB8wZte/ug2QhhaIk4Ativsc/XyH85RjWwQP MJJ+1N+bVpk5i9aV2WTD4XqC9q4aogs9JxSYhWyrzoDvKzyuJvglmJkoI+SKgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b=Bf1a+JCH; 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=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 753DD656D0 for ; Thu, 11 Apr 2024 09:36:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruoyW-0006z2-8P; Thu, 11 Apr 2024 03:36:00 -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 1ruoyU-0006yZ-HY for guix-patches@gnu.org; Thu, 11 Apr 2024 03:35:58 -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 1ruoyT-0007Aw-Aq for guix-patches@gnu.org; Thu, 11 Apr 2024 03:35:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ruoyc-0004TX-0c for guix-patches@gnu.org; Thu, 11 Apr 2024 03:36:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70333] [PATCH 2/2] doc: contributing: Move localstatedir instructions. References: <20240411072114.16195-1-pelzflorian@pelzflorian.de> In-Reply-To: <20240411072114.16195-1-pelzflorian@pelzflorian.de> Resent-From: Florian Pelz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Apr 2024 07:36:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70333 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70333@debbugs.gnu.org Cc: Florian Pelz Received: via spool by 70333-submit@debbugs.gnu.org id=B70333.171282094417062 (code B ref 70333); Thu, 11 Apr 2024 07:36:05 +0000 Received: (at 70333) by debbugs.gnu.org; 11 Apr 2024 07:35:44 +0000 Received: from localhost ([127.0.0.1]:54817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruoyF-0004R3-Jl for submit@debbugs.gnu.org; Thu, 11 Apr 2024 03:35:44 -0400 Received: from relay.yourmailgateway.de ([46.38.247.119]:41871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruoyB-0004QO-Uu for 70333@debbugs.gnu.org; Thu, 11 Apr 2024 03:35:41 -0400 Received: from mors-relay-8404.netcup.net (localhost [127.0.0.1]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4VFWh15tszz81ZW for <70333@debbugs.gnu.org>; Thu, 11 Apr 2024 09:35:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1712820929; bh=+7nrAN9DC7dMhg0+QkP3PMUXjT3SxeyA11DAe6qzNM8=; h=From:To:Cc:Subject:Date:From; b=Bf1a+JCHp7tJuqb9zlhqJQKA29pJCjD0yfnivbk3nTUAmfXklG8+Z9AhuK8yADBxl tdozFfLIG9aTIzLdVYcZOcncHBQHy85f85DgwXQKPDYlTKw2YiKstlghi0s9MQbk2a 6FTNG5HIQ1ql+A1wc3uGYgHVBAmkYvtOJ6rv9QLi7aoghZFI1BEFbc+bVPYQ8G86yU /eoUXiZ3tnaTXyzOhiAgxnZcjAq+6bNCFu0Ilh21tZiC1qLssz09Iy2PH+mwtPrved A0cAUmjy5EGarqp/8UesiaFEQbDeA8D5t2itmt9/WFHRM5nDLzP21WliByP56CUZi6 7WexEniXMzB/g== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4VFWh15W42z4yP9 for <70333@debbugs.gnu.org>; Thu, 11 Apr 2024 09:35:29 +0200 (CEST) Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4VFWh145rYz8sch for <70333@debbugs.gnu.org>; Thu, 11 Apr 2024 09:35:29 +0200 (CEST) Received: from florianrock64.fritz.box (ip92344de0.dynamic.kabel-deutschland.de [146.52.77.224]) by mxe217.netcup.net (Postfix) with ESMTPSA id 947CC82DB5; Thu, 11 Apr 2024 09:35:22 +0200 (CEST) From: Florian Pelz Date: Thu, 11 Apr 2024 09:34:50 +0200 Message-ID: <20240411073450.17958-2-pelzflorian@pelzflorian.de> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 947CC82DB5 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: oCcLYyAhgq2GDjERTQZf85tPLnaPFq9ZOe7imxgLCZ2noIqQDq+pqYK/ 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.87 X-Spam-Score: -0.87 X-Migadu-Queue-Id: 753DD656D0 X-Migadu-Scanner: mx12.migadu.com X-TUID: fhHsz8wgdcWE * doc/contributing.texi (Requirements): Move localstatedir ... (Building from Git): ... here. Change-Id: I860bb7a9e6aea12881469c667496364248293c31 --- doc/contributing.texi | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index cfe8b1289b..66f4e86d0a 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -126,23 +126,6 @@ following packages are also needed: C++11 standard. @end itemize -@cindex state directory -@cindex localstatedir -@cindex system configuration directory -@cindex sysconfdir -When configuring Guix on a system that already has a Guix installation, -be sure to specify the same state directory as the existing installation -using the @option{--localstatedir} option of the @command{configure} -script (@pxref{Directory Variables, @code{localstatedir},, standards, -GNU Coding Standards}). Usually, this @var{localstatedir} option is set -to the value @file{/var}. The @command{configure} script protects -against unintended misconfiguration of @var{localstatedir} so you do not -inadvertently corrupt your store (@pxref{The Store}). The configuration -directory should also be configured by setting the @option{--sysconfdir} -option to the @file{/etc} value, which is the location used by Guix to -store for example the access control list of authorized machines and the -definition of offload machines. - @node Building from Git @section Building from Git @@ -245,6 +228,10 @@ export ACLOCAL_PATH=/usr/share/aclocal @xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information. +@cindex state directory +@cindex localstatedir +@cindex system configuration directory +@cindex sysconfdir Then, run: @example @@ -259,6 +246,19 @@ normal @code{sysconfdir} value. Note that you will probably not run important to pass the right @code{localstatedir} and @code{sysconfdir} values, which get recorded in the @code{(guix config)} Guile module. +When configuring Guix on a system that already has a Guix installation, +be sure to specify the same state directory as the existing installation +using the @option{--localstatedir} option of the @command{configure} +script (@pxref{Directory Variables, @code{localstatedir},, standards, +GNU Coding Standards}). Usually, this @var{localstatedir} option is set +to the value @file{/var}. The @command{configure} script protects +against unintended misconfiguration of @var{localstatedir} so you do not +inadvertently corrupt your store (@pxref{The Store}). The configuration +directory should also be configured by setting the @option{--sysconfdir} +option to the @file{/etc} value, which is the location used by Guix to +store for example the access control list of authorized machines and the +definition of offload machines. + Finally, you can build Guix and, if you feel so inclined, run the tests (@pxref{Running the Test Suite}): -- 2.41.0