From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sE6tIdaec2LOeQEAbAwnHQ (envelope-from ) for ; Thu, 05 May 2022 11:54:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id t3acINaec2LvOgAAG6o9tA (envelope-from ) for ; Thu, 05 May 2022 11:54:30 +0200 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 DBA818BF0 for ; Thu, 5 May 2022 11:54:27 +0200 (CEST) Received: from localhost ([::1]:37306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmYBm-0003J1-F2 for larch@yhetil.org; Thu, 05 May 2022 05:54:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmXQb-0004Q4-PP for help-guix@gnu.org; Thu, 05 May 2022 05:05:41 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmXQZ-0001bv-SY for help-guix@gnu.org; Thu, 05 May 2022 05:05:41 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1651741534; cv=none; d=zohomail.com; s=zohoarc; b=H7ky9vh1bteTVjDZMe1ceN+d4VbitbyLlRtTjD7KkWXhvMoX6EZbP9eLxF5lobwPzWLimJ7ZdAd7vJ2VjG3RV5P7fPfrnpeoUAyEMMigDVUfMxlOyNLVeTDUYGM/19kmVZ5+M6zi+PedMciYOpIaNhFoYgeSX67e98TRMeAlaAA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651741534; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=yn8cIMqIUyWpzgItwckES8GhaiAy1sFHgeXRCUpSBKo=; b=oFcf6VEu2kyUXsuP1XbCZFwIEGxqNsxeSIiVFoIF0o4aNLYf+YEb1JlXu43SWwwlLMAdz5Yac3kA68fG2ErptCZjJ7vItS/e7B7YgDadE7CLYX5aua3cTyZfxQXuA04+NTtmJ8nuUvmKm+PSoCuPX6tdckevdKUpYfqlk4E9n+A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1651741534; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=yn8cIMqIUyWpzgItwckES8GhaiAy1sFHgeXRCUpSBKo=; b=GNyjBcYsMmG6bxmvrEcI66zBurkoZSpFpC3mbeZoypF979qSWAScveeT8Ai5u616 iR2fCYlLxXSIIh9KfmjdfbHiaZZv0HskeawJeUiTS0fd9oWIN8BSA+3uupNeY5lQpOg cLLwV4q53pvu9ypyl2Iyotoa1LDDD7VVEj4C3nxA= Received: from localhost (i5E862CF7.versanet.de [94.134.44.247]) by mx.zohomail.com with SMTPS id 165174153308675.36430378479747; Thu, 5 May 2022 02:05:33 -0700 (PDT) References: <87a6c6boqq.fsf@posteo.de> <87y1zq2wv2.fsf@elephly.net> <87ilqkykgv.fsf@posteo.de> User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus To: Mekeor Melire Cc: help-guix@gnu.org Subject: Re: A package search engine for a curated list of channels Date: Thu, 05 May 2022 11:01:37 +0200 In-reply-to: <87ilqkykgv.fsf@posteo.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87levguz6t.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651744470; 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=yn8cIMqIUyWpzgItwckES8GhaiAy1sFHgeXRCUpSBKo=; b=afXpAPqh8Q2NqAeamxEXPfkwDPx83axxiZpA0nZ1R2SODyMSnrhLXG05LVu67rL2ldv7zg vOs+HliVeIwVO0g99MeabrKsWx4hjR1/6VB3dXrF5P09EVmH3+XbQ9IZAlK6URhcFbyVOV LtrcoiIRxA6ndcmYMgxzqVJk6pLtrvaRCmbjcXK0ZdPOX1rPPgRvNUiso5Nw0FYmToifAt b56uZioYl+mkdPSExPi3iAjC1jDAhTlSX/rBAMtmwz7P/x9/qFoDNsfW8xEbA3TUTB6OmG KagLQuNqrCo21qbcOf1UUIEn3Lz581iIYQ6ihwt+sT4eO7A7I7rj0QI5MADsZw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1651744470; a=rsa-sha256; cv=pass; b=Gqo9GKh2UEiMfMwJu1A1JMH0qfhIScONscfmqCygegwwxqGkKqmEIadlBr8KazKwoPbc0E +rZlw5Ag+7yyC7Gxb0gUMjMV9i3+q7h46au9tZ903p+MPCiRcKBgok549eCUxBF31kCza5 BqcBKfsM5icRuzg7gQJ1bvy7zOgEIxdNuO9/1kHmGYGUBj47sE6L3w5KJhmKOVuhjJ+pkM LtstJTmb2bQdI9McjOc/whOGuBusD1NoPbywcXeRJ8ltChNc/4QhjTyIrhuCuRAUfrcp1U y9dr15EKUJwdo0X30uLrIfDgmmA/s7B3pHyvMYtDGtoDzK/D67Am6mPJNOGJNA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=GNyjBcYs; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=GNyjBcYs; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DBA818BF0 X-Spam-Score: -4.49 X-Migadu-Scanner: scn1.migadu.com X-TUID: dj4kVpb9coo9 Mekeor Melire writes: > An alternative would be to implement some kind of isolation. But > channels and package declarations are just scheme/guile code, so they > will probably always be able to run arbitrary commands on the server. Guile has some sandboxing features. It would be an option to evaluate channel modules in a restricted environment with (ice-9 sandbox). That would benefit all of Guix. > Another approach would be isolation. For each channel, we could run > hpcguix-web inside a Docker-container so that there's some isolation. > Then, we'd need to run another web-service which "bundles" the > packages.json files of all single-channel, dockerized hpcguix-web > instances. But: > > (1.) Does Docker really offer sufficient isolation? No more than =E2=80=9Cguix shell -C=E2=80=9D. There=E2=80=99s no good reas= on to use Docker when you already have Guix. The Docker service exists for when you have a Docker container image that you must use, not because its containerization is superior to =E2=80=9Cguix shell -C=E2=80=9D. --=20 Ricardo