[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: udev-rules for my FST-01 gnuk security token
From: |
Chris Marusich |
Subject: |
Re: udev-rules for my FST-01 gnuk security token |
Date: |
Wed, 18 Jul 2018 23:57:05 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Arun Isaac <address@hidden> writes:
> I am trying to get my FST-01 gnuk security token working on
> GuixSD. According to their documentation
> (https://www.fsij.org/doc-gnuk/udev-rules.html), I need to add a custom
> udev-rule. I am trying to use the configuration shown below to achieve
> the same. But, I don't see any file by the name "60-gnupg.rules" created
> in my /run/current-system/profile/lib/udev/rules.d/. Am I doing
> something wrong or is my expectation incorrect? Has anyone successfully
> used a FST-01 gnuk security token in GuixSD?
>
> (use-modules (gnu))
>
> (define %gnuk-udev-rule
> (udev-rule
> "60-gnupg.rules"
> "ATTR{idVendor}==\"234b\", ATTR{idProduct}==\"0000\",
> ENV{ID_SMARTCARD_READER}=\"1\", ENV{ID_SMARTCARD_READER_DRIVER}=\"gnupg\""))
>
> (operating-system
> (host-name "adamantium")
> (timezone "Asia/Kolkata")
> (locale "en_US.utf8")
> (bootloader (bootloader-configuration
> (bootloader grub-bootloader)
> (target "/dev/sda")))
> (file-systems (cons (file-system
> (device "my-root")
> (mount-point "/")
> (type "ext4"))
> %base-file-systems))
> (users %base-user-accounts)
> (packages %base-packages)
> (services
> (modify-services %base-services
> (udev-service-type
> config =>
> (udev-configuration
> (inherit config)
> (rules
> (append (udev-configuration-rules config)
> (list %gnuk-udev-rule))))))))
>
I was able to reproduce your issue by using "guix system build" and
inspecting the profile of the built system. It's missing the udev rule
you added, like you said. What's more concerning is the fact that it's
missing the file "90-kvm.rules", which are supposed to be part of the
default rules included in our udev service (see gnu/services/base.scm).
Maybe it's a bug. Could you open a bug report by emailing address@hidden
--
Chris
signature.asc
Description: PGP signature
- udev-rules for my FST-01 gnuk security token, Arun Isaac, 2018/07/13
- Re: udev-rules for my FST-01 gnuk security token,
Chris Marusich <=
- Re: udev-rules for my FST-01 gnuk security token, Chris Marusich, 2018/07/25
- Re: udev-rules for my FST-01 gnuk security token, Arun Isaac, 2018/07/27
- Re: udev-rules for my FST-01 gnuk security token, Pierre Neidhardt, 2018/07/27
- Re: udev-rules for my FST-01 gnuk security token, Arun Isaac, 2018/07/29
- Re: udev-rules for my FST-01 gnuk security token, Arun Isaac, 2018/07/29