debian: Disable FAIL_DELAY option

In Debian, FAIL_DELAY is handled by pam in /etc/pam.d/login,
having this option configured in login.defs, spews out
error message such as the following while building the image:

appsdk - DEBUG: configuration error - unknown item 'FAIL_DELAY' (notify administrator)
appsdk - DEBUG: configuration error - unknown item 'FAIL_DELAY' (notify administrator)
appsdk - DEBUG: configuration error - unknown item 'FAIL_DELAY' (notify administrator)
appsdk - DEBUG: configuration error - unknown item 'FAIL_DELAY' (notify administrator)

Test Plan
PASS build and test ISO, check log files for the above error.

Story: 2009256
Task: 43738

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I51980859be294cc1321fb72dec240a8aa08d84b9
This commit is contained in:
Charles Short 2022-02-17 14:40:24 -05:00
parent dc99645a13
commit 6abf92ec97
3 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,6 @@ Homepage: https://www.starlingx.io
Package: shadow-utils-config
Architecture: all
Depends: ${misc:Depends}
Depends: ${misc:Depends}, login
Description: StarlingX shadow-utils configuration file
This package contains configurations for shadow-utils package.

View File

@ -2,3 +2,6 @@
#export DH_VERBOSE = 1
%:
dh $@
override_dh_installsystemd:
dh_installsystemd --name=clear_shadow_locks

View File

@ -9,7 +9,7 @@
# Note: When PAM is used, some modules may enfore a minimal delay (e.g.
# pam_unix enforces a 2s delay)
#
FAIL_DELAY 3
#FAIL_DELAY 3
#
# Enable logging and display of /var/log/faillog login failure info.