From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 NcO1DZSJqGOoVQAAbAwnHQ (envelope-from ) for ; Sun, 25 Dec 2022 18:34:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WMkADZSJqGPAEgEA9RJhRA (envelope-from ) for ; Sun, 25 Dec 2022 18:34:12 +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 E44F241390 for ; Sun, 25 Dec 2022 18:34:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9Usu-0005Ra-Au; Sun, 25 Dec 2022 12:34: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 1p9Uss-0005RM-Qx for guix-patches@gnu.org; Sun, 25 Dec 2022 12:34: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 1p9Uss-0006E5-EJ for guix-patches@gnu.org; Sun, 25 Dec 2022 12:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9Uss-0007Yf-1P for guix-patches@gnu.org; Sun, 25 Dec 2022 12:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59683] [PATCH] gnu: Add bolt Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Dec 2022 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59683 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: "59683@debbugs.gnu.org" <59683@debbugs.gnu.org>, Florian Received: via spool by 59683-submit@debbugs.gnu.org id=B59683.167198963929045 (code B ref 59683); Sun, 25 Dec 2022 17:34:02 +0000 Received: (at 59683) by debbugs.gnu.org; 25 Dec 2022 17:33:59 +0000 Received: from localhost ([127.0.0.1]:50088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Usp-0007YP-El for submit@debbugs.gnu.org; Sun, 25 Dec 2022 12:33:59 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:32097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Usn-0007YB-MR for 59683@debbugs.gnu.org; Sun, 25 Dec 2022 12:33:58 -0500 Date: Sun, 25 Dec 2022 17:33:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1671989631; x=1672248831; bh=tFLrp6UxzQgT759Ab6BtaY+2YN/rh6lKO37kvm3fQ5s=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=vm6fCEfywUvPm8h72NzlmDqU1wvncB1iFun8jBcDVadXRgm1GKTVoQIGzAvbdkPRh yp03YTbi/mBxiTv7frAfkBHKC/Nzk9jA7LN8PL2zrFFEifKx3WfJODzdnRSyrwxu6l cENUwNkH1qukXCCz7RCxnZOKrzMNohp3n7JxLSla8joAva7hO8u1QDoptoplrN1AT7 SO3QEsw+gqoTSuUAYJMueWznwdcpTVJ+rkrVQ3Kjs2AQqfdZ5005HbagTy6ORPp3S2 gUa+LAGsoJ9ayIfLqRGB8y6e3fuf/ecHVNhRCnT+tisyDZZ8IlWBFPBW6Ny7Fli8uy /SpPuNuHBAd2Q== Message-ID: In-Reply-To: <87wn6fxxlf.fsf@gnu.org> References: <5255d8ae4c2abdb44b8f1f1cbf55c344e9486c13.1669735188.git.florhizome@posteo.net> <87zgbqrzxf.fsf_-_@gnu.org> <87y1r2m2fy.fsf@posteo.net> <87wn6fxxlf.fsf@gnu.org> Feedback-ID: 14143818:user:proton 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: , Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via 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=1671989651; a=rsa-sha256; cv=none; b=ODAovQ0g/Gb6T+79FuIkvqpK+uqVxWMZgfqMJCMc6K8SRl4hbyIAXvubJsCrh/RjeHjqHy sGDH/o3s7kH9Bm8tnZ78fVR148yRM3H2W1sV+F3GJQkLT+NZeyxad8uTzBJq1oWcfwCHwO bkOV1pZ1y+RqmjOaBDw1vbfOViyr8WJd6FvbA6S0Ensf7GsZZeUbnkKrqIjTw9Zvip+zCR jzM6M8TVeQiytP0UZXrK3W8IDaoSWYjlykjYS/vN+FZufTPV6XfuGahcr7Y0KH0x8+ysQF /IdzINWiyXXE+gCjr2wC+wp21lkyZy8wQDkL8pVNsmkBSV2ZwwuiJvXdtC+emg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=vm6fCEfy; 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=1671989651; h=from:from:sender:sender:reply-to: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=tFLrp6UxzQgT759Ab6BtaY+2YN/rh6lKO37kvm3fQ5s=; b=lqHTh2gVCEknePRFU5mLu8FPSUzg9q/pBoyppGF354F8PKd2GjYTs07OBufgToPtMh+eqX ws0sQP/zgylMerLkgVGwXjzplnI4KYFMpqJ6h0c4+j60NFKI0zN9wW+546kwndhQQOxhIS Pi73ibU8nMehEO5hheDyzhsix8db+PSJprJuZCQ4yZu8TRI3reNYYpnfuRLeKmqkPMGhJp +aGx1K4aXJXdr31BXDSa+R3Tq6sXu1NH/R4H8LLSdfVx85R20188FKYmybw1hPvcS9Brhf K9tD2YjbTJTdHFIDfF7MjtuM+UmGXze/wdrlKlP3nbu2da8MC/C3bSFqtv6EgA== X-Spam-Score: -4.02 X-Migadu-Queue-Id: E44F241390 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=vm6fCEfy; 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: -4.02 X-TUID: +IMelT/f/gp7 Hello Ludo=E2=80=99, > > I've tried to simplify the service. > >=20 > > However, for some reason the client boltctl does not work. It is restar= ted under different PID and the service does not fail. >=20 >=20 > Since it=E2=80=99s a D-Bus service, maybe we do not need to create a Shep= herd > service for boltd? In that case, it will be started on-demand by > dbus-daemon, for instance the first time someone runs =E2=80=98boltctl= =E2=80=99. >=20 > Is that acceptable or does it have to be started at boot time? Not sure about that. I'll ask Christian Kellner (author of the project). The issue is that user is able to define if the device is allowed to connec= t or not. And my assumption is that this is the knowledge of the daemon. So it would have to be started by some udev event that sends dbus-event. Or maybe the "IDs" of the devices are stored in the Thunderbolt controller = (I'm not familar with the specs either) and it's done transparently. =20 > >=20 > > $ ls /var/log/bolt* > > ls: cannot access '/var/log/bolt*': No such file or directory >=20 >=20 > Perhaps /var/log/messages has details? Not sure the content of the '/var/log/messages' is useful: Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been started. Dec 25 13:56:48 localhost shepherd[1]: Service nix-daemon has been started. Dec 25 13:56:48 localhost shepherd[1]: Respawning bolt. Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been started. Dec 25 13:56:48 localhost shepherd[1]: Respawning bolt. Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been started. Dec 25 13:56:48 localhost shepherd[1]: Respawning bolt. Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been started. Dec 25 13:56:48 localhost shepherd[1]: Respawning bolt. Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been started. Dec 25 13:56:48 localhost shepherd[1]: Respawning bolt. Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been started. Dec 25 13:56:48 localhost shepherd[1]: Respawning bolt. Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been started. Dec 25 13:56:48 localhost shepherd[1]: Service bolt has been disabled. Dec 25 13:56:48 localhost shepherd[1]: (Respawning too fast.) ---- Petr