`omarchy setup security fingerprint` silently evicts a working libfprint fork, then "succeeds" against the stale daemon
What happened
This machine's fingerprint sensor — a Dell XPS 15 7590 with the Goodix 27c6:5395
("Goodix HTK32") — has no driver in the pinned libfprint-git snapshot. The community
fork libfprint-goodix53x5
(upstream, built on libfprint tag
v1.94.10, provides=('libfprint' 'libfprint-2')) adds the driver and works perfectly.
With the fork installed and the reader working, running
omarchy setup security fingerprint (also reachable from the launcher's
Setup → Security → Fingerprint row) destroys the working setup:
- The script's gate is
omarchy-pkg-missing libfprint-git .... The helper runspacman -Q "$pkg", which is provides-aware — but no fork can ever provide the literal namelibfprint-git, so the check reports "missing" on a correctly working machine. - The script then runs
sudo pacman -S --needed --noconfirm --ask 4 libfprint-git fprintd usbutils. The script's own comment states--ask 4exists to "accept the replacement in one transaction" — so pacman removes the working fork and installslibfprint-gitwithout any prompt. - The script immediately calls
sudo fprintd-enroll. fprintd is D-Bus-activated with a 30-second idle exit, and the already-running daemon still has the fork'slibfprint-2.somapped in memory. Enrollment and verification therefore succeed against the replaced driver. The script writes the PAM stacks and prints "Perfect! Fingerprint authentication is now configured." - When fprintd next starts (idle timeout, reboot, etc.) it loads the on-disk
libfprint-git, which has no driver for27c6:5395.fprintd-listreportsNo devices available— permanently, and silently, sinceauth sufficient pam_fprintd.sojust falls through to the password prompt.
The same sequence, from this machine's pacman.log and file mtimes (setup day):
01:39:34 installed libfprint-goodix53x5 → reader works, enrollment succeeds
01:40:31 removed libfprint-goodix53x5 + installed libfprint-git (the script's own pacman -S)
01:41:01 /etc/pam.d/{sudo,polkit-1,omarchy-lock-fingerprint} written by the script
(enroll/verify "passed" via the stale in-memory fork)
thereafter: fprintd-list → "No devices available" until the fork was
reinstalled by hand
Empirical confirmation that the pinned libfprint cannot drive this reader: with
libfprint-git installed, fprintd-list reproducibly reports No devices available
while the kernel enumerates the USB device normally; replacing the package with the
fork (same fprintd, same daemon restart, same user store) makes the device appear
and enroll/verify immediately.
Related observation (enroll UX): the journal also shows
fprintd: Authorization denied ... to call method 'Claim' for device 'Goodix HTK32 Fingerprint Sensor': Device was already claimedwhen enrollment is attempted while the lock screen holds the reader. Setup-time enrollment competing with hyprlock's claim makes the wizard's interactive step hang or misreport state; worth handling (e.g. release/skip the lock claim during enrollment) in whatever enroll flow the setup uses.
What was expected
A setup command should never tear down a driver that is currently working, and should not certify success with an enrollment that a 30-second-old daemon process performed using a library that no longer exists on disk.
Steps to reproduce
- On a machine whose reader is only supported by a libfprint fork that
provides=('libfprint')(e.g.libfprint-goodix53x5for Goodix27c6:5395), install the fork and confirmfprintd-list "$USER"shows the device. - Ensure fprintd is running (any
fprintd-*call starts it; it exits 30s after last use). - Run
omarchy setup security fingerprint. - Observe: the pacman transaction removes the fork; enrollment "succeeds"; PAM is written.
- Wait ~30 seconds; run
fprintd-list "$USER"→No devices available.
Proposed fixes
- Gate on the device, not on a package name. The real question is "can fprintd
enumerate the reader right now?" If a
fprintd-list-style probe finds the device, skip the package transaction entirely — whatever is installed is, by definition, working. (This also fixes the failure class in #11841: a device-based probe can say "your reader has no driver in any available libfprint build", instead of the generic "Enrollment failed. Please try again.") - If the transaction did replace a libfprint implementation,
systemctl try-restart fprintdbefore enrolling. Success must be judged against the on-disk library; otherwise the script's careful ordering (PAM only after enroll+verify passes) is defeated by D-Bus socket activation and the 30s exit timeout, and it writes the PAM stack for a driver it just removed. - Make the setup entry idempotent, or remap it — #11841 covers diagnosis for
unsupported readers; this covers the supported-by-something-else case. A
machine with
fprintdworking and PAM already configured gains nothing from a package re-install; the launcher row could offer an "add another finger" (fprintd-enroll -f <finger>/ view enrolled fingers) flow when it detects an already-configured system, and reserve the full setup for machines that need it. As shipped, one stray Enter onsetup.security.fingerprintreverts a community-driver machine to broken.
System details
omarchy version: 4.0.3-1- Kernel: 7.2.3-arch1-3 (Arch)
- Laptop: Dell XPS 15 7590 (DMI-confirmed) — Intel i7-9750H, UHD 630
- Reader: Shenzhen Goodix
27c6:5395"Goodix HTK32 Fingerprint Sensor" - Packages: fprintd 1.94.5-2; libfprint-goodix53x5 1.94.10-10 (working) vs libfprint-git 1:1.94.100.r10.g6f9479c-1 (pinned; no matching driver)
Filed by qwen/qwen3.8-flash via pi (agent-generated report; evidence gathered interactively with the user on the affected machine).
Checked against current quattro (9480d1b) by reading the source; nothing was run, since both halves need a real reader and a third-party libfprint package to reproduce on a machine.
The eviction is real and is still there. bin/omarchy-setup-security-fingerprint gates the install on omarchy-pkg-missing libfprint-git fprintd usbutils, and a fork that provides libfprint/libfprint-2 does not satisfy the name libfprint-git, so the script goes on to pacman -S --needed --noconfirm --ask 4 -- libfprint-git .... --ask 4 accepts any conflict removal pacman proposes, not only stock libfprint, so the working fork is removed without a prompt. Enroll and verify then run straight after, and nothing in the script, the fprintd drop-in or the migrations restarts fprintd after the transaction, so a daemon still holding the old library can pass both and get PAM written. That second half is explained by the source rather than reproduced.
Two open pull requests already say they fix this, and both link this issue:
- #12110 keeps any installed package that provides
libfprint/libfprint-2other than stock, and restarts fprintd after a package change. It also changes the sudo/polkit clamshell gate, which is a separate change. - #12833 keeps the package that owns
/usr/lib/libfprint-2.so.2when it is not stocklibfprintorlibfprint-git. It does not restart fprintd, so the stale-daemon half stays open there.
Each is being reviewed as its own item; which approach lands is the maintainer's call. Codex Medium reviewed the same source separately and agreed on the mechanism; it also noted that the restart in #12110 ignores a failure, and that neither check would see a fork installed alongside stock libfprint. Its independence from this review is not guaranteed.
Nothing is needed from you. This waits on the maintainer choosing between #12110 and #12833. The launcher offering an "add another finger" flow on an already-configured machine is a separate request and is left for the maintainer.
Another case of this: the Synaptics 06cb:0078 reader with libfprint-sigfm-0078 (AUR), a libfprint fork that adds a driver for it.
That package provides libfprint-git, so the setup only evicts it when fprintd or usbutils is missing: on a fresh install, or when the setup runs after omarchy-remove-security-fingerprint, which uninstalls fprintd. From reading the diffs, both #12110 and #12833 would keep it. Details and the reasons for the fork: https://github.com/omacom/omarchy/discussions/15958
Same root cause on another reader: Goodix 27c6:550a (Lenovo 21KH). The pinned libfprint-git has no driver for it ("No driver found for USB device 27C6:550A"), and upstream has none either (libfprint issue #490).
It works with libfprint-tod 1.95.2 plus the AUR package libfprint-2-tod1-goodix 0.0.9 (pacman -Rdd libfprint-git; yay -S libfprint-tod libfprint-2-tod1-goodix). fprintd then sees "Goodix Fingerprint Sensor 550A", and enroll, verify, sudo, polkit and the lock screen all work.
Re-running omarchy setup security fingerprint would evict libfprint-tod the same way as described above, because the gate only looks for libfprint-git.
Note for the fix: libfprint-tod is not a drop-in replacement for the pinned snapshot. Its ID tables lag behind and lack Synaptics 06cb:010b and FocalTech 2808:a97a, 2808:5158, 2808:6553. So the script should skip replacing any package that provides libfprint, and building the pinned snapshot with TOD support in omarchy-pkgs would let TOD driver modules like Goodix be added on top. Happy to test on this hardware.
I have the same problem: Goodix 27c6:550a on a Lenovo. +1 to the report above. The pinned libfprint-git has no driver for this reader, so fprintd-list shows "No devices available". Please make omarchy-setup-security-fingerprint support readers that need libfprint-tod and don't replace a working libfprint fork.
maybe merging these libfprint into a single version?
Checked the two new readers against current quattro and both open fixes, by reading the script, the two diffs and each AUR package's .SRCINFO. Nothing was run, since this needs the readers themselves.
Both new setups are the same bug:
libfprint-tod(Goodix 27c6:550a) provideslibfprintbut notlibfprint-git, so the gate trips on every run and--ask 4replaces it, even withfprintdandusbutilsalready installed.libfprint-sigfm-0078(Synaptics 06cb:0078) provideslibfprint-git, so it is evicted only whenfprintdorusbutilsis missing, as @rsd said. The setup then nameslibfprint-gitexplicitly, and--neededdoes not keep a provider that is installed under another name.
Both open fixes would keep both packages. #12110 asks pacman which package provides libfprint, libfprint-2 or libfprint-git and drops libfprint-git from the install whenever that is anything other than stock libfprint. #12833 keeps whichever package owns /usr/lib/libfprint-2.so.2 when that is neither libfprint nor libfprint-git. The one way #12833 could still evict a fork is if the fork does not install that exact path. #12833 still does not restart fprintd after a package change, so the stale-daemon half of this issue stays open there.
Building omarchy-pkgs' libfprint-git with TOD support, or merging the forks into one package, would add drivers rather than protect the one already installed. No script change does that; it is a packaging decision for the maintainer.
Codex Medium reviewed the same packaging metadata and diffs separately and agreed on each point. It added the precise conditions for the libfprint-sigfm-0078 case and the exact-path caveat for #12833. Its independence from this review is not guaranteed.
Nothing is needed from the reporters. This still waits on the maintainer choosing between #12110 and #12833.
Additional XPS 15 7590 / Goodix 27c6:5395 validation
This is additional evidence for this existing issue, not a new report or a claim that either proposed PR has been tested on this machine.
Recorded environment and working package
| Component | Recorded value |
|---|---|
| Laptop | Dell XPS 15 7590, x86_64 |
| Reader | Goodix HTK32, USB 27c6:5395 |
| Omarchy | 4.5.0-3 |
| Original library | libfprint-git 1:1.94.100.r10.g6f9479c-5 |
| fprintd | 1.94.5-2 |
| Working local package | libfprint-goodix53x5 1.94.10-10.2 |
| Local package's libfprint base | v1.94.10, commit 0c97a47d8ef405cd577b87058c1e89cae9d242e7 |
| Local package's Goodix source | 54d290d65ab68925de0ce3605da25f135b036a9a |
The local package release is not an official Omarchy or AUR release. It adds the missing glib2-devel build dependency and updates the Goodix source pin. No installed Omarchy source files were modified.
What was exercised
After replacing the library through pacman and restarting fprintd, device discovery returned:
ao 1 "/net/reactivated/Fprint/Device/0"
s "Goodix HTK32 Fingerprint Sensor"
s "press"
Right-index enrollment completed eight stages and reported enroll-completed. Genuine-finger verification reported verify-match (done), including after upgrading the driver source without re-enrollment.
Two clarified negative checks, requesting non-enrolled left-index and left-middle fingers, each returned:
Verify result: verify-no-match (done)
fprintd-verify exit status: 1
The owner subsequently selected lock-screen, sudo, and polkit integration. Configuration reused the installed wizard's sudo/polkit clamshell/password-fallback pattern and omarchy apply lock, but deliberately bypassed the wizard's driver-installation block. Actual fingerprint lock unlock and password-only lock unlock completed; post-unlock IPC reported locked:false, passwordPam:true, and fingerprint:true.
After sudo -k, sudo /usr/bin/id -u produced:
Place your right index finger on the fingerprint reader
0
After pkcheck --revoke-temp, pkexec /usr/bin/id -u returned 0. The owner was instructed to use the fingerprint in the graphical polkit conversation; its input method is not independently visible in the terminal log, so this is evidence of fresh elevation rather than a captured graphical fingerprint trace.
The driver's existing crypto, extraction, and matcher regression binaries also passed. These checks are not a measured false-accept rate or a biometric security certification. The project describes this matcher as convenience-grade.
Packaging findings relevant to any official driver integration
The observed AUR recipe 1.94.10-10 pinned July source d37cf8cb002db8030b97badd044ffef4f36ff347. Its first local build failed because /usr/bin/glib-mkenums was missing; adding glib2-devel fixed the build. Omarchy's own current pkgbuilds/libfprint-git/PKGBUILD already declares glib2-devel, so that dependency finding must not be presented as an Omarchy packaging omission.
The local source pin was advanced to include two publicly merged upstream fixes:
This does not prove the driver ports cleanly to Omarchy's newer libfprint snapshot. A future packaging change must preserve the newer base and existing Synaptics/FocalTech/Apple support, rather than replacing it with the older AUR library. The OpenCV/Meson integration and both architecture builds still need review.
Issue/PR scope and remaining checks
The package block is still present in inspected quattro commit 6194f4606c585da8b839b87df9120b7d796afedf. We intentionally did not rerun it against the working driver merely to demonstrate another eviction. The stale-daemon scenario is reported in this issue; it was not independently reproduced in this local investigation.
A read-only local pacman query confirmed that pacman -Qq libfprint and pacman -Qq libfprint-2 resolve to the installed libfprint-goodix53x5, while pacman -Qq libfprint-git does not. This is not a general claim that pacman queries ignore providers: the problem is the explicit conflicting libfprint-git transaction target.
I found the existing overlapping work in #12833, #12110, and #15324. The inspected #12833 diff preserves the nonstock library owner but does not refresh fprintd. The inspected #12110 diff refreshes it but suppresses restart failure and also changes unrelated PAM lid behavior. I have not run either PR, and am not opening another competing preservation PR.
Would it be useful to test #12833 on this exact hardware, with a separate narrowly scoped fix ensuring enrollment cannot continue after a failed daemon refresh? For fresh-install driver support, is adding a reviewed, architecture-scoped Goodix driver to Omarchy's existing libfprint-git the preferred packaging direction?
Still untested locally: reboot, suspend/resume, lid-closed behavior, sudo/polkit password fallback, and end-to-end execution of the proposed wizard fixes. Raw biometric images/templates, serial numbers, personal paths, and root backup contents are intentionally not included.
Another case: FPC 10a5:9800 ("FPC Sensor Controller L:0001 FW:27.26.23.50") on a Lenovo IdeaPad 1 15ALC7 (82R4), Omarchy 4.5.0-3, fprintd 1.94.5-2.
The pinned libfprint-git has no driver for it, so fprintd-list shows "No devices available". Upstream's fpcmoh MR (libfprint!396) was closed without merging. The AUR package libfprint-fpcmoh-git adds the driver.
Two problems with that package and the setup:
- It provides
libfprintbut notlibfprint-git, soomarchy-setup-security-fingerprintreplaces it through--ask 4. This is the bug this issue is about. - It provides an unversioned
libfprint-2.so. Omarchy'sfprintddepends onlibfprint-2.so=2-64, so pacman refuses to install the package while fprintd is installed. Keeping a different libfprint installed (#15533, #12833, #17810) doesn't help here. The package itself needs the versioned provide. I'm noting it for anyone else with this reader.
Workaround I used: rebuild the AUR package with provides+=(libfprint-git=$pkgver libfprint-2.so=2-64) and conflicts+=(libfprint-git). After that, the stock omarchy setup security fingerprint skips its install step, enrolls and verifies, and sets up PAM for sudo, polkit and the lock screen.
#16239 (elanpress) and #16543 (Goodix 55b4) are the same: libfprint-git conflicts with anything that provides libfprint, and --ask 4 accepts removing the fork. #12833 skips libfprint-git when something other than stock libfprint owns the library, and still replaces stock as before. I modelled the package states in a container (fork from the AUR, a TOD build, a fork from another repo): #12833 keeps all three; current setup replaces all three. #15533 does the same with a provides check and works too.
Checked the November 6, 12 and 16 reports against current quattro (419a5a7095d118a218d5f84548dbd83ce90067e6) and the existing preservation diffs. The package block still explicitly installs libfprint-git when its gate trips, with no fprintd refresh before enrollment. This was a source review; no tests or hardware reproduction ran in this session.
None of the new reports verifies a candidate PR at its full head SHA: the XPS validation deliberately bypassed the wizard's package block, the FPC result used locally changed package metadata with the stock wizard, and the container checks did not exercise a reader or the stale-daemon sequence. The FPC report also describes a separate package-dependency problem; preserving an installed library does not add missing driver support or repair package metadata.
One further source check: omarchy-apply-lock queries the same running fprintd with fprintd-list. That later check therefore does not establish that enrollment used the library now on disk.
Codex High reviewed the source. Opus 5.5 High and muse-wonder via pi, thinking high, reviewed the same material and agreed with the diagnosis and evidence limits; their independence from this review is not guaranteed. Opus added the lock-configuration probe finding above, which I checked against the source.
#12110 and #12833 already link this issue and remain open. This waits on the maintainer resolving the existing fix work; nothing further is needed from the reporters for this diagnosis.