ublue-os / main

OCI base images of Fedora with batteries included
https://universal-blue.org/images/main/
Apache License 2.0
508 stars 51 forks source link

[Bug] Fedora 41 Gnome Fingerprint Regestration Doesn't work #674

Open czhang03 opened 2 weeks ago

czhang03 commented 2 weeks ago

I did a fresh installation with fedora 41 beta, so I am not sure if this issue is entirely reproducible with a fresh install.

System Setup

I daily run a non-admin account (not in sudoer or wheel group), and a separate admin account. I am trying to register the fingerprint on the non-admin account.

The fingerprint driver is detected and at the latest version

> GUID=$(fwupdmgr get-devices | grep -A 6 -E "fingerprint" | grep -i "GUID" | awk -F ': ' '{print $2}' | awk '{print $1}'); clear && echo "fwupdmgr get-devices $GUID" && fwupdmgr get-updates $GUID

fwupdmgr get-devices 1e8c8470-a49c-571a-82fd-19c9fa32b8c3
Selected device: Fingerprint Sensor
Devices with no available firmware updates: 
 • Fingerprint Sensor
No updatable devices

Step to Reproduce

  1. delete all fingerprints in setting
  2. run ujust check-local-override revert all the files that mention fingerprint login
  3. rebase onto ublue-main, if not already on ublue-main
  4. open fingerprint registration in gnome setting, realize that the "+" button on top of "scan new fingerprint"
  5. run fprintd-enroll and can enroll normally
  6. go back to gnome setting fingerprint page, notice that "fingerprint signin" is set to "enabled", and the fingerprint is successfully registered
  7. run ujust check-local-override notice there are no overrides that mention fingerprint login.

Expected behavior

Current behavior

driscollw commented 1 week ago

I'm seeing this behavior as well on Fedora 41. Baseline install using sudo. Fingerprint reader is showing up in the journal fprintd.service running.

czhang03 commented 1 day ago

I followed the following commands and things works now: https://community.frame.work/t/solved-fedora-37-fingerprint-not-enrolling/25856/7

I think I just need to run run0 authselect enable-feature with-fingerprint, but I am not entirely sure if systemctl enable fprintd.service --now also plays a role.