From 2507ad8d44bfbdb790f06b30d32c03842de6adde Mon Sep 17 00:00:00 2001 From: Miha Purg Date: Wed, 11 Dec 2024 12:12:16 +0100 Subject: [PATCH] Fix broken test in pam_account_password_faillock In newer versions of authselect, 'minimal' profile is removed in favor of 'local'. - https://fedoramagazine.org/authselect-in-fedora-linux-40-migrating-to-the-new-local-profile/ - https://github.com/authselect/authselect/releases/tag/1.5.0 --- .../tests/conflicting_settings_authselect.fail.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/templates/pam_account_password_faillock/tests/conflicting_settings_authselect.fail.sh b/shared/templates/pam_account_password_faillock/tests/conflicting_settings_authselect.fail.sh index a99e632a291..91890c28fbc 100644 --- a/shared/templates/pam_account_password_faillock/tests/conflicting_settings_authselect.fail.sh +++ b/shared/templates/pam_account_password_faillock/tests/conflicting_settings_authselect.fail.sh @@ -6,7 +6,8 @@ pam_files=("password-auth" "system-auth") -authselect create-profile testingProfile --base-on minimal +authselect create-profile testingProfile --base-on minimal || \ + authselect create-profile testingProfile --base-on local CUSTOM_PROFILE_DIR="/etc/authselect/custom/testingProfile"