From unknown Mon Jun 23 07:51:11 2025 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 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 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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 -- 2.23.0 From unknown Mon Jun 23 07:51:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: zimoun Subject: bug#38091: closed (Re: [bug#38091] [PATCH] doc: Mention value /var to localstatedir option.) Message-ID: References: <874kzc7muw.fsf@gnu.org> <20191106183554.3590-1-zimon.toutoune@gmail.com> X-Gnu-PR-Message: they-closed 38091 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 38091@debbugs.gnu.org Date: Sat, 09 Nov 2019 21:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1573335482-27707-1" This is a multi-part message in MIME format... ------------=_1573335482-27707-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38091: [PATCH] doc: Mention value /var to localstatedir option. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38091@debbugs.gnu.org. --=20 38091: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38091 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1573335482-27707-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38091-done) by debbugs.gnu.org; 9 Nov 2019 21:37:21 +0000 Received: from localhost ([127.0.0.1]:50380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTYQ4-0007Bj-Nr for submit@debbugs.gnu.org; Sat, 09 Nov 2019 16:37:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTYQ3-0007BG-68 for 38091-done@debbugs.gnu.org; Sat, 09 Nov 2019 16:37:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iTYPx-0002EO-Rr; Sat, 09 Nov 2019 16:37:14 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36858 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iTYPx-0005a1-8w; Sat, 09 Nov 2019 16:37:13 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#38091] [PATCH] doc: Mention value /var to localstatedir option. References: <20191106183554.3590-1-zimon.toutoune@gmail.com> Date: Sat, 09 Nov 2019 22:37:11 +0100 In-Reply-To: <20191106183554.3590-1-zimon.toutoune@gmail.com> (zimoun's message of "Wed, 6 Nov 2019 19:35:54 +0100") Message-ID: <874kzc7muw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38091-done Cc: 38091-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! zimoun skribis: > * README (Installing Guix from Guix): Mention value /var to localstatedir= option. > * doc/contributing.texi (Building from Git): Likewise. > * doc/guix.texi (Requirements): Likewise. Applied, thanks! Ludo=E2=80=99. ------------=_1573335482-27707-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 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 To: guix-patches@gnu.org Subject: [PATCH] doc: Mention value /var to localstatedir option. 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 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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 -- 2.23.0 ------------=_1573335482-27707-1--