content
content copied to clipboard
RHEL 8/9 - Unexpected active sessions stop by systemd-logind
Description of problem:
Remediation for DISA-STIG-RHEL-08-020035 involves adding this setting to /etc/systemd/logind.conf: StopIdleSessionSec=900
Per Red Hat this, can cause GNOME sessions to fail. For example, if the RHEL screen saver activates, the GNOME session will eventually be terminated.
Red Hat support article: https://access.redhat.com/solutions/7059128
Recommendation: Omit remediation for DISA-STIG-RHEL-08-020035 until Red Hat fixes the kernel/logind issues described in the support article or warn users of SSG 1.72.
SCAP Security Guide Version:
1.72
Operating System Version:
RHEL 8, 9
Steps to Reproduce:
- Apply 1.72 Ansible to RHEL 8.8.
- Restart.
- Log into RHEL 8.8.
- Let system idle until a black screen appears
- Observe that session cannot be accessed.
- Workaround: Switch to a different console (Alt-F2) and log in. The GNOME session on the primary console will "wake up".
Actual Results:
GNOME session becomes inaccessible after lengthy idle time (20 minutes+)
Expected Results:
GNOME session remains available.