From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 13:03:35 2018 Received: (at 30256) by debbugs.gnu.org; 4 Mar 2018 18:03:35 +0000 Received: from localhost ([127.0.0.1]:44668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esXyx-0002iR-1m for submit@debbugs.gnu.org; Sun, 04 Mar 2018 13:03:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esXyw-0002iF-2s for 30256@debbugs.gnu.org; Sun, 04 Mar 2018 13:03:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esXyp-0006nI-Ue for 30256@debbugs.gnu.org; Sun, 04 Mar 2018 13:03:28 -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.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esXyn-0006mR-HY; Sun, 04 Mar 2018 13:03:25 -0500 Received: from localhost ([::1]:43133 helo=mikegerwitz-pc.gerwitz.local) by fencepost.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1esXyn-0007Ud-93; Sun, 04 Mar 2018 13:03:25 -0500 From: Mike Gerwitz To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [bug#30256] [PATCH 3/3] scripts: environment: Add --no-cwd. In-Reply-To: <87zi3p9q1w.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 03 Mar 2018 15:44:43 +0100") Date: Sun, 04 Mar 2018 13:03:02 -0500 Message-ID: <87y3j7btwp.fsf@gnu.org> References: <87vag2wopo.fsf@gnu.org> <7bc71eaa3cff48ec7dc0d4fe406dde9482b716a9.1516937216.git.mtg@gnu.org> <87tvtyhhnd.fsf@gnu.org> <877equgxx7.fsf@gnu.org> <87zi3p9q1w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) OpenPGP: id=22175B02E626BC98D7C0C2E5F22BB8158EE30EAB MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30256 Cc: 30256@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: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, Mar 03, 2018 at 15:44:43 +0100, Ludovic Court=C3=A8s wrote: >> Also---I thought the decision was that this patchset was inappropriate >> for `guix environment`; did I misinterpret? > > My initial reaction was that we shouldn=E2=80=99t stretch =E2=80=98guix e= nvironment=E2=80=99 to > do something that=E2=80=99s unrelated to environment management. > > However as I looked at your patches, I found that the additions you made > are useful per se (for instance I=E2=80=99ve been wanting =E2=80=98--link= -profile=E2=80=99 on a > couple of occasions for reasons like the one you gave, Fontconfig, > etc.). And the patches had tests, documentation, and everything, so it > seemed more beneficial to include them. :-) Okay, sounds good. >> Thanks for taking a look at and applying these. If there are better >> solutions, I'm fine with that---I just wanted a proof-of-concept to >> start the discussion. Though, starting the discussion and then ducking >> out for other obligations wasn't quite what I had in mind... > > Sure. I think the issue of least-authority execution of programs > remains open anway. Do we want a =E2=80=98guix run=E2=80=99-like command= ? Something in > the shell, but which shell(s) then? Automatically-generated wrappers so > we don=E2=80=99t depend on specific shells? One thing in particular about using `guix environment --ad-hoc' that is particularly unfortunate with how I'm abusing it is that it will build new derivations as necessary (as it is supposed to). So "starting icecat" in a container isn't just that. I recently upgraded Guix, and icecat isn't available on Hydra yet, so I'm unable to start icecat at all until it compiles, which is hours on an X200 (though I'm assuming that reverting ~/.config/guix/latest might allow me to work around it temporarily with an old version). This would not have been a problem with a normal icecat installation in my profile. Obviously the desirable behavior is to just containerize whatever is in your profile, if possible. Maybe the script you sent me does just that. I'm excited to play around with it, I just can't atm. :( =2D-=20 Mike Gerwitz Free Software Hacker+Activist | GNU Maintainer & Volunteer GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05 https://mikegerwitz.com --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJanDTWAAoJEIyRe39dxRuiNIIQAKoy54MoU3wZHNFAHV+GTOCd SqBikep+B/ER0QAfnF5UodTdAmEQRXV3E5n5MtKuf7erjWRrKuz6x5Bt8mujIFQV bXMDACJCgM3OGLsR/H8paFRcf0o/mTE2sRCTIF/8ayrZHhm1+7v68yOLZYTTJHaa BHtM1hq6TxAtgdKNspZzkIDEmI35J9oJWbybgPQaBY30mG4nyObDzH1f0JeB31HS wlwH2oZjdVOCVHBz7lmqZAE4VIEr1bAfB7WUDSxKxNLcFlkPii+Qd3i/tw0TjENV SLt/OgVYrrrzkywEgOXLB5r4WOeLr/7Mh44pEVI0OntVLABP0ejw+0PoQgu2ZT6+ I5QCpAgnq845bZsb70NRtrxGqyYLDHxcdj63ut9KePJhWDQESGtvoqmD8tMzKFvd LYN0zYtZg6pxi/mebf5pNF5xcN/bclXE8tYIdAP9W4AALB7D6VQZ5wF2HpR8hdnB FBVHWJcQW6g4BnJtMEXaqPAj+xr+t01G6SMurW0oax0DN/BHR1VWVKE1ZCc0Oo4u 283QQPVmj6e1CQLtA/+f/0lmjsh6T0Xdun5mbRSjg/4NCpEgRZDLIQG/aWf0OrKc axr0L2rhaJ3Pk766ZdyRlfmhqJDsHh8684xzwjycOCuDvvlzKipeHiu6p0KnQzg1 EuJ3qqqzoqYtCHnc208e =iXGu -----END PGP SIGNATURE----- --=-=-=--