Skip to contentSkip to conversation

weston-init-arago: always retry login

PATCH New [email protected] 1 participant 1 message Mar 25, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 weston-init-arago: always retry login

From: Randolph Sapp <[email protected]>

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.

---
 .../recipes-graphics/wayland/weston-init-arago/emptty.conf      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf +1 -1
index 7520bc0b..ffe1a3c2 100644
@@ -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
Signature · 1 line
2.49.0