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 uHiLDEHYK2FKOwEAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 20:56:01 +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 iAI7CEHYK2HaJAAA1q6Kng (envelope-from ) for ; Sun, 29 Aug 2021 18:56:01 +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 70DDA16948 for ; Sun, 29 Aug 2021 20:56:00 +0200 (CEST) Received: from localhost ([::1]:48068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKPyI-0004Xx-8n for larch@yhetil.org; Sun, 29 Aug 2021 14:55:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKPxZ-0004Tk-Uv for help-guix@gnu.org; Sun, 29 Aug 2021 14:55:14 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:42744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKPxY-0002sP-7U for help-guix@gnu.org; Sun, 29 Aug 2021 14:55:13 -0400 Received: by mail-ed1-x52d.google.com with SMTP id z19so18231666edi.9 for ; Sun, 29 Aug 2021 11:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rV6MTGqWFBR9n4rJzHVloB5dE5EaBbJ3J0eShRRSFtg=; b=u//KD/bETTNJb0FhEQka9Qa315x7ZCDtpRkYB0WxDKh4vJFGotE13GpZSydYZsI90u DBnBnkicTEA/GO7NbOU6mZT5TeKTktqOvyX3CNR0cfzgXUz2Xwd/JtWL7GcoGgr4hai4 FmnXMwNzaz3rhWclIQv4iavIwds1E7BAFVaTegg/QPtVu1eAJhrYOuN+Cr4CyTXLeRUS vfUYGEdY9rpDkajSqVrpHxb/2YiZ8EIED9A1ek91C3zqqrkpqKJyPnGH1Qpiak8Ko0nw RP7k5QncucRrHddEyjDAzbATpGSHZNVAXz3mkYy5iUkr/O1UUdKzk8qEwOirXXAwUUO0 6O6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rV6MTGqWFBR9n4rJzHVloB5dE5EaBbJ3J0eShRRSFtg=; b=cWzGh+iX47ZSiuaMiHE/HX7DRQgqJgi8skSkTwKp7vWjaeS7mADl6CDOFyn4TcHOZk Ce9xwff/mf/Ae0MXrjE9/sbQQcziNHmNrVzBQkb9ndHfRQBpX+MDqlOxkqE5fwn4tU5/ WzauWxJfw3sN0AiBXZjU+Y9+qdY5bM5bcKnfkahl+xYI97+gag9/1YRa2funvCx0jQEl LhjfxL/5oL3KAc+CkbV0qmSDm4uRWPJifzqD7Yjnp4Ugp2AcEfwzboHQv76PveHWiVtl uzQ8TVme4pmr0cZe7Ep2HOQ0TL61tWV+86XDfUE034QzsumsIKRp8LEG04Gvh3AQ63K9 MvyQ== X-Gm-Message-State: AOAM530J9c0A2QPUA9JywwEMAGkGuEjMqn+yMN74D6MRIbnEByFxn9P/ 2wbUMKkcA3TAJbcIMjbmxFIZuR76Y2cK6h9nro4= X-Google-Smtp-Source: ABdhPJzw4qM/8+LxVUNtZUeym81gplJkot08QxaLXEnHWqpPVOj+wewe8vl8VtKP5D6Lykea4TSYAFSLsLloP2FreZI= X-Received: by 2002:aa7:d592:: with SMTP id r18mr20392305edq.317.1630263310631; Sun, 29 Aug 2021 11:55:10 -0700 (PDT) MIME-Version: 1.0 References: <20210829135351.t74ak2maimzfckro@pelzflorian.localdomain> <20210829142808.7wsitnwrmsxudynn@pelzflorian.localdomain> <20210829144200.3rzxztcm7q4z2hkq@pelzflorian.localdomain> <20210829172309.hidcy4pyqmzhksf6@pelzflorian.localdomain> In-Reply-To: <20210829172309.hidcy4pyqmzhksf6@pelzflorian.localdomain> From: Antwane Mason Date: Sun, 29 Aug 2021 14:54:59 -0400 Message-ID: Subject: Re: Udev Rule Not Triggered To: "pelzflorian (Florian Pelz)" Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=ad.mason1413@gmail.com; helo=mail-ed1-x52d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: , Cc: help-guix@gnu.org 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=1630263360; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=e77ck9qh7QqcKmzT9Rz1jZ8Z6EhD2jiPNDm9fIB4mNc=; b=LsAFhDkViJwRSqaKX5yihU737+0fK7SHfkEgo9labO0EguLzjeIWGC1YlWgfvemeRpip83 i6lJXM+ZKL37/akgRQNFdDBO8tvYsDsIj83d+miWg7uCxy3gKn9BHHI99Zs4OjlJejII9T 34r1ulHaeDmd9wKzl2jIrwq+o3N9Fy5tOnlShzaxM8KMKO+gh0rN12eTAhZR3OZnTsZruS l3E3Us6UAQbA652Pax0zxClRmLZFuIPatIvQPqZU0WYabfWNEH4Dp2VJQX+x+VII8sKHPJ a09ulf8NnWxNN627df8dZLfJt7VhChATt7OwimOo6UdPh3dKG+cZm/5ABCTveg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630263360; a=rsa-sha256; cv=none; b=dvhnemrnb0HTY8Dmhi0hLf98RX2WtuSWfkBz5ngBxfOBN41wT0RQFu7LJhxFUWBcFE60pn kR//lE8PUH+s7uQLff+Rl24n2qOt8esPkzauyL6x9jdkJWYQoi1rEyePKdOtdqpHICmoKJ 750L6hX9Ra6QhioyhAwNj3a/pQkkjUn1EhEvUPvPtdd0VgNqAjdgKmyRBuaMUluMD+UA2x dFDFRJq8S9Gn1kOoHLtflBBizKRRKSB1ElQq6slYEAUV3O7fc92lNtPn3rZLzYY/zATl8E 2TJ2t3CUFBcQRruFr1hP6PCMiuaOAjf2x9Y4RzjRTewre9OqyMTm96PD/BOQfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b="u//KD/bE"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 0.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b="u//KD/bE"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 70DDA16948 X-Spam-Score: 0.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5hizV5c8MhgF On Sun, Aug 29, 2021 at 1:23 PM pelzflorian (Florian Pelz) < pelzflorian@pelzflorian.de> wrote: > On Sun, Aug 29, 2021 at 11:44:50AM -0400, Antwane Mason wrote: > > I was able to at least confirm that the rule exists on the system despite > > not being run. I used "sudo herd rules udev" to find the store path where > > udev rules were and confirmed that 49-onlykey.rules is in > lib/udev/rules.d. > > Still can't figure out why it's not running though. > > Does > > less $(sudo herd rules udev)/lib/udev/rules.d/49-onlykey.rules > > show the same rules as what is described in your documentation (maybe > https://docs.crp.to/linux.html)? > > It appears so but to be completely safe, I pulled in the original rules file directly. *--8<---------------cut here---------------start------------->8--- (define %onlykey-udev-rule (file->udev-rule "49-onlykey.rules" (let ((version "v1.2.5")) (origin (method url-fetch) (uri "https://raw.githubusercontent.com/M0Rf30/https://raw.githubusercontent.com/trustcrypto/trustcrypto.github.io/master/49-onlykey.rules") (sha256 (base32 "1pj9i4hp0d74073x1qqwigd0cyriamg65zmx2j98mi0k66qrhcxa")))))) --8<---------------cut here---------------end--------------->8---* I also tried the following to see if setting the environment variable helps but onlykey-cli still not working without using sudo. UDEV_CONF_FILE=/gnu/store/7yncwxmnpcg5p4273xzmsc6axydfwm1v-udev-rules/lib/udev/rules.d sudo udevadm test $(udevadm info -q path -n /dev/bus/usb/001/005)