From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UNh6NHZBt2MxagEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 22:30:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0JRmNHZBt2MzNgEAauVa8A (envelope-from ) for ; Thu, 05 Jan 2023 22:30:30 +0100 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 A0CBD3CD20 for ; Thu, 5 Jan 2023 22:30:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDXoK-0007Sw-G2; Thu, 05 Jan 2023 16:30:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDXoI-0007SW-Hn for guix-patches@gnu.org; Thu, 05 Jan 2023 16:30:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pDXoI-0005VW-9K for guix-patches@gnu.org; Thu, 05 Jan 2023 16:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDXoI-0007xh-3z for guix-patches@gnu.org; Thu, 05 Jan 2023 16:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#49578] [PATCH] Add bolt Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Jan 2023 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49578 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: phodina Cc: Sarah Morgensen , 49578@debbugs.gnu.org Received: via spool by 49578-submit@debbugs.gnu.org id=B49578.167295414930522 (code B ref 49578); Thu, 05 Jan 2023 21:30:02 +0000 Received: (at 49578) by debbugs.gnu.org; 5 Jan 2023 21:29:09 +0000 Received: from localhost ([127.0.0.1]:53144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDXnR-0007wD-Ca for submit@debbugs.gnu.org; Thu, 05 Jan 2023 16:29:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDXnP-0007vs-7H for 49578@debbugs.gnu.org; Thu, 05 Jan 2023 16:29:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDXnJ-0005OQ-Hw; Thu, 05 Jan 2023 16:29:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=jX+eGV/0s2XTYJRxtE499G0Zf7xVWGuMT5+m65+31Sw=; b=c1CBIIZCoCOF4cxbqv4U 0DqlIGaTyWZpunDVnY7HRrYV0+5/q1xNeum2xsLUgOXbL94S11wD6AImgSCXXL1zgDHbY2hLLIYPP Hu/93CqbGmy3SWpV+fTZCvyD9FhFMRgYDigur6ZoqAeGdEXSxvR95lcSzo8tsSh5Cc++nI7BMoOQ7 O+MYtEblCy7NJRmqnvvXi1/6xtbQZE56QiDElbxBNdt5CoTB0lhug/BzLeMaCIRcIH35ljyvrvbC5 BeRY4BukmsUTg2djEz54jcAeZ0jSHihA4Q1EMVqllTvNJPkNDVDJ/SGsRIf4fQsBbyAM+H3lRO2c6 dko3MgFsC2IrXw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDXnH-0001PY-51; Thu, 05 Jan 2023 16:29:01 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <86mto4w0xw.fsf@mgsn.dev> Date: Thu, 05 Jan 2023 22:28:57 +0100 In-Reply-To: (phodina@protonmail.com's message of "Sun, 14 Aug 2022 22:00:32 +0000") Message-ID: <87eds83c2u.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672954230; a=rsa-sha256; cv=none; b=umgnKzUPKZJMyj8/bXi7hpwdia3Y2fL4kC1TAUpaZF4RGkAuZ6pYFyr3KEf5L05+5FudTZ MQWZL2e5oFXfBKr5rnBQ4susaX72dEsxQRwiZJw8TT2Jc30vX7k6/0mkjmi3/L9XEf1zdd GGGB3p2rGlH65VzlhHbHilzUcfDKV2bQFCydUjl/4gDXaZMHadzmvwZi/zFZBEvEqyme3l R+guC0P29yThW0M/dWg4titIo6JX2chFuRp+LRZUCCJjNJld/aOFSfkMT07edp0+C19Xt/ G/CKSMtyDJxWg+988AkamLPPji4uholMKmDTGE1WUIvjOAAFXWu19TJoq2Za6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=c1CBIIZC; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672954230; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jX+eGV/0s2XTYJRxtE499G0Zf7xVWGuMT5+m65+31Sw=; b=r9I7INoDN2ZdkFLCDZqwhjAcEjViS1MWGwmHBzpK52b3yDHNUXhSu5RsD/dYBAEKdOyms7 w9psTw4ns/1DoEH+Xrdm4/sx8l07+t4BiBADVzwx8D+uiSxCFgUEQkJXDVEgM0DKUcFvDh ba80iT/AkNYy154xR+qW6xWNj0R1EWRaXjZsD8ODvAMOKIkn+ubGZWuSratASwns2q63kH h+cTaS0UgySuxY34ZuQpF7Ed+VdFAufqrC3V3tUwG9ddk46BMFU2AaEz4qgvW47FsFc1Ff Ti1TvMHgCg95ZiBaKQSbAMt0FKSikYS4ptA/yI6QSUacePVTd3KRbcConZVIkg== X-Spam-Score: -2.76 X-Migadu-Queue-Id: A0CBD3CD20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=c1CBIIZC; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.76 X-TUID: RmKmqEJAPoeq Hi, Just noticed an issue: phodina skribis: > + (($ package) > + (with-imported-modules (source-module-closure > + '((gnu build shepherd))) > + (shepherd-service > + (documentation "Thunderbolt daemon") > + (provision '(thunderbolt)) > + (requirement '(networking)) > + (modules '((gnu build shepherd))) > + (start #~(make-forkexec-constructor/container > + (list #$(file-append package "/libexec/boltd")) =E2=80=98make-forkexec-constructor/container=E2=80=99 is deprecated in favo= r of the facilities in (guix least-authority). However, running boltd in a container might prevent it from accessing useful files or devices under /dev, /sys, or whatever. I recommend checking whether boltd can actually run in a container; you can strace it to get an idea of the files it needs to access. It needs to run as root anyway so perhaps running it in a container is not that important. Ludo=E2=80=99.