From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60614) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2dsp-0007de-PS for guix-patches@gnu.org; Fri, 14 Feb 2020 11:32:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2dso-0002LY-N7 for guix-patches@gnu.org; Fri, 14 Feb 2020 11:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2dso-0002L6-GB for guix-patches@gnu.org; Fri, 14 Feb 2020 11:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2dso-0004Jk-CP for guix-patches@gnu.org; Fri, 14 Feb 2020 11:32:02 -0500 Subject: [bug#39501] [PATCH] doc: Clarify how sudo and guix interact when updating Resent-Message-ID: From: Marius Bakke In-Reply-To: <20200207214710.14987-1-kuba@kadziolka.net> References: <20200207214710.14987-1-kuba@kadziolka.net> 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" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= , 39501@debbugs.gnu.org --=-=-= 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----- --=-=-=--