From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: =?utf-8?B?4oCYc3Vkb+KAmQ==?= leaves PATH =?utf-8?Q?unchanged?= =?utf-8?Q?=E2=80=A6?= so what? Date: Fri, 18 Jan 2019 08:15:34 +0100 Message-ID: <87zhryv3l5.fsf@roquette.mug.biscuolo.net> References: <87y37jwp1p.fsf@gnu.org> <87h8e7h6yd.fsf@elephly.net> <87r2dbv4w0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkONv-0006XT-Q0 for guix-devel@gnu.org; Fri, 18 Jan 2019 02:16:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkONt-0004Ic-Tq for guix-devel@gnu.org; Fri, 18 Jan 2019 02:16:10 -0500 In-Reply-To: <87r2dbv4w0.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Ricardo Wurmus Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi all, Ludovic Court=C3=A8s writes: > Ricardo Wurmus skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Hello Guix, >>> >>> I=E2=80=99m not sure if this is a bug, but on Guix System, =E2=80=98sud= o=E2=80=99 leaves PATH >>> unchanged: this also happens on foreign distros :-) [...] >> Yes, this is expected and desired behaviour. Sysadmins generally use >> =E2=80=9Csu -=E2=80=9D or =E2=80=9Csudo -i=E2=80=9D to get a =E2=80=9Cpr= oper=E2=80=9D root login shell because of this. > > OK. > >>> However, it trips up many people. yes, and it was a subject of many help requests both here and help-guix in recent months (since I'm subscribed) [...] > =E2=80=A6 which doesn=E2=80=99t do what one might think before =E2=80=9Cs= udo guix pull=E2=80=9D updates > root=E2=80=99s =E2=80=98guix=E2=80=99 whereas =E2=80=9Csudo guix system= =E2=80=9D uses the user=E2=80=99s =E2=80=98guix=E2=80=99. > > Either we should rephrase it or perhaps explicitly write: > > From then on, you can update GuixSD whenever you want by running: > > @example > guix pull > sudo guix system reconfigure /etc/config.scm > @end example IMHO it should be explicitly stated that in general it's not advised/needed to install guix for the root user and that "guix system" must be run as a normal user via sudo (and the user must be allowed to do so by root via sudoers); then the example above [...] Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxBfRcACgkQ030Op87M ORLI7A//bH8/VWvZUU9NlFlDQlTcSKZ8tjMOt2LtL1FeMKij2xdnt9j0VEq2a6X0 JZra33AH7+R0PbsttfvRQbKn6MtKpCYenXL5IZQlOkZzoofdqaCY6drultVwgduY 4+MOOillMRGTeZq2+Kt2rWA4eq4MV9fkclNkJVYwAQS/yncsl91xORthCZCQKHSu 4VtrCcd3moNuOC0Uk32dppsReD6Rf+W+Z39DJ+/f63zINCRS5LUJ+k13E3930ATN ufLFKd6zATWlHKLu7NmsdbLd5oK8QOSkq9g/Nul1LfQgrosdes0ebxqzuJ5FthBq 8K72MU9SfiCryBezgaFOvNNeBUScODNAnFN9UkxXT7B2pvlUE5pm4JLvtrR6Mczp at10gY9wcXsAicw7Tdw4jhU34hp4uEtvWr5UbRr1bCTqX+H2YzRn2jtG1BrZGQmo 2SDAP44wgkhrzilWNejyPX4/OPKbm4zjoYAP5tb5y1m70XpNTvaaBVhe8R6vJCn8 gGysem9zw96bHs901zi72oMQ1MIhZA4ppw2vvuCTT2SGgqgw/1JQga6pREnxYGlb 924XACLBg+4yWx+bmGyEcSiFdzurL0yGv0vSrxnGQQV0LW96D08HTwsAmJ78mPma 0MPiZbrT0vPevj7pmeH3CVTMdYdMjZDH02ecpIwHaSIXBEcZVWI= =d2Un -----END PGP SIGNATURE----- --=-=-=--