From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 07 16:46:51 2020 Received: (at submit) by debbugs.gnu.org; 7 Feb 2020 21:46:51 +0000 Received: from localhost ([127.0.0.1]:50378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0BSd-0002Zd-Hn for submit@debbugs.gnu.org; Fri, 07 Feb 2020 16:46:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:48073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0BSa-0002Ww-10 for submit@debbugs.gnu.org; Fri, 07 Feb 2020 16:46:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44129) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0BSX-0005fT-N4 for guix-patches@gnu.org; Fri, 07 Feb 2020 16:46:47 -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,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0BSW-00053F-7a for guix-patches@gnu.org; Fri, 07 Feb 2020 16:46:45 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:40838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j0BSV-000522-Vd for guix-patches@gnu.org; Fri, 07 Feb 2020 16:46:44 -0500 Received: (qmail 20878 invoked by uid 1009); 7 Feb 2020 22:46:40 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25716. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.008698 secs); 07 Feb 2020 21:46:40 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 7 Feb 2020 22:46:40 +0100 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: guix-patches@gnu.org Subject: [PATCH] doc: Clarify how sudo and guix interact when updating Date: Fri, 7 Feb 2020 22:47:10 +0100 Message-Id: <20200207214710.14987-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 37.59.186.212 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit 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: -1.7 (-) * doc/guix.texi (After System Installation): Explicitly explain the mechanics of how sudo differs from a login shell. Some recent discussions on IRC suggest that the existing wording wasn't entirely clear. --- doc/guix.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 710cf97673..9f758706f6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -72,6 +72,7 @@ Copyright @copyright{} 2019 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Leo Prikler@* Copyright @copyright{} 2019, 2020 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* +Copyright @copyright{} 2020 Jakub Kądziołka@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -2439,6 +2440,11 @@ your system includes the latest security updates (@pxref{Security Updates}). Note that @command{sudo guix} runs your user's @command{guix} command and @emph{not} root's, because @command{sudo} leaves @code{PATH} unchanged. To explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}}. + +The difference matters here, because @command{guix pull} updates +the @command{guix} command and package definitions only for the user it is ran +as. This means that if you choose to use @command{guix system reconfigure} in +root's login shell, you'll need to @command{guix pull} separately. @end quotation Join us on @code{#guix} on the Freenode IRC network or on -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 14 11:31:55 2020 Received: (at 39501) by debbugs.gnu.org; 14 Feb 2020 16:31:55 +0000 Received: from localhost ([127.0.0.1]:34591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2dsg-0004JO-P7 for submit@debbugs.gnu.org; Fri, 14 Feb 2020 11:31:54 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2dsf-0004JB-5k for 39501@debbugs.gnu.org; Fri, 14 Feb 2020 11:31:53 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id DB0EB2104A; Fri, 14 Feb 2020 11:31:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 14 Feb 2020 11:31:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=vENUZ6QMtSgKuS0tYFbQFSVlV+ VCsUrGrO8xq+a5M/Q=; b=srXCTVX93DL0bP2rhUIXQXQLMNIyvxYVj2YjHSkh+Q Y1J2qqUhFlmIplHXcXXrVSwWGiZYeQUWloTQUEl1b9YuDocidRDCBsR+ivVDshql kLrf69Ga1oeqOmGtL2eHQGEjpkp85xk3QXQ1RLmoUnwJKCA7rFOdbE3qZsfGUVdy chEjDHg1SUhtSNIdTdi7OO2/zFA6rmMtnof2qWtE2488qJaZP03hokwtWvbmRuyT GHXrTjfqP29gaap7RX3LaJo6SsIZu4MOLoPWCUuVhsPLrJdIbYISUCgo9CsBPfYs GK9K29YWgz9mCobFvjFP6w7IbJ8o7IwwCuxgQP5BpoIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vENUZ6 QMtSgKuS0tYFbQFSVlV+VCsUrGrO8xq+a5M/Q=; b=0jixv5ePodOfB6FKAs/qRh eb3N09pmxABh7MHmCB7VCLYHu7dhkac141lmq4xE/cnBgzvkXvl+FLI73MlDh25M zPhMHh5ztw9bRq6HwDU72vU3NS0bay16Hy7914s2q65NMxCHV96oP1qv1yYM1uYe oADea3kl8WtQ26Styep2uir6FdTe3x2IfGK3wSAZVyaoPOPHcaB/XWoZW2X82yb+ OquZQYEFWa+5WFQn0kaPyjhxj7ctB9sRGtuRaHJtKmfHqK9q/5N8SaXtzwHAeHV5 G3AqcQPhm0BohaageXdbYK2sOFD+ZtBr9B/ldWaCOEyo5aigHIskdlBAUPt6elJA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrjedtgdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhgffffkgggtsehgtderre dtreejnecuhfhrohhmpeforghrihhushcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshht mhgrihhlrdgtohhmqeenucfkphepkeegrddvtddvrdeikedrjeehnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhm rghilhdrtghomh X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 50E6F3060FCB; Fri, 14 Feb 2020 11:31:47 -0500 (EST) From: Marius Bakke To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= , 39501@debbugs.gnu.org Subject: Re: [bug#39501] [PATCH] doc: Clarify how sudo and guix interact when updating In-Reply-To: <20200207214710.14987-1-kuba@kadziolka.net> References: <20200207214710.14987-1-kuba@kadziolka.net> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Fri, 14 Feb 2020 17:31:45 +0100 Message-ID: <87pneh6sge.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39501 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: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jakub K=C4=85dzio=C5=82ka writes: > * doc/guix.texi (After System Installation): Explicitly explain the > mechanics of how sudo differs from a login shell. > > Some recent discussions on IRC suggest that the existing wording wasn't > entirely clear. > --- > doc/guix.texi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/guix.texi b/doc/guix.texi > index 710cf97673..9f758706f6 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -72,6 +72,7 @@ Copyright @copyright{} 2019 Guillaume Le Vaillant@* > Copyright @copyright{} 2020 Leo Prikler@* > Copyright @copyright{} 2019, 2020 Simon Tournier@* > Copyright @copyright{} 2020 Wiktor =C5=BBelazny@* > +Copyright @copyright{} 2020 Jakub K=C4=85dzio=C5=82ka@* >=20=20 > Permission is granted to copy, distribute and/or modify this document > under the terms of the GNU Free Documentation License, Version 1.3 or > @@ -2439,6 +2440,11 @@ your system includes the latest security updates (= @pxref{Security Updates}). > Note that @command{sudo guix} runs your user's @command{guix} command and > @emph{not} root's, because @command{sudo} leaves @code{PATH} unchanged. = To > explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}= }. > + > +The difference matters here, because @command{guix pull} updates > +the @command{guix} command and package definitions only for the user it = is ran > +as. This means that if you choose to use @command{guix system reconfigur= e} in ^^^ Please use two spaces after punctuations. Otherwise LGTM. > +root's login shell, you'll need to @command{guix pull} separately. > @end quotation --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5Gy3EACgkQoqBt8qM6 VPovdAgAv03unFrG+tpTCQiMOPXw2XSEPbscLAD/GmqPuQprdDGuJmMlRVYyw7A9 cduqVUXd06QplYJc2EPt+ejU2OLCRu+NUbkMwz6eQyw3HceUP5qnUG5/6f/bZLdC wXZuDlgTVrJSmQ4/+xijX7cxPCe6o1HmmBAFSuXXTHqJ111n5lrvLSufaGvfD0Qs 8xDrwVmUM6U7OWC50gK1K915MVlT8L3bEJflUoUY6LXgP2HRQzGQ3K8WWAda1Zza +5DwYv5iPIk0BSK2ScH8CbGD3N1ozhpndMWhxSSQtBOgrmi4EXY2CqTdH6hdNTWD Wv8lS+nqZEUXhSPTOXf5EHhz7W2WuQ== =YK/3 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 14 13:14:52 2020 Received: (at 39501-done) by debbugs.gnu.org; 14 Feb 2020 18:14:52 +0000 Received: from localhost ([127.0.0.1]:34655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2fUK-0006tx-3d for submit@debbugs.gnu.org; Fri, 14 Feb 2020 13:14:52 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:42704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2fUH-0006tl-FN for 39501-done@debbugs.gnu.org; Fri, 14 Feb 2020 13:14:50 -0500 Received: (qmail 16336 invoked by uid 1009); 14 Feb 2020 19:14:47 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25722. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.025015 secs); 14 Feb 2020 18:14:47 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 14 Feb 2020 19:14:47 +0100 Date: Fri, 14 Feb 2020 19:15:23 +0100 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Marius Bakke Subject: Re: [bug#39501] [PATCH] doc: Clarify how sudo and guix interact when updating Message-ID: <20200214181523.55x3dphr4jg6oo5x@gravity> References: <20200207214710.14987-1-kuba@kadziolka.net> <87pneh6sge.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e3iuoumavf23dqbr" Content-Disposition: inline In-Reply-To: <87pneh6sge.fsf@devup.no> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39501-done Cc: 39501-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: -1.0 (-) --e3iuoumavf23dqbr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 14, 2020 at 05:31:45PM +0100, Marius Bakke wrote: > Jakub K=C4=85dzio=C5=82ka writes: >=20 > > * doc/guix.texi (After System Installation): Explicitly explain the > > mechanics of how sudo differs from a login shell. > > > > Some recent discussions on IRC suggest that the existing wording wasn't > > entirely clear. > > --- > > doc/guix.texi | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/doc/guix.texi b/doc/guix.texi > > index 710cf97673..9f758706f6 100644 > > --- a/doc/guix.texi > > +++ b/doc/guix.texi > > @@ -72,6 +72,7 @@ Copyright @copyright{} 2019 Guillaume Le Vaillant@* > > Copyright @copyright{} 2020 Leo Prikler@* > > Copyright @copyright{} 2019, 2020 Simon Tournier@* > > Copyright @copyright{} 2020 Wiktor =C5=BBelazny@* > > +Copyright @copyright{} 2020 Jakub K=C4=85dzio=C5=82ka@* > > =20 > > Permission is granted to copy, distribute and/or modify this document > > under the terms of the GNU Free Documentation License, Version 1.3 or > > @@ -2439,6 +2440,11 @@ your system includes the latest security updates= (@pxref{Security Updates}). > > Note that @command{sudo guix} runs your user's @command{guix} command = and > > @emph{not} root's, because @command{sudo} leaves @code{PATH} unchanged= =2E To > > explicitly run root's @command{guix}, type @command{sudo -i guix @dots= {}}. > > + > > +The difference matters here, because @command{guix pull} updates > > +the @command{guix} command and package definitions only for the user i= t is ran > > +as. This means that if you choose to use @command{guix system reconfig= ure} in > ^^^ > Please use two spaces after punctuations. Otherwise LGTM. Thanks! I added a space and pushed to master as 6a7f4d89b2029b43b766217d71d5dbbdfcc5fa09. --e3iuoumavf23dqbr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl5G47sACgkQ4xWnWEYT FWQV3BAApC+Rt4irY0QwLG4FjQV3A1vgwBHtb4ASMLdnvxKpXt3DXsyvdwUFIpVU 8TDt4Rteiaejz6xoobGcpj6NhfQ+Hfvoh2Z4K0gfc/Sg3kQCohqbmOw7FFW/xfJ/ GFe6GtqUlDIaxmoYEg9s+RfkbCJwH6Byvo8v1X2PH3/+1HNsrUrPyzcNFLVFPOee uX9b/nMul+h7BSSxDxOxHyupDyq0ZW3pVOsX04V+ZKFYLz+tW5jVM7h0PVjA77rj 1i2x6ZJ9G7sEeJPXTQL2iE1Ymae6l6EjlNUX3uqo5w+11XR71fel6dFllDxkVyQX X48fLaMH7OKWOgQUK/tYuVMxGkLgq7HDzZGhcu5kJStnKIuzBx9Z5km4+sxtoJ1e rWA1YoI7bU8272krWLrAEbhZy5hyX9KSo/SI00odsmdExnKw5w6DNB2wYNltXEje 4enEwq60TJTzCCya71RjUbFLKOU0wkaO+tqWCDKqOiIhLdlRV3+GIbrSAzjLkU0h NVoN8wxIyjIVMIlSy4qQChKkPxd2G9rFv13KMnaPYuj71w4GoRupd0Edbzl+S1vG dk65h1WOAqZMDg6S3Ebltiujz/oAXY20D3RfA9FQUF+FJ+TqMP6jTTeUA8bltDHn 3wUixELIyET+k7alHSqbSWlRdYByuhTJokhrxSZgoYv6WzuQmII= =4v62 -----END PGP SIGNATURE----- --e3iuoumavf23dqbr-- From unknown Sun Jul 27 06:44:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Mar 2020 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator