Skip to content

system-local-login: move pam_gnome_keyring after system-login if systemd - #28

Closed
Flowdalic wants to merge 1 commit into
gentoo:masterfrom
Flowdalic:gnome-keyring-systemd-fix
Closed

system-local-login: move pam_gnome_keyring after system-login if systemd#28
Flowdalic wants to merge 1 commit into
gentoo:masterfrom
Flowdalic:gnome-keyring-systemd-fix

Conversation

@Flowdalic

Copy link
Copy Markdown
Member

We previously moved pam_gnome_keyring before system-login to fix an issue when using OpenRC (bug #964268). However, having pam_gnome_keyring before system-login, and thereby before pam_systemd, breaks automatic keyring unlock via pam_gnome_keyring on systemd systems (bug #964306).

This adjusts the ninja template so that pam_gnome_keyring is only before system-login if --openrc is provided. Otherwise, pam_gnome_keyring is placed after system-login, just as it was before a507d2e ("system-local-login: move pam_gnome_keyring before system-login").

Thanks to Christopher Head for reporting this.

Closes: https://bugs.gentoo.org/964306

We previously moved pam_gnome_keyring before system-login to fix an
issue when using OpenRC (bug #964268). However, having
pam_gnome_keyring before system-login, and thereby before pam_systemd,
breaks automatic keyring unlock via pam_gnome_keyring on systemd
systems (bug #964306).

This adjusts the ninja template so that pam_gnome_keyring is only
before system-login if --openrc is provided. Otherwise,
pam_gnome_keyring is placed after system-login, just as it was before
a507d2e ("system-local-login: move pam_gnome_keyring before
system-login").

Thanks to Christopher Head for reporting this.

Closes: https://bugs.gentoo.org/964306
Signed-off-by: Florian Schmaus <flow@gentoo.org>
@Hawk777

Hawk777 commented Nov 4, 2025

Copy link
Copy Markdown

This patch works for me—it changes the output file to be identical to the one I hand-edited to get GKR working.

@Flowdalic

Copy link
Copy Markdown
Member Author

This patch works for me

Thanks for testing the patch.

@gentoo-bot gentoo-bot closed this in ea3f0ce Nov 4, 2025
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

Successfully merging this pull request may close these issues.

2 participants