From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qD5bGJQHLGFEhAEAgWs5BA (envelope-from ) for ; Mon, 30 Aug 2021 00:17:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KJgwFJQHLGGQMwAA1q6Kng (envelope-from ) for ; Sun, 29 Aug 2021 22:17:56 +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 9F03918ADA for ; Mon, 30 Aug 2021 00:17:55 +0200 (CEST) Received: from localhost ([::1]:35000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKT7i-0007vc-Pt for larch@yhetil.org; Sun, 29 Aug 2021 18:17:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKT7Z-0007vS-HB for help-guix@gnu.org; Sun, 29 Aug 2021 18:17:45 -0400 Received: from tobias.gr ([80.241.217.52]:33336) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKT7W-000328-N8 for help-guix@gnu.org; Sun, 29 Aug 2021 18:17:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=fAQlITanNU6gu +hGXu+ENrp+kJbPP92WQcaOLN7PiAw=; h=references:in-reply-to:subject:cc: to:from:date; d=tobias.gr; b=BTM6Obe92rM5klkBK2cob7JlPmVyf5TmT7DFAX8Hr ZtAq86MvUvyotT7mYDPFOfoBhkWHDZkMFOfF+t/0mYWfowzX3Xze3K07F9hMqQGb3W/L3B I5hPli0Ucil79rEPf2xNKXwK+8a+3124eJxZ8d/sEM4QY+ewawGFS41C6AZodYwavD2Q8p yKF4DORzAy0baMgRgsvL1f8wnGVN8phIwFJntYBw5xv7H07/YKI2cqu/w/2w1SRFIAZsoK +icIL/aH9mo9njB+I8QQrMICBpg6yCcjUyRsW8W09PxCOldWvoKgeLtBwgMAfdikX1QZEY ViH+7Mm9P93FcVxLZ+1zw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 6afe9af8; Sun, 29 Aug 2021 22:17:33 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 30 Aug 2021 00:17:32 +0200 From: Tobias Geerinckx-Rice To: Antwane Mason Cc: "pelzflorian (Florian Pelz)" , help-guix@gnu.org Subject: Re: Udev Rule Not Triggered In-Reply-To: References: <20210829135351.t74ak2maimzfckro@pelzflorian.localdomain> Message-ID: <69153a102313299ebb4ddf8293aea075@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=80.241.217.52; envelope-from=me@tobias.gr; helo=tobias.gr 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630275476; 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=fAQlITanNU6gu+hGXu+ENrp+kJbPP92WQcaOLN7PiAw=; b=Ssz2dSis8fgSRvbXWzC3+AaF9b3TcVlJxbfBLczIV46p/UCoRuhvb4N36Zf1OupCkJR7CX 3ri6XrBCosk04XsRYU8PJ0lIuBUdjOzna76HUAx+Kh/bGthxwe3+4q95s6ovr1N1ZafaP5 /ZHjxkvPWNyO+HuHGCf5o7ylL/doHXJIVRaeue9jbIbBVjyXRiK9aXcqxJ9YAClybDZ6Nq Jkxrenctxu1r63hv+maTt8bXBDKmTIdk64ACOhEk/kN9L4nK3LWMGRXpaG6bc6DX4wTiqW e3KAbmC9Mdc/5w3e5WsZdLEgPAGLC6OAEDNk8oY0innwcXrKoMXoE/lnSk8S+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630275476; a=rsa-sha256; cv=none; b=HdHjngYlUu8qvJku+WHJeRtQGbHSFjWZFGe5daaTVGiYdGzBbxONdPYOe1Twr+KbR5wDan DuUpl7ewoZ4mUdtbMvDDCDjt56XlX77z5p7zZOnerJahx0ElHLIgNCoNVYMhxsSv5usj9+ STlCnzufTkEOnboX2Vk6icun8wwIZji9/Uwp1fLfPUyDHovvDlteYhmhd+cTIoL4bEj/Aq QbFPahSG8rbnFUl9ItgGvIuZryN5jrQIAXGNXySRHZMa+SfsegbIsjj9Rn0oeEG6fBTGZP 5g93vuAp9SiesFL/vcgTCwdxy+vPk37bgeaIsMlFpK2i2Pa3VNBgtEbOlntaYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=BTM6Obe9; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=BTM6Obe9; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 9F03918ADA X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: GbQtgq2WxDtA Antwane, Great that you got it to work! There are some landmines left that I'd like to point out so they don't bite you later (what? they're mixed-metaphor cartoon landmines!): On 2021-08-29 16:01, Antwane Mason wrote: >> should use string-join instead of string-append > > Thanks for the suggestion, but I know that use of string-append is > correct > based on example code from > https://guix.gnu.org/manual/en/html_node/Base-Services.html. Yes, but *your* use of it isn't. :-) You didn't add any newlines so everything ends up on one line, which can't work [well]. > (uri > "https://raw.githubusercontent.com/M0Rf30/https://raw.githubusercontent.com/trustcrypto/trustcrypto.github.io/master/49-onlykey.rules") > (sha256 > (base32 "1pj9i4hp0d74073x1qqwigd0cyriamg65zmx2j98mi0k66qrhcxa")) This URL is bogus? It probably works for {you,now} because Guix is content-addressed and you've previously downloaded a file with that hash to your store. If it ever gets garbage collected, Guix will be unable to download again. I advise against using an external file for such a trivial rule at all, and simply fixing the string-append until it works (and the actual file contents look correct). Kind regards, T G-R Sent from a Web browser. Excuse or enjoy my brevity.