diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0001-Reorganize-the-login-sessions.patch b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0001-Reorganize-the-login-sessions.patch index 8a8a7f8f49..544bac42ab 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0001-Reorganize-the-login-sessions.patch +++ b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0001-Reorganize-the-login-sessions.patch @@ -1,4 +1,4 @@ -From 3eb1fea6104cd4bbc978e11974f337549edaf2e4 Mon Sep 17 00:00:00 2001 +From 463005c7d333a520837cc2c07de33f335e4989d9 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 9 Oct 2025 17:32:38 +0200 Subject: [PATCH 1/2] Reorganize the login sessions @@ -61,10 +61,10 @@ index 4180cbb..0c7450d 100755 ] diff --git a/templates/system-local-login.tpl b/templates/system-local-login.tpl -index 5e01090..34d8459 100644 +index b1bd7e7..3206a3b 100644 --- a/templates/system-local-login.tpl +++ b/templates/system-local-login.tpl -@@ -2,12 +2,21 @@ auth include system-login +@@ -2,11 +2,17 @@ auth include system-login {% if gnome_keyring %} auth optional pam_gnome_keyring.so {% endif %} @@ -79,10 +79,13 @@ index 5e01090..34d8459 100644 +{% if selinux %} +session include system-selinux +{% endif %} - {% if gnome_keyring %} + {% if gnome_keyring and openrc %} + session optional pam_gnome_keyring.so auto_start + {% endif %} +@@ -14,3 +20,6 @@ session include system-login + {% if gnome_keyring and not openrc %} session optional pam_gnome_keyring.so auto_start {% endif %} - session include system-login +{% if not minimal %} +session include system-postlogin +{% endif %} @@ -163,5 +166,5 @@ index 150061f..690396f 100644 {% if sssd %} -- -2.51.0 +2.52.0 diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0002-Flatcar-modifications.patch b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0002-Flatcar-modifications.patch index 7776e58d0a..06729fa68a 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0002-Flatcar-modifications.patch +++ b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/sys-auth/pambase/0002-Flatcar-modifications.patch @@ -1,4 +1,4 @@ -From 55c811bb55334a9c5ba19e5c7ec61a9ede365a37 Mon Sep 17 00:00:00 2001 +From 7fda98ef4a405fdfe6f2f951398197a573ca7077 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Fri, 10 Oct 2025 11:47:43 +0200 Subject: [PATCH 2/2] Flatcar modifications @@ -48,5 +48,5 @@ index 905d04f..c78f9d6 100644 {% endif %} -- -2.51.0 +2.52.0