From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2EcyDS2OK2HvtAAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 15:39:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mC3hCC2OK2GzDAAAB5/wlQ (envelope-from ) for ; Sun, 29 Aug 2021 13:39:57 +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 9324972D4 for ; Sun, 29 Aug 2021 15:39:56 +0200 (CEST) Received: from localhost ([::1]:37436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKL2Q-000763-Kn for larch@yhetil.org; Sun, 29 Aug 2021 09:39:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKL2E-00075v-3P for help-guix@gnu.org; Sun, 29 Aug 2021 09:39:42 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]:40515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKL2B-0003jU-RG for help-guix@gnu.org; Sun, 29 Aug 2021 09:39:41 -0400 Received: by mail-ej1-x62a.google.com with SMTP id lc21so24996181ejc.7 for ; Sun, 29 Aug 2021 06:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=MsTjviKgn2b1kzPHkaFYEJpbkgvCxpezrz9U+MGhhik=; b=NpcJHIrvQb5YPkKyUhBlaG7g8Y/8YELeMhmc0o8Z8Mp4bR682SZMKEDGijVasygddX 0g7Jppo2kxC3RIG4q3CzkkfCXC1r0MCxQn6okjRQ3XfHvGEwfn7nbZXEaCKHLLNJrkAU XMBZP/4hZ4EH3u2tl/o3lGPLffCpsgqeAVtJ700YrFoL9j8tqYRUe3Gl8x1AauBmH6BZ /ni3DGPAvBDdni3bo+IAZk54vTDpcfBK4+t1kH+/tVwfJnXDAIq6ZG3Q/QW7bx/wRTF8 6nb83hpwUc9zlHTR+hbtkSTk6RvU8sYclbLnwYwjqlZS7y+dywwewlPFC10tkaSNcOTT AJhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=MsTjviKgn2b1kzPHkaFYEJpbkgvCxpezrz9U+MGhhik=; b=Gd+yuFPqLhcv0U7Y/ZNuPJgJD35Eb107PVMuILs2RzzXTv3I0a9tVVc03xjTG320En O+VDQoQgp/QdjWKqChjn1EKBsMSpdVN1Y5uAnqe89O3EVUECiEtvhVrDbh3KZNMFCY0V 7fGRP/VqhrdCNCI7DK0oKN87SZaVPsoUHjDQ2r+856hqffveoLQ7xYoPZ/xVrErS2IdS /Z0rWOE6IVjYuajU93+eihjBadbVTUyicCopP4t+hLiWb6fP3JexkA8g3+ljjOBI0w8N UZzTXUR2cf0pX7w7TPPGI8IGqhQsQRcq245RGUl15KyVbZoz/S8gobN217FAZx3+n7TK 6tLQ== X-Gm-Message-State: AOAM531TyTuG0/RQvrBk/468Qrz6QoQKjeafPfzQzK+8Siz1Z/DtNL6Z FRhVIJb4Q0wqyrtDOUjlevWwwgqlomG0lImziQ533gWaas2n2A== X-Google-Smtp-Source: ABdhPJwozId+630CsDWyLer31JaehgRyW4QDTzJvoqcEJT0WY6DfD7wcTv8CStVo/x/F/dAFqFC+7tDp6sY5HNIHSec= X-Received: by 2002:a17:906:f15:: with SMTP id z21mr20312538eji.177.1630244377846; Sun, 29 Aug 2021 06:39:37 -0700 (PDT) MIME-Version: 1.0 From: Antwane Mason Date: Sun, 29 Aug 2021 09:39:26 -0400 Message-ID: Subject: Udev Rule Not Triggered To: help-guix@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=ad.mason1413@gmail.com; helo=mail-ej1-x62a.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" Content-Transfer-Encoding: quoted-printable 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: , 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=1630244396; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rz0NcMKCLvPLtnASLciMDjpDxEWmEblR3L5UP6vaqkk=; b=HdFyNTW+3kZAg7UpqYG2/VR1VSOOoU18MeavJYj7FKtuFEp0CHKdaYEXKDNe2Blh+HZ8Sf joiUGf+TzLBlu4+/VK/LrG2G1pe0jOENwaLUnVeTgyLlbuJfdLdw7NZu6XQAdrNvi1Nv6X 4MBQsi4fTyBX4Kstw/mxDCpFMI0sNhM97I97CxeZSWJcMRLIVNb4qnW3M+Dt0jo/5YIzh8 HynybNSW4lPmcVR9b68OR5v8qz3CUJRsDS4TJ33ZjHS7Js2hIJCFDu9rHaHRxMva1omRbq GsRhpApsFnJFYRPjatg/FUdavMq0036TM6MyOrf2AVULyO0jTPiLUl6gEoJzUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630244396; a=rsa-sha256; cv=none; b=QnVfMKhoSNCXRPQKdI/ufx0AvZQBagyQiWqMqJHTHTMVcEEDNNHhNuiZRQMvkEMQSZLTlM 1vuL8lH1QKP3kPjJ6RZRdcTU75I94croiduSZ36jiZj6Avf9fComYjSj9nimnS0mPSzD83 gqNNwDSbAmNGEgk9geQrKpuz7QJZZ3N0s+PruAcpxiY4N4CT7qqdXNXSQxhAD2k3gS0bPs 1PCAYAwH3qa5XpFVvNSuSSH3T+J2EY4Y/h/Jpz6GlZyczVVU5g8dfgIVLZXVb3n0vkxGNZ bBehyOrBupdU8gzMTm7MnNhoA4XlklctSwReJrajtw4efi6rU1pPBR15TXNXYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=NpcJHIrv; 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=NpcJHIrv; 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: 9324972D4 X-Spam-Score: 0.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: t4uQW3EckYUd I am trying to use my onlykey hardware based password manager with the onlykey-cli but am unable to manipulate the device without root permissions. After trying some debugging steps, I noticed that the udev rule that I defined in my guix system config is not being triggered. Can anyone spot anything wrong with my system configuration or is there something else that I am missing? Onlykey udev rule *--8<---------------cut here---------------start------------->8---* (define %onlykey-udev-rule (udev-rule "49-onlykey.rules" (string-append "ATTRS{idVendor}=3D=3D\"1d50\", ATTRS{idProduct}=3D=3D\"6= 0fc\", ENV{ID_MM_DEVICE_IGNORE}=3D\"1\"" "ATTRS{idVendor}=3D=3D\"1d50\", ATTRS{idProduct}=3D=3D\"6= 0fc\", ENV{MTP_NO_PROBE}=3D\"1\"" "SUBSYSTEMS=3D=3D\"usb\", ATTRS{idVendor}=3D=3D\"1d50\", ATTRS{idProduct}=3D=3D\"60fc\", MODE:=3D\"0666\"" "KERNEL=3D=3D\"ttyACM*\", ATTRS{idVendor}=3D=3D\"1d50\", ATTRS{idProduct}=3D=3D\"60fc\", MODE:=3D\"0666\"" ; Following is to automatically set current time for OTP ; "SUBSYSTEMS=3D=3D\"usb\", ATTRS{idVendor}=3D=3D\"1d50\"= , ATTRS{idProduct}=3D=3D\"60fc\", MODE:=3D\"0660\", GROUP:=3D\"onlykey\", RUN+=3D\"/usr/local/bin/onlykey-cli settime\"" ; "KERNEL=3D=3D\"ttyACM*\", ATTRS{idVendor}=3D=3D\"1d50\"= , ATTRS{idProduct}=3D=3D\"60fc\", MODE:=3D\"0660\", GROUP:=3D\"onlykey\", RUN+=3D\"/usr/local/bin/onlykey-cli settime\"" ))) *--8<---------------cut here---------------end--------------->8---* Included udev rule in services section of config *--8<---------------cut here---------------start------------->8---* (services (append (list (service gnome-desktop-service-type) (service xfce-desktop-service-type) (bluetooth-service #:auto-enable? #t) (udev-rules-service 'onlykey-usb %onlykey-udev-rule) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) %desktop-services)) *--8<---------------cut here---------------end--------------->8---* Udev debug info indicating that 49-onlykey.rules is not triggered. *--8<---------------cut here---------------start------------->8---antwane@wmguix /dev/usb$ sudo udevadm test $(udevadm info -q path -n /dev/bus/usb/001/009) calling: testversion 3.2.9This program is for debugging only, it does not run any programspecified by a RUN key. It may show incorrect results, becausesome values may be different, or not available at a simulation run.=3D=3D=3D trie on-disk =3D=3D=3Dtool version: 3file= size: 8270736 bytesheader size 80 bytesstrings 2110312 bytesnodes 6160344 bytesLoad module indextimestamp of '/gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/etc/udev/rules.d' changedReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/udev/rules.d/50= -udev-default.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-block.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-cdrom_id.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-drm.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-evdev.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-input-id.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-persistent-alsa.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-persistent-input.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-persistent-storage-tape.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-persistent-storage.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-persistent-v4l.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-sensor.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/60-serial.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/64-btrfs.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/70-joystick.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/70-mouse.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/70-touchpad.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/75-net-description.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/75-probe_mtd.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/78-sound-card.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/80-drivers.rulesReading rules file: /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/ude= v/rules.d/80-net-name-slot.rulesrules contain 24576 bytes tokens (2048 * 12 bytes), 9493 bytes strings1086 strings (16592 bytes), 683 de-duplicated (7503 bytes), 404 trie nodes usedIMPORT builtin 'usb_id' /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/udev/rules.d/50= -udev-default.rules:13IMPORT builtin 'hwdb' /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/= udev/rules.d/50-udev-default.rules:13MODE 0664 /gnu/store/aza259fsrb841zwb4rjzfzs2nrsf28f1-eudev-3.2.9/lib/udev/rules= .d/50-udev-default.rules:45handling device node '/dev/bus/usb/001/009', devnum=3Dc189:8, mode=3D0664, uid=3D0, gid=3D0preserve permissions /dev/bus/usb/001/009, 020664, uid=3D0, gid=3D0preserve already existing symlink '/dev/char/189:8' to '../bus/usb/001/009'created db file '/run/udev/data/c189:8' for '/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-3'ACTION=3DaddBUSNUM= =3D001DEVNAME=3D/dev/bus/usb/001/009DEVNUM=3D009DEVPATH=3D/devices/pci0000:= 00/0000:00:01.3/0000:03:00.0/usb1/1-3DEVTYPE=3Dusb_deviceDRIVER=3DusbID_BUS= =3DusbID_MODEL=3DONLYKEYID_MODEL_ENC=3DONLYKEYID_MODEL_FROM_DATABASE=3DOnly= Key Two-factor Authentication and Password SolutionID_MODEL_ID=3D60fcID_REVISION=3D0100ID_SERIAL=3DCRYPTOTRUST_ONLYKEY= _1000000000ID_SERIAL_SHORT=3D1000000000ID_USB_INTERFACES=3D:030101:030000:I= D_VENDOR=3DCRYPTOTRUSTID_VENDOR_ENC=3DCRYPTOTRUSTID_VENDOR_FROM_DATABASE=3D= OpenMoko, Inc.ID_VENDOR_ID=3D1d50MAJOR=3D189MINOR=3D8PRODUCT=3D1d50/60fc/100SUBSYSTEM= =3DusbTYPE=3D0/0/0USEC_INITIALIZED=3D20491075910Unload module index--8<---------------cut here---------------end--------------->8---* Regards, Antwane