From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pjotr Prins Subject: Re: Installing guix packages without root permissions (in HPC environments) Date: Thu, 19 Jan 2017 06:08:08 +0000 Message-ID: <20170119060808.GA21181@mail.thebird.nl> References: <20170117091544.GA8189@mail.thebird.nl> <87eg006o5q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU5wF-0004Mg-UL for guix-devel@gnu.org; Thu, 19 Jan 2017 01:11:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU5wC-0002by-K3 for guix-devel@gnu.org; Thu, 19 Jan 2017 01:11:11 -0500 Content-Disposition: inline In-Reply-To: <87eg006o5q.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 =?iso-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org On Wed, Jan 18, 2017 at 10:42:09PM +0100, Ludovic Court=C3=A8s wrote: > > To fix the prefix restriction there are two routes, one is building > > Guix itself on a large(r) path, which is the easy route, or write a > > relocate patcher that can handle the non-zero terminated paths. I > > think the latter is feasible too. Even at this point the fixed length > > strategy is useful for most environments - the prefix can be some 40 > > characters long. >=20 > I think the fixed-length restriction is not that bad. The two > workarounds above look hacky and super tricky, respectively. ;-) Yes. Also I like the fact that we use standard binaries this way that have been well tested on Guix. If anything goes wrong the problem can only be the relocation. That makes things tractable. > Also, if we look at the big picture of non-root usage, this solution > addresses the most hostile environments: no user namespaces, no > container-spawning facility, no root guix-daemon, etc. Granted, these > hostile environments are still commonplace in HPC, so that=E2=80=99s go= od. :-) Yes, if this works it will be rather good and create awareness for Guix. Another use-case may be firefox plugins - or other software that wants to install binaries. Maybe they'll wake up to guix too. From a developers point of view Guix is awesome because it creates reproducible environments that we can develop against. What more do we need ;). We are now using it for a bug hunt on sambamba which only segfaults on particular HPC setups. The guix relocatable installer is going to help. I'll take the installer to the level that we can do one-step installs and provide a few packages for download to reach out to certain communities (dlang and elixir come to mind). Pj. --=20