diff mbox series

[meta-arago,scarthgap] weston-init-arago: always retry login

Message ID 20250325194138.3291552-3-rs@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,scarthgap] weston-init-arago: always retry login | expand

Commit Message

Randolph Sapp March 25, 2025, 7:41 p.m. UTC
From: Randolph Sapp <rs@ti.com>

Setting this value to -1 disables the login retry counter.

Temporary workaround while we fight system time related issues. Since we
can't trust battery backed RTC values and emptty doesn't stay alive
between sessions, it attempts to check login attempt counts using a
cache file a verifies is using the last login time.

Our system time keeps rolling back to the build time until NTP kicks in.
This results in every login attempt between boots occuring within the
last 2 seconds. The emptty application will need to be patched to delete
this file or reset the count to zero on successful logins.

Signed-off-by: Randolph Sapp <rs@ti.com>
---
 .../recipes-graphics/wayland/weston-init-arago/emptty.conf      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf
index 7520bc0b..ffe1a3c2 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf
@@ -20,7 +20,7 @@  AUTOLOGIN=true
 AUTOLOGIN_SESSION=Weston
 
 # If Autologin is enabled and session does not start correctly, the number of retries in short period is kept to eventually stop the infinite loop of restarts. -1 is for infinite retries, 0 is for no retry.
-AUTOLOGIN_MAX_RETRY=0
+AUTOLOGIN_MAX_RETRY=-1
 
 # Default LANG, if user does not have set own in init script.
 #LANG=en_US.UTF-8