Avoid faillock lock/tally reset on reboot or timeout

This commit is contained in:
Aaron Rainbolt 2024-10-19 23:49:07 -05:00
parent b6433309fd
commit 690e8dd826
No known key found for this signature in database
GPG key ID: A709160D73C79109
6 changed files with 37 additions and 17 deletions

View file

@ -52,6 +52,9 @@ case "$1" in
## /usr/share/glib-2.0/schemas/30_security-misc.gschema.override
glib-compile-schemas /usr/share/glib-2.0/schemas || true
## state dir for faillock
mkdir -p /var/lib/security-misc/faillock
;;
abort-upgrade|abort-remove|abort-deconfigure)