NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.3k stars 13.54k forks source link

acsccid-1.1.8 driver for 072F/9000 (ACS ACR38U) card reader only works in debian-latest distrobox container, but not in NixOS 24.05 host #290662

Closed MarkRijckenberg closed 6 months ago

MarkRijckenberg commented 6 months ago

Describe the bug

NixOS 24.05 desktop PC can detect, but cannot enable externally connected ACR38 AC1038-based Smart Card Reader after starting firefox-esr web browser

Steps To Reproduce

Steps to reproduce the behavior:

  1. insert Belgian electronic identity card into ACR38 AC1038-based Smart Card/eid Reader
  2. Connect eid card reader to PC via USB-A.
  3. turn on PC
  4. Start firefox-esr webbrowser in NixOS 24.05 (unstable)
  5. Go to https://www.cm.be/en and try to authenticate using smart card/eid card reader
  6. Error occurs "Login failed"

I have been able to reproduce this issue on both my desktop PC and laptop.

Expected behavior

Starting firefox-esr webbrowser on NixOS host should trigger start of following pcsclite process, but the pcsclite process is never triggered on the NixOS host

⋉ ps -aux|grep pcsc
root        5546  0.1  0.0 404448  7296 ?        Ssl  17:07   0:00 /nix/store/pkw8q8vf74c2mlj3ir51aafqjmz5q7ia-pcsclite-with-polkit-2.0.1/bin/pcscd -f -x -c /nix/store/38wcpbh4yss3vh35vrazm1wbns0vld61-reader.conf

Green light on external eid card reader (ACR38U card reader connected via USB-A) should turn on and remain active, after pcsclite process starts running in the background. When light is green on eid card reader, card reader can be used to authenticate on Belgian government websites. (like www.cm.be)

NixOS configuration:

Following lines are enabled in my flake configuration:

services.pcscd.enable = true;
services.pcscd.plugins = [ pkgs.acsccid pkgs.ccid pkgs.libacr38u pkgs.scmccid ];
⋉ lsusb |grep ACR38
Bus 001 Device 002: ID 072f:9000 Advanced Card Systems, Ltd ACR38 AC1038-based Smart Card Reader

⋉ firefox-esr --version
Mozilla Firefox 115.8.0esr

⋉ nix --version
nix (Nix) 2.18.1

⋉ nix-env --version
nix-env (Nix) 2.18.1

⋉ nix-store --query --requisites $(which firefox-esr) |grep pcsc
/nix/store/13mc0s558v8v4yycrf5liirxkhm7z29m-pcsclite-2.0.1-lib

⋉ nix-store --query --requisites $(which pcscd) |grep polkit
/nix/store/dy8nr46mh2dngj70rlnwmalgkkn1v5j6-polkit-123
/nix/store/pkw8q8vf74c2mlj3ir51aafqjmz5q7ia-pcsclite-with-polkit-2.0.1

           ▜███▙       ▜███▙▟███▛             OS: NixOS 24.05.20240221.0e74ca9  
            ▜███▙       ▜██████▛              Host: Micro-Star International Co 
     ▟█████████████████▙ ▜████▛     ▟▙        Kernel: 6.7.5 
    ▟███████████████████▙ ▜███▙    ▟██▙       Uptime: 43 mins 
           ▄▄▄▄▖           ▜███▙  ▟███▛       Packages: 1728 (nix-system), 3600 
          ▟███▛             ▜██▛ ▟███▛        Shell: bash 5.2.26 
         ▟███▛               ▜▛ ▟███▛         Resolution: 2560x1440 
▟███████████▛                  ▟██████████▙   DE: Cinnamon 6.0.4 (Wayland) 
▜██████████▛                  ▟███████████▛   Theme: Mint-L-Dark [GTK2/3] 
      ▟███▛ ▟▙               ▟███▛            Icons: Numix-Circle-Light [GTK2/3 
     ▟███▛ ▟██▙             ▟███▛             Terminal: .gnome-terminal 
    ▟███▛  ▜███▙           ▝▀▀▀▀              CPU: AMD Ryzen 7 7800X3D (16) @ 5 
    ▜██▛    ▜███▙ ▜██████████████████▛        GPU: NVIDIA GeForce RTX 4070 
     ▜▛     ▟████▙ ▜████████████████▛         GPU: AMD ATI Raphael 
           ▟██████▙       ▜███▙               Memory: 2556MiB / 63487MiB 

Additional context

When I follow the same procedure, but launch firefox-esr inside a Debian bookworm distrobox container, where NixOS is the host, then the pcsclite process is started and the eid card reader functions normally. So the card reader is not faulty.

Notify maintainers

@SuperSandro2000 @StarGate01 @domenkozar @wegank @Mindavi @stephank

Metadata

⋉ nix-shell -p nix-info --run "nix-info -m"

Add a :+1: reaction to issues you find important.

SuperSandro2000 commented 6 months ago

What says dmesg and journald -u pcscd -e about this?

MarkRijckenberg commented 6 months ago

dmesg output:

[  106.422522] usb 1-6: new full-speed USB device number 3 using xhci_hcd
[  106.725221] usb 1-6: New USB device found, idVendor=072f, idProduct=9000, bcdDevice= 1.00
[  106.725226] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  106.725227] usb 1-6: Product: ACR38 USB Reader         
[  106.725229] usb 1-6: Manufacturer: ACS      

journald -u pcscd -e :

⋉ journald The program 'journald' is currently not installed. It is provided by several packages. You can install it by typing one of the following: nix-env -iA nixpkgs.

Or run it once with: nix-shell -p --run 'journald ...'

journalctl |grep pcsc

⋉ journalctl  |grep pcsc
Feb 13 10:42:47 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 13 13:23:45 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 13 20:53:15 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: /run/host/run/pcscd/pcscd.comm
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: + container_socket=/run/pcscd/pcscd.comm
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: + '[' '!' -L /run/pcscd/pcscd.comm ']'
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: + rm -f /run/pcscd/pcscd.comm
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: ++ dirname /run/pcscd/pcscd.comm
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: + mkdir -p /run/pcscd
Feb 14 21:57:35 ulysses-desktop debian-latest[47066]: + ln -s /run/host/run/pcscd/pcscd.comm /run/pcscd/pcscd.comm
Feb 14 22:01:42 ulysses-desktop sudo[58548]:  ulysses : TTY=pts/0 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/nala install libpcsclite1
Feb 14 22:01:43 ulysses-desktop sudo[58554]:  ulysses : TTY=pts/0 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/nala install pcscd
Feb 14 22:01:44 ulysses-desktop sudo[58561]:  ulysses : TTY=pts/0 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/nala install pcsc-tools
Feb 14 22:04:53 ulysses-desktop sudo[62700]:  ulysses : TTY=pts/0 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/nala install libpcsclite1
Feb 14 22:04:55 ulysses-desktop sudo[62707]:  ulysses : TTY=pts/0 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/nala install pcscd
Feb 14 22:04:56 ulysses-desktop sudo[62715]:  ulysses : TTY=pts/0 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/nala install pcsc-tools
Feb 14 22:05:42 ulysses-desktop sudo[62793]:  ulysses : TTY=pts/0 ; PWD=/run/host/etc/nixos/scripts ; USER=root ; COMMAND=/usr/bin/apt install eid-mw eid-viewer firefox-esr libacsccid1 libccid libpcsclite1 pcscd pcsc-tools
Feb 15 01:01:15 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 15 10:17:43 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 15 13:01:05 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 15 23:42:03 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 16 19:17:06 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 16 19:17:49 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 16 19:37:22 ulysses-desktop debian-latest[9874]: /run/host/run/pcscd/pcscd.comm
Feb 16 19:37:22 ulysses-desktop debian-latest[9874]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 16 19:37:22 ulysses-desktop debian-latest[9874]: + container_socket=/run/pcscd/pcscd.comm
Feb 16 19:37:22 ulysses-desktop debian-latest[9874]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 16 19:45:26 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 16 19:46:08 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 17 00:18:48 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 17 10:36:58 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 17 17:10:03 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 17 21:16:27 ulysses-desktop debian-latest[10078]: /run/host/run/pcscd/pcscd.comm
Feb 17 21:16:27 ulysses-desktop debian-latest[10078]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 17 21:16:27 ulysses-desktop debian-latest[10078]: + container_socket=/run/pcscd/pcscd.comm
Feb 17 21:16:27 ulysses-desktop debian-latest[10078]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 17 23:41:39 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 19 16:19:49 ulysses-desktop debian-latest[8205]: /run/host/run/pcscd/pcscd.comm
Feb 19 16:19:49 ulysses-desktop debian-latest[8205]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 19 16:19:49 ulysses-desktop debian-latest[8205]: + container_socket=/run/pcscd/pcscd.comm
Feb 19 16:19:49 ulysses-desktop debian-latest[8205]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 19 16:23:50 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 19 16:32:00 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 19 18:34:18 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 19 18:41:56 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 19 18:49:26 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 19 19:01:16 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 19 20:38:36 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 20 00:01:41 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 22 16:28:48 ulysses-desktop debian-latest[26041]: /run/host/run/pcscd/pcscd.comm
Feb 22 16:28:48 ulysses-desktop debian-latest[26041]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 22 16:28:48 ulysses-desktop debian-latest[26041]: + container_socket=/run/pcscd/pcscd.comm
Feb 22 16:28:48 ulysses-desktop debian-latest[26041]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 22 16:41:05 ulysses-desktop pcscd[29792]: debuglog.c:394:DebugLogSetLevel() debug level=debug
Feb 22 16:41:47 ulysses-desktop pcscd[29976]: debuglog.c:394:DebugLogSetLevel() debug level=debug
Feb 22 16:41:53 ulysses-desktop pcscd[30254]: debuglog.c:394:DebugLogSetLevel() debug level=debug
Feb 22 16:42:22 ulysses-desktop sudo[30371]: ulysses : TTY=/dev/pts/3 ; PWD=/nix/store/b83wld13z1vixggrdsdlksd9m1xidc9i-user-environment/bin ; USER=root ; COMMAND=/nix/store/b83wld13z1vixggrdsdlksd9m1xidc9i-user-environment/bin/pcscd -a -d -f
Feb 22 16:42:22 ulysses-desktop pcscd[30380]: debuglog.c:394:DebugLogSetLevel() debug level=debug
Feb 22 17:01:03 ulysses-desktop sudo[41488]:  ulysses : TTY=pts/4 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/apt install libpcsclite1
Feb 22 17:01:17 ulysses-desktop sudo[41579]:  ulysses : TTY=pts/4 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/apt install pcscd
Feb 22 17:01:17 ulysses-desktop sudo[41585]:  ulysses : TTY=pts/4 ; PWD=/tmp ; USER=root ; ENV=DEBIAN_FRONTEND=noninteractive ; COMMAND=/usr/bin/apt install pcsc-tools
Feb 22 17:04:31 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 22 17:07:35 ulysses-desktop debian-latest[5004]: /run/host/run/pcscd/pcscd.comm
Feb 22 17:07:35 ulysses-desktop debian-latest[5004]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 22 17:07:35 ulysses-desktop debian-latest[5004]: + container_socket=/run/pcscd/pcscd.comm
Feb 22 17:07:35 ulysses-desktop debian-latest[5004]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 22 17:10:48 ulysses-desktop systemd[1]: pcscd.service: Deactivated successfully.
Feb 22 17:12:41 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 22 17:14:30 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 22 17:16:20 ulysses-desktop debian-latest[3896]: /run/host/run/pcscd/pcscd.comm
Feb 22 17:16:20 ulysses-desktop debian-latest[3896]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 22 17:16:20 ulysses-desktop debian-latest[3896]: + container_socket=/run/pcscd/pcscd.comm
Feb 22 17:16:20 ulysses-desktop debian-latest[3896]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 22 17:17:37 ulysses-desktop systemd[1]: pcscd.service: Deactivated successfully.
Feb 22 17:41:23 ulysses-desktop systemd[1]: pcscd.service: Deactivated successfully.
Feb 22 17:52:40 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
Feb 22 20:56:39 ulysses-desktop debian-latest[9872]: /run/host/run/pcscd/pcscd.comm
Feb 22 20:56:39 ulysses-desktop debian-latest[9872]: ++ printf %s /run/host/run/pcscd/pcscd.comm
Feb 22 20:56:39 ulysses-desktop debian-latest[9872]: + container_socket=/run/pcscd/pcscd.comm
Feb 22 20:56:39 ulysses-desktop debian-latest[9872]: + '[' '!' -S /run/pcscd/pcscd.comm ']'
Feb 22 20:57:50 ulysses-desktop systemd[1]: pcscd.service: Deactivated successfully.
Feb 22 22:00:18 ulysses-desktop systemd[1]: pcscd.socket: Deactivated successfully.
MarkRijckenberg commented 6 months ago
⋉ systemctl status pcscd 
○ pcscd.service - PC/SC Smart Card Daemon
     Loaded: loaded (/etc/systemd/system/pcscd.service; linked; preset: enabled)
    Drop-In: /nix/store/hr2caavpwfcqzq626r5wk0q7ag6j0nxq-system-units/pcscd.service.d
             └─overrides.conf
     Active: inactive (dead)
TriggeredBy: ● pcscd.socket
       Docs: man:pcscd(8)
SuperSandro2000 commented 6 months ago

What's journalctl -u pcscd -e saying? The daemon is somehow crashing and the grep didn't include why.

MarkRijckenberg commented 6 months ago

The pcscd daemon is only triggered/launched after starting firefox-esr in the debian-latest podman container, never on the NixOS host. The journalctl |grep pcsc output above was only thanks to the testing in the debian-latest container. The Terminal output says nothing about the behavior on the host itself. On the host itself, there is no output at all, if I only test the eid card reader on NixOS itself. After restarting the PC, inserting the eid card in the eid reader, connecting the reader to the PC and launching firefox-esr in NixOS, and running journalctl -u pcscd -e , I get nothing in the Terminal output. So it is indeed tough to solve....

⋉ journalctl -u pcscd -b
-- No entries --

⋉ journalctl -u pcscd -e
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
-- No entries --
MarkRijckenberg commented 6 months ago

Here is the output when I try to launch pcscd manually:

⋉ sudo /etc/profiles/per-user/ulysses/bin/pcscd --foreground --debug --apdu 
00000000 [140715039545664] debuglog.c:394:DebugLogSetLevel() debug level=debug
00000006 [140715039545664] debuglog.c:415:DebugLogSetCategory() Debug options: APDU
00000049 [140715039545664] configfile.l:293:DBGetReaderListDir() Parsing conf directory: /etc
00000030 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: login.defs
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: dbus-1
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: qemu
00000003 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/subuid
00000015 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: inputrc
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: grub.d
00000001 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/subgid
00000010 [140715039545664] configfile.l:338:DBGetReaderListDir() Skipping hidden file: .updated
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: modprobe.d
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: shells
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: hosts
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: nscd.conf
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: ssh
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: X11
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: zoneinfo
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: ..
00000001 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/sudoers
00000008 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/sudoers: root
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/sudoers: (
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/sudoers: )
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/sudoers: ALL:ALL
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/sudoers: %
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/sudoers: wheel
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/sudoers: (
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/sudoers: )
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/sudoers: ALL:ALL
00000003 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/shadow
00000007 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/shadow: nm-iodine:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/shadow: systemd-oom:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/shadow: nixbld12:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/shadow: nixbld24:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/shadow: systemd-timesync:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 6 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 6 in /etc/shadow: messagebus:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 7 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 7 in /etc/shadow: nixbld18:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 8 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 8 in /etc/shadow: nixbld13:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 9 in /etc/shadow: !
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 9 in /etc/shadow: nixbld4:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 10 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 10 in /etc/shadow: systemd-network:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 11 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 11 in /etc/shadow: nixbld23:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/shadow: nixbld28:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 13 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 13 in /etc/shadow: systemd-coredump:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow: $
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow: root:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow: 8lItOVjzoOwzvJ4t
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/shadow: nixbld6:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 16 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 16 in /etc/shadow: nixbld32:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/shadow: polkituser:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/shadow: nixbld7:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/shadow: lightdm:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/shadow: nixbld14:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/shadow: nixbld9:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/shadow: nixbld22:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/shadow: nixbld26:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/shadow: nixbld11:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/shadow: nixbld5:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/shadow: nixbld17:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/shadow: colord:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/shadow: nixbld1:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/shadow: nixbld29:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/shadow: nixbld10:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/shadow: nixbld8:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/shadow: cups:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/shadow: systemd-resolve:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/shadow: !
00000006 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/shadow: nixbld15:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/shadow: nixbld30:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/shadow: nixbld25:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/shadow: !
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/shadow: nixbld19:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/shadow: nixbld20:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow: ulysses:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow: $
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow: 7.Hy6K5UTs9y.21z
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/shadow: nm-openvpn:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/shadow: nixbld2:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/shadow: nobody:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/shadow: nixbld31:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/shadow: nixbld16:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/shadow: nscd:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/shadow: nixbld21:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/shadow: nixbld3:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/shadow: rtkit:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/shadow: nixbld27:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/shadow: qemu-libvirtd:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 51 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 51 in /etc/shadow: geoclue:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 52 in /etc/shadow: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 52 in /etc/shadow: fwupd-refresh:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 53 in /etc/shadow: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 53 in /etc/shadow: avahi:
00000004 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: default
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: locale.conf
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: chromium
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: man_db.conf
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: binfmt.d
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: alsa
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: protocols
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: localtime
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: UPower
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: static
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: services
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: nix
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: ipsec.d
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: netgroup
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: pki
00000003 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: profiles
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: fwupd
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: udisks2
00000002 [140715039545664] configfile.l:338:DBGetReaderListDir() Skipping hidden file: .pwd.lock
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: containers
00000002 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/resolv.conf
00000007 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/resolv.conf: nameserver
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/resolv.conf: nameserver
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/resolv.conf: options
00000004 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: nixos
00000002 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/adjtime
00000007 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/adjtime: 0.000000
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/adjtime: 0.000000
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/adjtime: 1708710918
00000003 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: systemd
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: mtab
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: lightdm
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: resolvconf.conf
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: modules-load.d
00000002 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/passwd
00000010 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/passwd: root:x:0:0:System
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/passwd: messagebus:x:4:4:D-Bus
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/passwd: message
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/passwd: daemon
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/passwd: polkituser:x:28:997:PolKit
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/passwd: cups:x:36:20:CUPS
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/passwd: services:/var/empty:/run/current-system/sw/bin/nologin
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/passwd: lightdm:x:78:78::/var/lib/lightdm:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 6 in /etc/passwd: systemd-coredump:x:151:995::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 7 in /etc/passwd: systemd-network:x:152:152::/var/empty:/run/current-system/sw/bin/nologin
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 8 in /etc/passwd: systemd-resolve:x:153:153::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 9 in /etc/passwd: systemd-timesync:x:154:154::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 10 in /etc/passwd: nm-openvpn:x:217:217::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 11 in /etc/passwd: qemu-libvirtd:x:301:301::/var/empty:/run/current-system/sw/bin/nologin
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/passwd: geoclue:x:992:991:Geoinformation
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 13 in /etc/passwd: fwupd-refresh:x:993:992::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/passwd: avahi:x:994:993:avahi-daemon
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/passwd: separation
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/passwd: systemd-oom:x:995:994:systemd-oomd
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/passwd: user:/var/empty:/run/current-system/sw/bin/nologin
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 16 in /etc/passwd: rtkit:x:996:996:RealtimeKit
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/passwd: nscd:x:997:998::/var/empty:/run/current-system/sw/bin/nologin
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/passwd: nm-iodine:x:998:57::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/passwd: colord:x:999:999::/var/lib/colord:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/passwd: ulysses:x:1000:100:user:/home/ulysses:/run/current-system/sw/bin/bash
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/passwd: nixbld1:x:30001:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/passwd: nixbld2:x:30002:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/passwd: nixbld3:x:30003:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/passwd: nixbld4:x:30004:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/passwd: nixbld5:x:30005:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/passwd: nixbld6:x:30006:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/passwd: nixbld7:x:30007:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/passwd: nixbld8:x:30008:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/passwd: user
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/passwd: nixbld9:x:30009:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/passwd: nixbld10:x:30010:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/passwd: nixbld11:x:30011:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/passwd: nixbld12:x:30012:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/passwd: nixbld13:x:30013:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/passwd: user
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/passwd: nixbld14:x:30014:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/passwd: nixbld15:x:30015:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/passwd: nixbld16:x:30016:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/passwd: nixbld17:x:30017:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/passwd: nixbld18:x:30018:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/passwd: nixbld19:x:30019:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/passwd: user
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/passwd: nixbld20:x:30020:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/passwd: nixbld21:x:30021:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/passwd: user
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/passwd: nixbld22:x:30022:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/passwd: nixbld23:x:30023:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/passwd: nixbld24:x:30024:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/passwd: nixbld25:x:30025:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/passwd: nixbld26:x:30026:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/passwd: nixbld27:x:30027:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/passwd: nixbld28:x:30028:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/passwd: nixbld29:x:30029:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/passwd: user
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/passwd: nixbld30:x:30030:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 51 in /etc/passwd: nixbld31:x:30031:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 51 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 52 in /etc/passwd: nixbld32:x:30032:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 52 in /etc/passwd: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 53 in /etc/passwd: nobody:x:65534:65534:Unprivileged
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 53 in /etc/passwd: (
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 53 in /etc/passwd: don
00000004 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: NetworkManager
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: xdg
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: host.conf
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: nsswitch.conf
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: fstab
00000003 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/resolv.conf.bak
00000009 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: fail2ban
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: fuse.conf
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: hostname
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: bashrc
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: .
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: avahi
00000001 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/printcap
00000010 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/passwd-
00000008 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/passwd-: root:x:0:0:System
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/passwd-: messagebus:x:4:4:D-Bus
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/passwd-: message
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/passwd-: daemon
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/passwd-: polkituser:x:28:997:PolKit
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/passwd-: cups:x:36:20:CUPS
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/passwd-: services:/var/empty:/run/current-system/sw/bin/nologin
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/passwd-: lightdm:x:78:78::/var/lib/lightdm:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 6 in /etc/passwd-: systemd-journal-gateway:x:110:110::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 7 in /etc/passwd-: systemd-coredump:x:151:995::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 8 in /etc/passwd-: systemd-network:x:152:152::/var/empty:/run/current-system/sw/bin/nologin
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 9 in /etc/passwd-: systemd-resolve:x:153:153::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 10 in /etc/passwd-: systemd-timesync:x:154:154::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 11 in /etc/passwd-: nm-openvpn:x:217:217::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/passwd-: systemd-oom:x:995:994:systemd-oomd
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/passwd-: user:/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 13 in /etc/passwd-: rtkit:x:996:996:RealtimeKit
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/passwd-: nscd:x:997:998::/var/empty:/run/current-system/sw/bin/nologin
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/passwd-: nm-iodine:x:998:57::/var/empty:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 16 in /etc/passwd-: colord:x:999:999::/var/lib/colord:/run/current-system/sw/bin/nologin
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/passwd-: ulysses:x:1000:100:ulysses:/home/ulysses:/run/current-system/sw/bin/bash
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/passwd-: nixbld1:x:30001:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/passwd-: nixbld2:x:30002:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/passwd-: user
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/passwd-: nixbld3:x:30003:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/passwd-: nixbld4:x:30004:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/passwd-: nixbld5:x:30005:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/passwd-: nixbld6:x:30006:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/passwd-: nixbld7:x:30007:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/passwd-: nixbld8:x:30008:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/passwd-: nixbld9:x:30009:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/passwd-: nixbld10:x:30010:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/passwd-: nixbld11:x:30011:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/passwd-: nixbld12:x:30012:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/passwd-: nixbld13:x:30013:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/passwd-: nixbld14:x:30014:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/passwd-: nixbld15:x:30015:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/passwd-: nixbld16:x:30016:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/passwd-: nixbld17:x:30017:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/passwd-: nixbld18:x:30018:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/passwd-: nixbld19:x:30019:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/passwd-: nixbld20:x:30020:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/passwd-: nixbld21:x:30021:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/passwd-: nixbld22:x:30022:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/passwd-: nixbld23:x:30023:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/passwd-: nixbld24:x:30024:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/passwd-: nixbld25:x:30025:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/passwd-: nixbld26:x:30026:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/passwd-: user
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/passwd-: nixbld27:x:30027:30000:Nix
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/passwd-: user
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/passwd-: nixbld28:x:30028:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/passwd-: user
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/passwd-: nixbld29:x:30029:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/passwd-: nixbld30:x:30030:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/passwd-: nixbld31:x:30031:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/passwd-: nixbld32:x:30032:30000:Nix
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/passwd-: user
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/passwd-: nobody:x:65534:65534:Unprivileged
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/passwd-: (
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/passwd-: don
00000004 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/shadow-
00000007 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/shadow-: nm-iodine:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/shadow-: systemd-oom:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/shadow-: nixbld12:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/shadow-: nixbld24:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/shadow-: systemd-timesync:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 6 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 6 in /etc/shadow-: messagebus:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 7 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 7 in /etc/shadow-: nixbld18:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 8 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 8 in /etc/shadow-: nixbld13:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 9 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 9 in /etc/shadow-: nixbld4:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 10 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 10 in /etc/shadow-: systemd-network:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 11 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 11 in /etc/shadow-: nixbld23:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/shadow-: nixbld28:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 13 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 13 in /etc/shadow-: systemd-coredump:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow-: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow-: root:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow-: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow-: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/shadow-: EfGyCKhyh7IymXQy
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/shadow-: nixbld6:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 16 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 16 in /etc/shadow-: nixbld32:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/shadow-: polkituser:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/shadow-: nixbld7:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/shadow-: !
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/shadow-: lightdm:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/shadow-: nixbld14:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/shadow-: nixbld9:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/shadow-: nixbld22:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/shadow-: nixbld26:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/shadow-: nixbld11:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/shadow-: nixbld5:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/shadow-: nixbld17:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/shadow-: colord:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/shadow-: nixbld1:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/shadow-: !
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/shadow-: nixbld29:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/shadow-: nixbld10:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/shadow-: nixbld8:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/shadow-: cups:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/shadow-: systemd-resolve:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/shadow-: nixbld15:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/shadow-: nixbld30:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/shadow-: nixbld25:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/shadow-: nixbld19:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/shadow-: nixbld20:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow-: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow-: ulysses:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow-: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow-: $
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/shadow-: 7.Hy6K5UTs9y.21z
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/shadow-: nm-openvpn:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/shadow-: nixbld2:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/shadow-: nobody:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/shadow-: nixbld31:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/shadow-: !
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/shadow-: nixbld16:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 45 in /etc/shadow-: nscd:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/shadow-: !
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 46 in /etc/shadow-: nixbld21:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 47 in /etc/shadow-: nixbld3:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 48 in /etc/shadow-: rtkit:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 49 in /etc/shadow-: nixbld27:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/shadow-: !
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 50 in /etc/shadow-: systemd-journal-gateway:
00000004 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: vconsole.conf
00000002 [140715039545664] configfile.l:338:DBGetReaderListDir() Skipping hidden file: .clean
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: brave
00000002 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/group
00000006 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 1 in /etc/group: root:x:0:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 2 in /etc/group: wheel:x:1:ulysses
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 3 in /etc/group: kmem:x:2:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 4 in /etc/group: tty:x:3:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 5 in /etc/group: messagebus:x:4:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 6 in /etc/group: disk:x:6:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 7 in /etc/group: audio:x:17:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 8 in /etc/group: floppy:x:18:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 9 in /etc/group: uucp:x:19:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 10 in /etc/group: lp:x:20:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 11 in /etc/group: cdrom:x:24:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 12 in /etc/group: tape:x:25:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 13 in /etc/group: video:x:26:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 14 in /etc/group: dialout:x:27:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 15 in /etc/group: utmp:x:29:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 16 in /etc/group: adm:x:55:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 17 in /etc/group: networkmanager:x:57:nm-openvpn
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 18 in /etc/group: systemd-journal:x:62:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 19 in /etc/group: libvirtd:x:67:ulysses
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 20 in /etc/group: lightdm:x:78:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 21 in /etc/group: keys:x:96:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 22 in /etc/group: users:x:100:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 23 in /etc/group: systemd-network:x:152:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 24 in /etc/group: systemd-resolve:x:153:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 25 in /etc/group: systemd-timesync:x:154:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 26 in /etc/group: input:x:174:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 27 in /etc/group: nm-openvpn:x:217:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 28 in /etc/group: qemu-libvirtd:x:301:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 29 in /etc/group: kvm:x:302:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 30 in /etc/group: render:x:303:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 31 in /etc/group: sgx:x:304:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 32 in /etc/group: shadow:x:318:
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 33 in /etc/group: podman:x:989:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 34 in /etc/group: msr:x:990:
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 35 in /etc/group: geoclue:x:991:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 36 in /etc/group: fwupd-refresh:x:992:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 37 in /etc/group: avahi:x:993:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 38 in /etc/group: systemd-oom:x:994:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 39 in /etc/group: systemd-coredump:x:995:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 40 in /etc/group: rtkit:x:996:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 41 in /etc/group: polkituser:x:997:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 42 in /etc/group: nscd:x:998:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 43 in /etc/group: colord:x:999:
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld:x:30000:nixbld1
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld11
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld13
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld15
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld17
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld19
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld20
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld22
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld24
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld26
00000003 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld28
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld3
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld31
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld4
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000001 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld6
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: ,
00000002 [140715039545664] configfile.l:272:tok_error() tok_error: invalid value line 44 in /etc/group: nixbld8
00000004 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: wireplumber
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: mdadm.conf
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: samba
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: cups
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: pipewire
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: sysctl.d
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: pam.d
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: egl
00000004 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: lvm
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: pulse
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: nvidia
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: issue
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: profile
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: set-environment
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: geoclue
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: nanorc
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: lsb-release
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: kbd
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: pam
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: opt
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: tlp.conf
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: libblockdev
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: udev
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: rpc
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: bluetooth
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: os-release
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: reader.conf
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: tmpfiles.d
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: fonts
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: ethertypes
00000002 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/NIXOS
00000007 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: ssl
00000002 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: terminfo
00000001 [140715039545664] configfile.l:329:DBGetReaderListDir() Skipping non regular file: polkit-1
00000002 [140715039545664] configfile.l:369:DBGetReaderList() Parsing conf file: /etc/machine-id
00000016 [140715039545664] pcscdaemon.c:809:at_exit() cleaning /run/pcscd
00000007 [140715039545664] pcscdaemon.c:839:clean_temp_files() Cannot remove /run/pcscd/pcscd.comm: No such file or directory
00000003 [140715039545664] pcscdaemon.c:845:clean_temp_files() Cannot remove /run/pcscd/pcscd.pid: No such file or directory

⋉ sudo systemctl start pcscd.service
⋉ sudo systemctl status pcscd.service 
● pcscd.service - PC/SC Smart Card Daemon
     Loaded: loaded (/etc/systemd/system/pcscd.service; linked; preset: enabled)
    Drop-In: /nix/store/xy9dm6ly4a5lzi5f0fq7lnkpi2vp084i-system-units/pcscd.service.d
             └─overrides.conf
     Active: active (running) since Sat 2024-02-24 09:33:44 CET; 22s ago
TriggeredBy: ● pcscd.socket
       Docs: man:pcscd(8)
   Main PID: 81008 (pcscd)
         IP: 0B in, 0B out
         IO: 328.0K read, 0B written
      Tasks: 5 (limit: 76129)
     Memory: 1.8M (peak: 2.4M)
        CPU: 30ms
     CGroup: /system.slice/pcscd.service
             └─81008 /nix/store/pkw8q8vf74c2mlj3ir51aafqjmz5q7ia-pcsclite-with-polkit-2.0.1/bin/pcscd -f -x -c /nix/store/38wcpbh4yss3vh35vrazm1wbns0vld61-re>

Feb 24 09:33:44 ulysses-desktop systemd[1]: Started PC/SC Smart Card Daemon.

⋉ pcsc_scan 
PC/SC device scanner
V 1.7.1 (c) 2001-2022, Ludovic Rousseau <ludovic.rousseau@free.fr>
SCardEstablishContext: Service not available.
ThePinkUnicorn6 commented 6 months ago

I am running into a similar issue, I have a fido2 usb which I should be able to authenticate a login, but it is not working with firefox or firefox-nightly (installed using the overlay). When using https://webauthn.bin.coffee/ on chromium it works without issue, but when it is used on firefox it requests the pin as it should, then requests the button press, but when pressed it gives this error.

Contacting token... please perform your verification gesture (e.g., touch it, or plug it in)

Got error:
NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

Failures: 1 TODOs: 0

When doing this on an EndevourOS install it had no issues, but booting into a NixOS plasma live usb and trying it, it still gave the error.

MarkRijckenberg commented 6 months ago

@ThePinkUnicorn6 : I suggest that you file your own separate bugreport, to ensure that someone looks into your issue with FIDO2. I think my issue is too different from yours (different hardware, different protocols being used)

MarkRijckenberg commented 6 months ago

My bugreport seems identical to following closed bugreport: https://github.com/NixOS/nixpkgs/issues/121088

See my comment here: https://github.com/NixOS/nixpkgs/issues/290662#issuecomment-1962299427

MarkRijckenberg commented 6 months ago

After doing more digging today into this very persistent bug, I got the following Terminal output. It means that pcscd.service just self-terminates 1 minute after being started, even when I don't launch any web browser at all. I encounter this behavior on both my laptop and desktop. Both run NixOS 24.05 (unstable)

 ⋉ sudo systemctl start pcscd.service 
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ date
Fri Mar  1 06:44:51 PM CET 2024
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    active   running   PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   running   PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    inactive dead      PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   listening PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ systemctl list-units --all|grep pcsc
  pcscd.service                                                                          loaded    inactive dead      PC/SC Smart Card Daemon
  pcscd.socket                                                                           loaded    active   listening PC/SC Smart Card Daemon Activation Socket
ulysses-laptop ~ as 🧙 ⋉ date
Fri Mar  1 06:45:57 PM CET 2024
MarkRijckenberg commented 6 months ago

Here is the process that is spawned by "sudo systemctl start pcscd.service " and then self-terminates after 1 minute:

⋉ ps -aux|grep pcsc
root       10900  0.2  0.0  26436  5376 ?        Ssl  17:21   0:00 /nix/store/zs3a9vbrrsngmvbdg8ysy0jby9279q96-pcsclite-with-polkit-2.0.1/bin/pcscd -f -x -c /nix/store/k5xnbpz6d52pri80s1jcfc0flplmwk9y-reader.conf
StarGate01 commented 6 months ago

Try to enable debugging output for pcscd by setting services.pcscd.extraArgs = [ "-d" ]; and then reading from sudo journalctl -f -u pcscd .

MarkRijckenberg commented 6 months ago

Thanks StarGate01, this does give some more insight. So here is the procedure I followed. After rebooting NixOS, I still had to manually start pcscd to get it running for a mere 60 seconds.... I first ran sudo systemctl start pcscd.service , because pcscd.service was already dead after booting NixOS. Then I ran sudo journalctl -f -u pcscd Then , while the journalctl command was running, I disconnected the ACR38U card reader from the USB port and reconnected to the USB port during the first 10 seconds of the 60 second window that the pcscd service was alive:


Mar 04 22:12:38 ulysses-desktop pcscd[5658]: 00002202 pcscdaemon.c:796:main() Starting suicide alarm in 60 seconds
Mar 04 22:12:39 ulysses-desktop pcscd[5658]: 00498295 eventhandler.c:482:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
Mar 04 22:13:00 ulysses-desktop pcscd[5658]: 21782548 hotplug_libudev.c:639:HPEstablishUSBNotifications() USB Device removed
Mar 04 22:13:00 ulysses-desktop pcscd[5658]: 00000009 hotplug_libudev.c:345:HPRemoveDevice() Removing USB device[0]: ACS ACR38U at /dev/bus/usb/001/005
Mar 04 22:13:00 ulysses-desktop pcscd[5658]: 00000005 readerfactory.c:624:RFRemoveReader() UnrefReader() count was: 1
Mar 04 22:13:00 ulysses-desktop pcscd[5658]: 00000003 eventhandler.c:175:EHDestroyEventHandler() Stomping thread.
Mar 04 22:13:00 ulysses-desktop pcscd[5658]: 00000003 eventhandler.c:204:EHDestroyEventHandler() Waiting polling thread
Mar 04 22:13:01 ulysses-desktop pcscd[5658]: 00275403 eventhandler.c:504:EHStatusHandlerThread() Die
Mar 04 22:13:01 ulysses-desktop pcscd[5658]: 00000214 eventhandler.c:215:EHDestroyEventHandler() Thread stomped.
Mar 04 22:13:01 ulysses-desktop pcscd[5658]: 00000007 readerfactory.c:1148:RFUnInitializeReader() Attempting shutdown of ACS ACR38U 00 00.
Mar 04 22:13:01 ulysses-desktop pcscd[5658]: 00000030 readerfactory.c:1005:RFUnloadReader() Unloading reader driver.
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 05619035 hotplug_libudev.c:645:HPEstablishUSBNotifications() USB Device add
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00000119 hotplug_libudev.c:298:get_driver() Looking for a driver for VID: 0x072F, PID: 0x9000, path: /dev/bus/usb/001/006
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00000005 hotplug_libudev.c:419:HPAddDevice() Adding USB device: ACS ACR38U
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00000029 readerfactory.c:1094:RFInitializeReader() Attempting startup of ACS ACR38U 00 00 using /nix/store/149bn9r4wdj26gnzrb3rgasrdiks87kv-pcscd-plugins/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00008314 dyn_unix.c:105:DYN_GetAddress() IFDHCreateChannelByName: /nix/store/149bn9r4wdj26gnzrb3rgasrdiks87kv-pcscd-plugins/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver: undefined symbol: IFDHCreateChannelByName
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00000005 readerfactory.c:936:RFBindFunctions() Loading IFD Handler 2.0
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00000727 readerfactory.c:389:RFAddReader() Using the pcscd polling thread
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00043012 eventhandler.c:289:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00000006 Card ATR: 3B 98 13 40 0A A5 03 01 01 01 AD 13 11
Mar 04 22:13:07 ulysses-desktop pcscd[5658]: 00500255 eventhandler.c:482:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
Mar 04 22:13:38 ulysses-desktop pcscd[5658]: 31272295 pcscdaemon.c:192:signal_thread() Received signal: 14
Mar 04 22:13:38 ulysses-desktop pcscd[5658]: 00000014 pcscdaemon.c:226:signal_thread() Preparing for suicide
Mar 04 22:13:38 ulysses-desktop pcscd[5658]: 00001423 hotplug_libudev.c:707:HPStopHotPluggables() Hotplug stopped
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 01000366 winscard_svc.c:157:ContextsDeinitialize() remaining threads: 0
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000019 readerfactory.c:1379:RFCleanupReaders() entering cleaning function
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000002 readerfactory.c:1387:RFCleanupReaders() Stopping reader: ACS ACR38U 00 00
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000004 readerfactory.c:624:RFRemoveReader() UnrefReader() count was: 1
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000001 eventhandler.c:175:EHDestroyEventHandler() Stomping thread.
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000003 eventhandler.c:204:EHDestroyEventHandler() Waiting polling thread
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00218467 eventhandler.c:504:EHStatusHandlerThread() Die
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000073 eventhandler.c:215:EHDestroyEventHandler() Thread stomped.
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000009 readerfactory.c:1148:RFUnInitializeReader() Attempting shutdown of ACS ACR38U 00 00.
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00098663 readerfactory.c:1005:RFUnloadReader() Unloading reader driver.
Mar 04 22:13:39 ulysses-desktop pcscd[5658]: 00000157 pcscdaemon.c:809:at_exit() cleaning /run/pcscd
Mar 04 22:13:39 ulysses-desktop systemd[1]: pcscd.service: Deactivated successfully.
MarkRijckenberg commented 6 months ago

The issue seems to be this one, right?

Mar 04 22:13:06 ulysses-desktop pcscd[5658]: 00008314 dyn_unix.c:105:DYN_GetAddress() IFDHCreateChannelByName: /nix/store/149bn9r4wdj26gnzrb3rgasrdiks87kv-pcscd-plugins/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver: undefined symbol: IFDHCreateChannelByName

MarkRijckenberg commented 6 months ago

Maybe libacr38u is broken on NixOS unstable and needs to be bugfixed?

StarGate01 commented 6 months ago

It appears that the acr38u library packages in nixpkgs still builds version 1.7.11, while 2.1.2 is available in the Debian archives used by the package (http://ftp.debian.org/debian/pool/main/a/acr/) . I assume the old version was compiled against an old version of pcscd, and the newer versions have changed the API.

MarkRijckenberg commented 6 months ago

No, if you go to https://ftp.debian.org/debian/pool/main/a/acr/ then click on https://ftp.debian.org/debian/pool/main/a/acr/acr_2.1.2-1~bpo12+1.dsc then you will see Homepage: https://github.com/radareorg/acr

On https://github.com/radareorg/acr, you will see that it is about "ACR: Auto Conf Replacement" The same acr package exists for NixOS and is already at version 2.1.2, but this has nothing to do with libacr38u

MarkRijckenberg commented 6 months ago

@StarGate01: However, I do agree with your line of reasoning. Even if libacr38u is at the latest version already, I noticed in https://github.com/NixOS/nixpkgs/commits/master/pkgs/tools/security/pcsclite/default.nix
that there have been numerous changes to pcsclite in the past 5 months. No changes have been done to libacr38u since Dec 27, 2022. So I think that the changes to pcsclite in the past months have broken the API/communications with libacr38u. It would be great if someone updated libacr38u to make it work again....

StarGate01 commented 6 months ago

I was referring to the package description at https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/libacr38u/default.nix#L4 , which still points to the 1.7.11 sources.

MarkRijckenberg commented 6 months ago

Well, https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/libacr38u/default.nix#L8 is trying to perform a fetchURL from http://http.debian.net/debian/pool/main/a/acr38/acr38_1.7.11.orig.tar.bz2 That URL does not exist anymore, so libacr38u must be broken. I am very surprised no one else has reported this. It seems like I am the only one still using an ACR38U eid card reader on NixOS..... Maybe support for ACR38U has been deprecated on NixOS, because nobody is willing to maintain it on NixOS? The whole section http://http.debian.net/debian/pool/main/a/acr38 does not exist anymore....

StarGate01 commented 6 months ago

I am not sure if https://github.com/radareorg/acr is even the correct repo to use anymore. Have you tested the driver in https://github.com/acshk/acsccid ?

MarkRijckenberg commented 6 months ago

acsccid is already mentioned in my NixOS configuration:

NixOS configuration: Following lines are enabled in my flake configuration:

services.pcscd.enable = true; services.pcscd.plugins = [ pkgs.acsccid pkgs.ccid pkgs.libacr38u pkgs.scmccid ];

https://github.com/radareorg/acr is not the right repo, as acr refers to "ACR: Auto Conf Replacement"
See https://github.com/NixOS/nixpkgs/issues/290662#issuecomment-1977534684

MarkRijckenberg commented 6 months ago

I now changed services.pcscd.plugins = [ pkgs.acsccid pkgs.ccid pkgs.libacr38u pkgs.scmccid ]; to just services.pcscd.plugins = [ pkgs.acsccid ];

Now I got this output. Eid card reader Still not working though (with acsccid plugin).

ulysses-laptop shell-scripts master [?] via 🐍 v3.11.8 via 📐 via ⍱ as 🧙 ⋉ sudo systemctl start pcscd.service
ulysses-laptop shell-scripts master [?] via 🐍 v3.11.8 via 📐 via ⍱ as 🧙 ⋉ sudo journalctl -f -u pcscd
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00010108 readerfactory.c:1437:RFWaitForReaderInit() Waiting init for reader: ACS ACR38U 00 00
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00010135 readerfactory.c:1437:RFWaitForReaderInit() Waiting init for reader: ACS ACR38U 00 00
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00010226 readerfactory.c:1437:RFWaitForReaderInit() Waiting init for reader: ACS ACR38U 00 00
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00010239 readerfactory.c:1437:RFWaitForReaderInit() Waiting init for reader: ACS ACR38U 00 00
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00010169 readerfactory.c:1437:RFWaitForReaderInit() Waiting init for reader: ACS ACR38U 00 00
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00010234 readerfactory.c:1437:RFWaitForReaderInit() Waiting init for reader: ACS ACR38U 00 00
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00010161 readerfactory.c:1437:RFWaitForReaderInit() Waiting init for reader: ACS ACR38U 00 00
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00003919 eventhandler.c:289:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00000020 Card ATR: 3B 98 13 40 0A A5 03 01 01 01 AD 13 11
Mar 05 11:00:13 ulysses-laptop pcscd[5748]: 00006294 pcscdaemon.c:796:main() Starting suicide alarm in 60 seconds
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 04327148 hotplug_libudev.c:639:HPEstablishUSBNotifications() USB Device removed
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000017 hotplug_libudev.c:345:HPRemoveDevice() Removing USB device[0]: ACS ACR38U at /dev/bus/usb/001/008
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000008 ifdhandler.c:517:IFDHGetCapabilities() tag: 0xFB4, usb:072f/9000:libudev:0:/dev/bus/usb/001/008 (lun: 0)
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000004 readerfactory.c:624:RFRemoveReader() UnrefReader() count was: 1
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000004 eventhandler.c:175:EHDestroyEventHandler() Stomping thread.
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000004 ifdhandler.c:517:IFDHGetCapabilities() tag: 0xFB1, usb:072f/9000:libudev:0:/dev/bus/usb/001/008 (lun: 0)
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:517:IFDHGetCapabilities() tag: 0xFB2, usb:072f/9000:libudev:0:/dev/bus/usb/001/008 (lun: 0)
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000004 eventhandler.c:200:EHDestroyEventHandler() Request stopping of polling thread
Mar 05 11:00:17 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:482:IFDHStopPolling() usb:072f/9000:libudev:0:/dev/bus/usb/001/008 (lun: 0)
Mar 05 11:00:18 ulysses-laptop pcscd[5748]: 00370083 ccid_usb.c:1191:WriteUSB() write failed (1/8): -4 LIBUSB_ERROR_NO_DEVICE
Mar 05 11:00:18 ulysses-laptop pcscd[5748]: 00000017 ifdwrapper.c:364:IFDStatusICC() Card not transacted: 617
Mar 05 11:00:18 ulysses-laptop pcscd[5748]: 00000025 utils.c:98:SendHotplugSignal() Send hotplug signal to pcscd (pid=5748)
Mar 05 11:00:18 ulysses-laptop pcscd[5748]: 00000114 pcscdaemon.c:192:signal_thread() Received signal: 10
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 01000126 eventhandler.c:482:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 00000020 eventhandler.c:504:EHStatusHandlerThread() Die
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 00000248 eventhandler.c:215:EHDestroyEventHandler() Thread stomped.
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 00000015 readerfactory.c:1148:RFUnInitializeReader() Attempting shutdown of ACS ACR38U 00 00.
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 00000004 ifdhandler.c:420:IFDHCloseChannel() usb:072f/9000:libudev:0:/dev/bus/usb/001/008 (lun: 0)
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 00000015 ccid_usb.c:1191:WriteUSB() write failed (1/8): -4 LIBUSB_ERROR_NO_DEVICE
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 00000020 ccid_usb.c:216:close_libusb_if_needed() libusb_exit
Mar 05 11:00:19 ulysses-laptop pcscd[5748]: 00000072 readerfactory.c:1005:RFUnloadReader() Unloading reader driver.
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 05755467 hotplug_libudev.c:645:HPEstablishUSBNotifications() USB Device add
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000200 hotplug_libudev.c:298:get_driver() Looking for a driver for VID: 0x072F, PID: 0x9000, path: /dev/bus/usb/001/009
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000011 hotplug_libudev.c:419:HPAddDevice() Adding USB device: ACS ACR38U
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000050 readerfactory.c:1094:RFInitializeReader() Attempting startup of ACS ACR38U 00 00 using /nix/store/0wnpr83i5782gf9v2ni5hy0gg3bqbcsp-pcscd-plugins/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000347 readerfactory.c:968:RFBindFunctions() Loading IFD Handler 3.0
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000024 ifdhandler.c:2960:init_driver() Driver version: 1.1.8
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000250 ifdhandler.c:2977:init_driver() LogLevel: 0x0003
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000007 ifdhandler.c:2988:init_driver() DriverOptions: 0x0000
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000004 ifdhandler.c:2996:init_driver() ACSDriverOptions: 0x0003
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000005 ifdhandler.c:3004:init_driver() ACR38CardVoltage: 0
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000005 ifdhandler.c:3012:init_driver() ACR38CardType: 0
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000049 ifdhandler.c:162:CreateChannelByNameOrChannel() Lun: 0, device: usb:072f/9000:libudev:0:/dev/bus/usb/001/009
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000010 ccid_usb.c:329:OpenUSBByName() Using: /nix/store/bxhp5dff6hsjn6rfwch215riqjbz8isx-acsccid-1.1.8/pcsc/drivers/ifd-acsccid.bundle/Contents/Info.plist
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000206 ccid_usb.c:347:OpenUSBByName() ifdManufacturerString: Advanced Card Systems Ltd.
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000007 ccid_usb.c:348:OpenUSBByName() ifdProductString: ACS CCID driver
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000004 ccid_usb.c:349:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00005808 ccid_usb.c:753:OpenUSBByName() Found Vendor/Product: 072F/9000 (ACS ACR38U)
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000113 ccid_usb.c:755:OpenUSBByName() Using USB bus/device: 1/9
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000867 acr38cmd.c:502:ACR38_SetCardVoltage() cardVoltage: 0
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000013 acr38cmd.c:583:ACR38_SetCardType() cardType: 0
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000982 ccid.c:758:ccid_open_hack_post() Firmware: ACR38-1100
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000011 ifdhandler.c:333:CreateChannelByNameOrChannel() dwFeatures: 0x00010030
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:334:CreateChannelByNameOrChannel() wLcdLayout: 0x0000
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:335:CreateChannelByNameOrChannel() bPINSupport: 0x00
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000002 ifdhandler.c:336:CreateChannelByNameOrChannel() dwMaxCCIDMessageLength: 271
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000002 ifdhandler.c:337:CreateChannelByNameOrChannel() dwMaxIFSD: 248
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000004 ifdhandler.c:338:CreateChannelByNameOrChannel() dwDefaultClock: 4000
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000002 ifdhandler.c:339:CreateChannelByNameOrChannel() dwMaxDataRate: 229390
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:340:CreateChannelByNameOrChannel() bMaxSlotIndex: 0
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000002 ifdhandler.c:341:CreateChannelByNameOrChannel() bCurrentSlotIndex: 0
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:342:CreateChannelByNameOrChannel() bInterfaceProtocol: 0x26
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000002 ifdhandler.c:343:CreateChannelByNameOrChannel() bNumEndpoints: 3
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:344:CreateChannelByNameOrChannel() bVoltageSupport: 0x07
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000005 ifdhandler.c:517:IFDHGetCapabilities() tag: 0xFB3, usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000003 readerfactory.c:394:RFAddReader() Using the reader polling thread
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000394 ifdhandler.c:517:IFDHGetCapabilities() tag: 0xFAE, usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00000006 ifdhandler.c:621:IFDHGetCapabilities() Reader supports 1 slot(s)
Mar 05 11:00:24 ulysses-laptop pcscd[5748]: 00001033 ifdhandler.c:1407:IFDHPowerICC() action: PowerUp, usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:00:26 ulysses-laptop pcscd[5748]: 01375246 eventhandler.c:289:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
Mar 05 11:00:26 ulysses-laptop pcscd[5748]: 00000021 Card ATR: 3B 98 13 40 0A A5 03 01 01 01 AD 13 11
Mar 05 11:00:31 ulysses-laptop pcscd[5748]: 05001042 ifdhandler.c:1407:IFDHPowerICC() action: PowerDown, usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:00:31 ulysses-laptop pcscd[5748]: 00097665 eventhandler.c:482:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
Mar 05 11:01:13 ulysses-laptop pcscd[5748]: 42062382 pcscdaemon.c:192:signal_thread() Received signal: 14
Mar 05 11:01:13 ulysses-laptop pcscd[5748]: 00000016 pcscdaemon.c:226:signal_thread() Preparing for suicide
Mar 05 11:01:13 ulysses-laptop pcscd[5748]: 00001230 hotplug_libudev.c:707:HPStopHotPluggables() Hotplug stopped
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 01000078 winscard_svc.c:157:ContextsDeinitialize() remaining threads: 0
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000023 readerfactory.c:1379:RFCleanupReaders() entering cleaning function
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000003 readerfactory.c:1387:RFCleanupReaders() Stopping reader: ACS ACR38U 00 00
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000004 readerfactory.c:624:RFRemoveReader() UnrefReader() count was: 1
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000003 eventhandler.c:175:EHDestroyEventHandler() Stomping thread.
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000004 ifdhandler.c:517:IFDHGetCapabilities() tag: 0xFB1, usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:517:IFDHGetCapabilities() tag: 0xFB2, usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000002 eventhandler.c:200:EHDestroyEventHandler() Request stopping of polling thread
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000003 ifdhandler.c:482:IFDHStopPolling() usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00400299 eventhandler.c:504:EHStatusHandlerThread() Die
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000267 eventhandler.c:215:EHDestroyEventHandler() Thread stomped.
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000040 readerfactory.c:1148:RFUnInitializeReader() Attempting shutdown of ACS ACR38U 00 00.
Mar 05 11:01:14 ulysses-laptop pcscd[5748]: 00000018 ifdhandler.c:420:IFDHCloseChannel() usb:072f/9000:libudev:0:/dev/bus/usb/001/009 (lun: 0)
Mar 05 11:01:15 ulysses-laptop pcscd[5748]: 00098136 ccid_usb.c:216:close_libusb_if_needed() libusb_exit
Mar 05 11:01:15 ulysses-laptop pcscd[5748]: 00000152 readerfactory.c:1005:RFUnloadReader() Unloading reader driver.
Mar 05 11:01:15 ulysses-laptop pcscd[5748]: 00000093 pcscdaemon.c:809:at_exit() cleaning /run/pcscd
Mar 05 11:01:15 ulysses-laptop systemd[1]: pcscd.service: Deactivated successfully.
MarkRijckenberg commented 6 months ago

Strangely enough, no usb driver is being assigned to the ACR38U card reader: Driver=(none)

⋉ sudo cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh=12
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.07
S:  Manufacturer=Linux 6.7.7 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 10 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=072f ProdID=9000 Rev= 1.00
S:  Manufacturer=ACS      
S:  Product=ACR38 USB Reader         
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=2ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
bjornfor commented 6 months ago

I don't know if this helps, but I have ACR38U-N1 smart card reader and services.pcscd.enable = true (no plugins) in my NixOS config and gp -i (GlobalPlatformPro) picks up card info. Maybe the plugins are outdated and shouldn't be used anymore?

MarkRijckenberg commented 6 months ago

Here are the results of my tests today: Using firefox on NixOS host with no pcscd plugins enabled: not working Using firefox on debian-latest container with no pcscd plugins enabled: not working

Using firefox on NixOS host with only the acsccid pcscd plugin enabled: not working Using firefox on debian-latest distrobox container with only the acsccid pcscd plugin enabled: working (only in the debian-latest container!)

MarkRijckenberg commented 6 months ago

Issue not solved, but thank you everyone for helping me and giving suggestions in trying to solve this tenacious issue....

MarkRijckenberg commented 6 months ago

Finally, after lots of troubleshooting, it seems the issue was not with any ccid drivers after all. It was all due to a misconfiguration of the 'PKCS#11' modules database in NixOS 24.05 and due to a wrong choice of web browser (firefox) .... I had to develop the following script that needs to be run just once on the NixOS 24.05 host to activate the eid card reader on the host. It is still strange, because I never needed to run this bash shell script in the debian-latest distrobox container. NixOS makes me jump through more hoops, unfortunately.

#!/usr/bin/env bash
# Author: Mark Rijckenberg 
# Latest modification date: 2024/3/6
# Prerequisites: NixOS 24.05, chromium browser, ACR38 AC1038-based Smart Card Reader
# Prerequisites: acsccid driver for card reader
# This bash shell script is compatible with NixOS 24.05 and latest version of chromium browser
# This script does NOT work reliably with Firefox browser, nor with the libacr38u drivers
# This script only needs to be run once, not after every reboot of the PC

# kill all open browsers:
killall chromium
killall firefox
eid-nssdb remove
eid-nssdb add
eid-viewer
chromium www.cm.be
# retest eid card reader on www.cm.be using chromium web browser

Issue solved, even after multiple reboots afterwards.