From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YbS4DumZXWBOXQAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 09:23:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uPaUB+mZXWCsfgAAB5/wlQ (envelope-from ) for ; Fri, 26 Mar 2021 08:23:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5CC5621FF0 for ; Fri, 26 Mar 2021 09:23:04 +0100 (CET) Received: from localhost ([::1]:53644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPhkD-0004Ph-VI for larch@yhetil.org; Fri, 26 Mar 2021 04:23:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPhk8-0004PN-OA for guix-science@gnu.org; Fri, 26 Mar 2021 04:22:57 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:48224 helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPhk6-0005u2-1Q for guix-science@gnu.org; Fri, 26 Mar 2021 04:22:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1616746968; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NDt1l5IIq6zJiqyBWOp15+X5EPUJl2F1XRW37BPt3y4=; b=Hy4VCQXJwykPjina8aVUXQBIv6J8rLsSA3pJ4X1zEYzyNpNa9sVVUBrRGqV07fQA9A2lPN bn6AWgylOS9BIzLTf919Xg8KpqNktygC7FJZuDdtKy85WuJupbp/5EpL2FjJby+/bwi52n T0EyHMWRzvOvJWaanMR7kGqQsowe8JI= References: <878s6pds9t.fsf@eauchat.org> <87zgz3c17o.fsf@eauchat.org> <8735wva2p9.fsf@gnu.org> <87r1kdci49.fsf@eauchat.org> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: guix-science@gnu.org Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , zimoun Subject: Re: Introducing Guix to HPC at my institution Message-ID: <877dlucsur.fsf@eauchat.org> In-reply-to: <87r1kdci49.fsf@eauchat.org> Date: Fri, 26 Mar 2021 17:22:43 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-science@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-science-bounces+larch=yhetil.org@gnu.org Sender: "Guix-Science" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616746984; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NDt1l5IIq6zJiqyBWOp15+X5EPUJl2F1XRW37BPt3y4=; b=r70RCB4VxvTrZtsZ5YQL8yXswxs9EGbiNIJ4T87ls5WIWi3sc7TZHjPR3wMUdnYW8Hecqq 6dapt3MPU9kmBHAl5wULL/k08LwNoJDYBvptfuYhaZWog+6Yjukh684M4G0TeymGCfi0NN kkAmisrWVpc66VIJFuXSfVDiZaLR3Xtb9+Vfm67B5pfu1mwhksw+X25Y/U2yJ3lLbeGpLP qPiMNtkC6qmFWoZtpEwVJquSqRxuDXVxHqZsQ7XGw0L4F7wYx/ggWYeZ2SG1KNaeuKyFcL 5KCrEYdz9UfJZP0qlRgvq+JUJ3GcQC66qcR93AitcBcqBWI6wHsTKB8yxTzYpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616746984; a=rsa-sha256; cv=none; b=gTlhdu0cEfWBmh7SZ4xxlNR2eSBJGUdXwr0NNt+gQ8vhnYoOhep/BJ4IxPlSXW7vJu21cx TZOjvBR1vBTwIK/K/lI58fg5gYFt/SiNUanHZBcZGRnK2hzOOlkoN0zXRq9fQX2AWXQP6o /E+SWKJpFJsCSqb35NHkoXt4Vnfzt3cYq39in6LZfJr2g3rag2vAnRh9E7nlVOeYinkQa+ Q4X9X7ws3wEoppEbTE9AL/r4oLuTfgR+r3fWxGGPZR2yfsTAQvNy3C/lKcXH8mBMKETjI+ wErmrz33mmxpQmqhi1sQW4UQ9H/GuijeN6LDIgT/YepQQJqwSaXhjRIdZ2QyZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=Hy4VCQXJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-science-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-science-bounces@gnu.org X-Migadu-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=Hy4VCQXJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-science-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-science-bounces@gnu.org X-Migadu-Queue-Id: 5CC5621FF0 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y11xYFkdmQDA Hi Ludo, Simon, all, > Will be back once I have some progress or more questions. It turns out the HPC cluster I have access to has user namespaces=20 activated \o/, so I'm looking into getting things running as an=20 unpriviliged user to show other people how useful Guix can be=20 (before approaching higher levels in the administration). I have been through the following notes: https://hpc.guix.info/blog/2017/09/reproducibility-and-root-privileges/ https://hpc.guix.info/blog/2017/10/using-guix-without-being-root/ http://issues.guix.gnu.org/34494 and am now following Guix's binary installation inside a user=20 namespace. After decompressing the binary distribution of guix=20 inside `~/local-guix`, my na=C3=AFve next step was `unshare -mrf chroot=20 ~/local-guix=20 gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16/bin/bash`. But my knowledge of linux namespaces is hindering my next steps=20 :). A few questions: - after setting $GUIX_PROFILE and sourcing=20 `/root/.config/guix/current`, running `guix` warns with: GC Warning: pthread_getattr_np or pthread_attr_getstack failed=20 for main thread GC Warning: Couldn't read /proc/stat The first warning I don't know what to do with. About the=20 second: should I be binding `/proc` somehow? - is it possible to create build users inside the user-namespaced=20 chroot? - last but not least, how would I go about sharing this setup with=20 other users on the cluster? Ideally I would like to have a=20 non-priviliged build daemon that other users can call on. (Is=20 there such a thing as kernel group namespaces?) Is this the right way to go for running guix without being root,=20 or is there a better way? Thanks for any guidance you might provide! Best, S=C3=A9bastien