From e9af98f586a1b4dbd5ffb319c954cd0dd04d1deb Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Fri, 20 Jun 2025 11:11:31 +0200 Subject: [PATCH] libpam: ccmp13: disable pam_systemd integration to improve login performance On the CCMP13 platform, the inclusion of pam_systemd in the PAM stack causes excessive delays during login -close to 10 seconds- and can even lead to SSH login failures. Since we do not require per-user systemd services (--user), disable the pam_systemd session module to improve login responsiveness. Signed-off-by: Isaac Hermida --- meta-digi-dey/recipes-extended/pam/libpam_%.bbappend | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 meta-digi-dey/recipes-extended/pam/libpam_%.bbappend diff --git a/meta-digi-dey/recipes-extended/pam/libpam_%.bbappend b/meta-digi-dey/recipes-extended/pam/libpam_%.bbappend new file mode 100644 index 000000000..f91352635 --- /dev/null +++ b/meta-digi-dey/recipes-extended/pam/libpam_%.bbappend @@ -0,0 +1,5 @@ +# Copyright (C) 2025, Digi International Inc. + +do_install:append:ccmp13() { + sed -i '/pam_systemd.so/d' ${D}${sysconfdir}/pam.d/common-session +}