Comment 5 for bug 1999049

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-puppet (master)

Reviewed: https://review.opendev.org/c/starlingx/stx-puppet/+/870667
Committed: https://opendev.org/starlingx/stx-puppet/commit/a09e31f934c28b245337278ae7c9828953d3b6a8
Submitter: "Zuul (22348)"
Branch: master

commit a09e31f934c28b245337278ae7c9828953d3b6a8
Author: Davi Frossard <email address hidden>
Date: Mon Jan 16 13:24:21 2023 -0500

    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, between the moment after bootstrap and before unlock. As a workaround, this change removes pam_systemd.so from PAM common-session file during bootstrap, avoiding the issue and also performance degradation.

    Following changes must be reverted:
    https://review.opendev.org/c/starlingx/config-files/+/866211
    https://review.opendev.org/c/starlingx/stx-puppet/+/867098
    https://review.opendev.org/c/starlingx/config-files/+/861633

    Test Plan (Debian AIO-SX):
    [PASS] Install, bootstrap and unlock.
    [PASS] Verify "pam_systemd.so" config is removed after bootstrap.
    [PASS] Verify there is no extra "systemd --user" processes running in
    background.
    [PASS] Verify no issues occur in standard upgrade scenario or during runtime manifest apply.

    Partial-Bug: 1999049
    Signed-off-by: Davi Frossard <email address hidden>
    Change-Id: I3c8964b1aa961fcea51f65205bfdbf8d39241569