Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fprintd-enroll can't use fprintd.conf #49872

Closed
Vskilet opened this issue Nov 7, 2018 · 7 comments
Closed

fprintd-enroll can't use fprintd.conf #49872

Vskilet opened this issue Nov 7, 2018 · 7 comments

Comments

@Vskilet
Copy link
Contributor

Vskilet commented Nov 7, 2018

Issue description

Hi,
I try to use my fingerprint reader on a Thinkpad T440p under Nixos 18.09 but there is a problem with the fprintd.conf

fprintd[15259]: Could not open fprintd.conf: No such file or directory
user 'victor' claiming the device: 0
now monitoring fd 15
device 0 claim status 0
start enrollment device 0 finger 7
enroll_stage_cb: result 3
enroll_stage_cb: result 3

We can see that fprintd.conf isn't create or usable by fprintd-enroll in this case.

Steps to reproduce

  1. Use fprintd service :
services.fprintd.enable = true;
security.pam.services.login.fprintAuth = true;
security.pam.services.xscreensaver.fprintAuth = true; 
  1. fprintd-enroll
  2. Pass 3 times your finger on the fingerprint reader
  3. Check if your fingerprint is save : fprintd-list

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.76, NixOS, 18.09.932.09195057114 (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.1.1
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@lheckemann
Copy link
Member

The missing config shouldn't be a problem — it's only necessary for specifying alternative storage types, and if missing it will use the default settings. Do you have any problems other than this warning showing up?

@zimbatm
Copy link
Member

zimbatm commented Nov 8, 2018

I think the issue is that the service dies. @Vskilet can you share the output of systemctl status fprintd?

@Vskilet
Copy link
Contributor Author

Vskilet commented Nov 8, 2018

Ho ! @zimbatm you're right !

--> systemctl status fprintd.service        
● fprintd.service - Fingerprint Authentication Daemon
   Loaded: loaded (/nix/store/a6p2nf7d891iip6qbya8im4zhdqi9sp4-unit-fprintd.service/fprintd.service; linked; vendor preset: enabled)
   Active: inactive (dead)

nov. 08 17:53:13 systemd[1]: Starting Fingerprint Authentication Daemon...
nov. 08 17:53:13 systemd[1]: Started Fingerprint Authentication Daemon.
nov. 08 17:53:13 fprintd[1773]: Could not open fprintd.conf: No such file or directory
nov. 08 18:33:27 systemd[1]: Starting Fingerprint Authentication Daemon...
nov. 08 18:33:27 systemd[1]: Started Fingerprint Authentication Daemon.
nov. 08 18:33:27 fprintd[3935]: Could not open fprintd.conf: No such file or directory
nov. 08 19:35:52 systemd[1]: Starting Fingerprint Authentication Daemon...
nov. 08 19:35:52 systemd[1]: Started Fingerprint Authentication Daemon.
nov. 08 19:35:52 fprintd[5943]: Could not open fprintd.conf: No such file or directory

But I try to start it and enroll fingerprint but it the same :

found 1 devices
Device at /net/reactivated/Fprint/Device/0
Using device /net/reactivated/Fprint/Device/0
User vskilet has no fingers enrolled for Validity VFS5011.

@zimbatm
Copy link
Member

zimbatm commented Nov 8, 2018

@Vskilet the next thing to do is search other distros like Arch Linux to see if they have encountered the same issue. I suspect that the behaviour might have changed after a package upgrade and nobody noticed.

@lheckemann
Copy link
Member

I suspect that systemd might be stopping it automatically and starting it on-demand, since it's a Type=dbus service.

@Vskilet
Copy link
Contributor Author

Vskilet commented Nov 9, 2018

@Vskilet
Copy link
Contributor Author

Vskilet commented Nov 16, 2018

Update is not the solution but use the arch documentation is : https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/fprintd

I suggest the pr #50478

Thanks @nyanloutre for help.

@Vskilet Vskilet closed this as completed Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants