Davi Frossard 50c4560b3f Workaround for console session timeout terminating user processes
The change https://review.opendev.org/c/starlingx/config-files/+/861633
causes an unexpected behavior of systemd, terminating user processes
in case of session timeout after bootstrap and before unlock. As a
workaround, this change disables session timeout.

Test Plan:
[PASS] Install, bootstrap and unlock.
[PASS] Verify env variable TMOUT is set to 0.
[PASS] Wait long time (more than 15min) and verify that seession still open.

Partial-Bug: 1999049

Signed-off-by: Davi Frossard <dbarrosf@windriver.com>
Change-Id: If72a29119917a91ded2d0d3bd2a12013794c1448
2022-12-09 18:53:51 +00:00

10 lines
319 B
Bash

# TMOUT value will be updated to 900s by stx-puppet
# config.pp on runtime manifest or bootstrap.
export TMOUT=0
# This is to work around a bug in curl with https
# endpoints when using nss versions less than 3.52.
# Without this it creates many negative dentries
# each time it is called.
export NSS_SDB_USE_CACHE=no