Repository navigation
tools/aurora-sep: drop the login screen refresh unit - #2381
RyanTheTide wants to merge 1 commit into
Conversation
aurora-sep-greeter-refresh.service restarted gdm once Touch ID came up, seconds after the login screen appeared, so a password being typed at that moment was lost with the login screen. The login screen right after boot needs no fingerprint: as on macOS, where Touch ID is offered only after one password login since the restart, aurora-sep keeps require_password_after_boot = yes, so that login screen takes the password anyway. Later login screens (after a log out) and the lock screen find the reader once it is up. Keep the ordering from a062512 (the greeter unit does not wait for aurora-sep-ready) and drop the refresh unit, the script's refresh mode and their packaging. Signed-off-by: Ryan Murray <[email protected]>
|
Blockers: 1.
The ordering change is fine: the greeter unit has no After=/Requires= on aurora-sep-ready, and the Arch source and sha lists stay paired (23/23). HW row: the J616s timing table used automatic login, so no boot ran through the greeter. On J616s with automatic login off: the boot login screen comes up before Assisted-by: LLM (Claude:Opus 5.5) |
|
The login screen refresh unit and the script's |
…sh unit Folds #2381 into this PR unchanged. Signed-off-by: Ryan Murray <[email protected]>
|
Folded into #2464, which now carries this PR's commits unchanged (merge commit); review continues there. |
Problem
aurora-sep-greeter-refresh.service(added in a062512) restarts gdm once Touch ID comes up, a few seconds after the login screen appears. Anyone typing their password at that moment loses it along with the login screen. Restarting the display manager to pick up a late device is also the kind of retry this tree avoids.Change
Drop the refresh unit, the script's
refreshmode and their Fedora/Arch packaging. Keep the ordering from a062512: the greeter unit does not wait foraurora-sep-ready.The login screen right after boot needs no fingerprint. As on macOS, which offers Touch ID only after one password login since the restart, aurora-sep keeps
require_password_after_boot = yes, so that login screen takes the password anyway. Later login screens (after a log out) and the lock screen find the reader once it is up. The unit comment and README say so.Testing
bash -non the script; Fedora spec and Arch PKGBUILD source/checksum lists checked by hand (23 sources, 23 sums).The distribution packages carry the same change: aurora-sep: start the login screen without waiting for Touch ID fedora-aurora#428, aurora-sep: start the login screen without waiting for Touch ID alarm-aurora#352, aurora-sep: start the login screen without waiting for Touch ID nixos-aurora#333.
J616s (T6040, fleet75, greeter unit enabled, automatic login on), 5 boots per arm: A = production, B = this unit as an
/etcoverride of the packaged one. Kernel monotonic, median (min-max):aurora-sep-readydone (s)gdm now starts 3.8 s earlier and no longer waits for Touch ID (the enclave itself is ready at the same time as before). All ten boots: no failed units, no AVC denials.
Still to run
The hardware rows of those three PRs (J616s first): gdm starts before
aurora-sep-ready.servicefinishes, the boot login screen takes the password, and after a log out the next login screen offers the fingerprint.Why the ordering matters
J616s, Fedora 45, with the greeter unit enabled: gdm started at 11.51 s after kernel start, its critical chain
aurora-sep-greeter-fingerprint<-aurora-sep-ready(+0.31 s) <-aurora-sep.service(+4.17 s). The distribution copies still had the pre-a06251263367 unit.