From patchwork Wed Nov 6 18:35:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 15983 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CC45B176E5; Wed, 6 Nov 2019 18:37:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8DEF7176E3 for ; Wed, 6 Nov 2019 18:37:09 +0000 (GMT) Received: from localhost ([::1]:34140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSQB2-0003qV-UJ for patchwork@mira.cbaines.net; Wed, 06 Nov 2019 13:37:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58653) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSQAx-0003qN-Kc for guix-patches@gnu.org; Wed, 06 Nov 2019 13:37:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSQAw-0003mz-IH for guix-patches@gnu.org; Wed, 06 Nov 2019 13:37:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSQAw-0003mm-Fa for guix-patches@gnu.org; Wed, 06 Nov 2019 13:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSQAw-000200-9v for guix-patches@gnu.org; Wed, 06 Nov 2019 13:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38091] [PATCH] doc: Mention value /var to localstatedir option. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Nov 2019 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38091@debbugs.gnu.org Cc: zimoun X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15730653677601 (code B ref -1); Wed, 06 Nov 2019 18:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2019 18:36:07 +0000 Received: from localhost ([127.0.0.1]:41287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSQA3-0001yV-Hg for submit@debbugs.gnu.org; Wed, 06 Nov 2019 13:36:07 -0500 Received: from lists.gnu.org ([209.51.188.17]:38737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iSQ9y-0001yH-LP for submit@debbugs.gnu.org; Wed, 06 Nov 2019 13:36:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58505) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSQ9x-0003h2-Fa for guix-patches@gnu.org; Wed, 06 Nov 2019 13:36:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSQ9w-0001vG-9z for guix-patches@gnu.org; Wed, 06 Nov 2019 13:36:01 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:35639) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSQ9w-0001uI-4N for guix-patches@gnu.org; Wed, 06 Nov 2019 13:36:00 -0500 Received: by mail-wr1-x42c.google.com with SMTP id p2so1990907wro.2 for ; Wed, 06 Nov 2019 10:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WjvuG4uPSIdX99IzUnIWYscmuYFzHYjKXJaVnTaMrcc=; b=NSfQj1vExMF09VAcimGxsYbhfQ3ndGXHHJR5frkSzycPS3u9Y+Bq8gX/p55FdumoDt +a1kOLl+sxLB9yyHtDMJVf2zO06wHewZGqkXVL6cPVVBukvGBGV+7Lx0ufogYO6mx07P RqWYxMjwskrtglJcH988cuzmfRIytW5f9AR/1JRYladQpmkEW95Qyhb3zhDcghwiTJnJ zkV/HwPTw7cFwE62HfHRxDkvVK9whguHKfsjV61wc/rfeVtLAvxyPVbdT8YuTeksovc3 ls/cZijIxB5CLQpZG74KC4drfOfr5FYSJnN48SsGCkpMn1tDeISMbzYD6g0TzlrFRWTI uIvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WjvuG4uPSIdX99IzUnIWYscmuYFzHYjKXJaVnTaMrcc=; b=N9alKjNAv6HF4s/fVxrJPb2H1pEU3YU4qA8PBOj31Qxqdf4044QX8PeVTsSeG+s/C+ 0dvNw6LjAvPNSEDuzsWEDDUMuYgylruIs4BIF0NeycRAmcYeognpnT+itiMjtx6exhVw C+8SHkeSAjIf03brBhHWDi4iuVs/HPp39Wthcuq8FMfLfFdgm5gQWCnVTUoKCDtnoYje tsd0md/tBVkTbasIV8fxe33QemylS23sq6gDP73X2VT71jmOXZCKnHGkRkp/EAtBQSwN P0+JEASl8Yn0I6me7b8+Ulrc2sNKMNBVapK9v2OKjl0GUVG1G6AllGneJ1eeBLPS4y1n ozRg== X-Gm-Message-State: APjAAAV00i+r83zxjfUX5xXt802QEhptXMloHWhJ4RFFS+3Lqz8P1Qlf //9ihZ/stoSCNW+qCyL809xNYoLO X-Google-Smtp-Source: APXvYqydxsC3yW/TmOxqUslj2LbYX7Xi0MlFIKgHyK7pybaapy4Tu+37Ll6fbT4j0S/8TjXZyiz3CA== X-Received: by 2002:a5d:5742:: with SMTP id q2mr3982778wrw.311.1573065358664; Wed, 06 Nov 2019 10:35:58 -0800 (PST) Received: from pfiuh02.univ-paris-diderot.fr ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id j14sm20029168wrp.16.2019.11.06.10.35.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 10:35:57 -0800 (PST) From: zimoun Date: Wed, 6 Nov 2019 19:35:54 +0100 Message-Id: <20191106183554.3590-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * README (Installing Guix from Guix): Mention value /var to localstatedir option. * doc/contributing.texi (Building from Git): Likewise. * doc/guix.texi (Requirements): Likewise. --- README | 3 ++- doc/contributing.texi | 3 ++- doc/guix.texi | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README b/README index 02d6f7190a..7121358157 100644 --- a/README +++ b/README @@ -63,7 +63,8 @@ To do so: - Re-run the 'configure' script passing it the option '--localstatedir=/somewhere', where '/somewhere' is the 'localstatedir' value of the currently installed Guix (failing to do that would lead the - new Guix to consider the store to be empty!). + new Guix to consider the store to be empty!). We recommend to use the + value '/var'. - Run "make", "make check", and "make install". diff --git a/doc/contributing.texi b/doc/contributing.texi index 655c8283e5..ee72b2f94d 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -94,7 +94,8 @@ more information. Then, run @command{./configure} as usual. Make sure to pass @code{--localstatedir=@var{directory}} where @var{directory} is the @code{localstatedir} value used by your current installation (@pxref{The -Store}, for information about this). +Store}, for information about this). We recommend to use the value +@code{/var}. Finally, you have to invoke @code{make check} to run tests (@pxref{Running the Test Suite}). If anything diff --git a/doc/guix.texi b/doc/guix.texi index 3a9d206b9f..50a2c1506f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -792,8 +792,9 @@ 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 @code{--localstatedir} option of the @command{configure} script (@pxref{Directory Variables, @code{localstatedir},, standards, -GNU Coding Standards}). The @command{configure} script protects against -unintended misconfiguration of @var{localstatedir} so you do not +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}). @node Running the Test Suite