Repository navigation
Conversation
Co-authored-by: AnPod <AnPod@users.noreply.github.com>
6f82f5a to
3bf1940
Compare
Migrations run through `bash -euo pipefail`, not their executable bit, and agents/skills/migrations.md requires 0644; this was the only 0755 file in migrations/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reviewed by Claude Opus 5.5, with a second opinion from Codex Medium, and tested on a worker built from the Omarchy ISO (sddm 0.21.0-7, gnome-keyring 1:50.0-1). Reproduction. On the stock install, sddm-helper waits for the keyring daemon to start before it launches the Wayland session:
The 20-second delay was injected, so this proves the mechanism: SDDM no longer waits on the keyring before starting the session. It does not explain why the reporter's daemon took 30s to start on that boot. After the change, Pushed: f0de6fc sets Tests: on the worker, Second opinion (Codex Medium): it agreed the change is proportionate. It also confirmed that nothing a stock install relies on is lost: the daemon is still socket- and D-Bus-activated,
Neither applies to the stock file, so I left the code as it is. Next: this waits on the maintainer. The second opinion's edge cases above are theirs to accept or reject. @odcpw, if you can confirm on your T14 that autologin no longer stalls with this change, that would cover the trigger the worker could only simulate. |
|
| grep -q 'pam_gnome_keyring\.so' "$tmp_dir/sddm" && | ||
| fail "password SDDM PAM still references gnome-keyring auth/password" "$(cat "$tmp_dir/sddm")" |
There was a problem hiding this comment.
Successful removal fails the test. When the install script correctly removes the keyring lines,
grep finds no match and returns a nonzero status. With set -e, this top-level grep && fail check exits the test before it reaches pass. The autologin and migration checks use the same pattern, so the new test fails on the behavior it is meant to verify. Use if checks for these expected no-match results.
| session optional pam_systemd.so | ||
| EOF | ||
|
|
||
| OMARCHY_SDDM_AUTOLOGIN_PAM="$tmp_dir/sddm-autologin" bash "$migration" |
There was a problem hiding this comment.
Privileged migration path is untested. This fixture is writable by the test user, so the migration takes the direct
sed branch. On an existing installation, the root-owned PAM file takes the sudo sed branch instead. A regression in that production path could leave the autologin delay unfixed while this test passes. A controlled sudo stub would let the test cover that branch.
Knowledge Base Used: Migration framework
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
Fixes #13414
Autologin stayed on a black screen for ~30s while
pam_gnome_keyringblocked the session.Change
Test plan