From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60517) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2fUV-00040L-SU for guix-patches@gnu.org; Fri, 14 Feb 2020 13:15:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2fUU-0007eZ-R4 for guix-patches@gnu.org; Fri, 14 Feb 2020 13:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2fUU-0007d4-NZ for guix-patches@gnu.org; Fri, 14 Feb 2020 13:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2fUU-0006uf-4P for guix-patches@gnu.org; Fri, 14 Feb 2020 13:15:02 -0500 Subject: bug#39501: [PATCH] doc: Clarify how sudo and guix interact when updating Resent-To: guix-patches@gnu.org Resent-Message-ID: Date: Fri, 14 Feb 2020 19:15:23 +0100 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= 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> 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: Marius Bakke Cc: 39501-done@debbugs.gnu.org --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--