-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-8.10.z
-
None
-
No
-
Moderate
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
8
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
x86_64
-
None
What were you trying to do that didn't work?
Trying to implement STIG requirement RHEL-08-020035 for terminating idle sessions.
What is the impact of this issue to you?
Any command run by the user that takes longer than StopIdleSessionSec without reading any input is killed. This could be yum update, file copying, etc.
Please provide the package NVR for which the bug is seen:
systemd-239-82.el8_10.3
kernel-4.18.0-553.33.1.el8_10
How reproducible is this bug?:
Always.
Steps to reproduce
- Set StopIdleSessionSec=600 in /etc/systemd/logind.conf
- Restart systemd-logind with sudo systemctl restart systemd-logind
- Run any command that takes longer than the specified duration without reading any input. The command will get killed, regardless of any output it prints. This could be anything like yum update, file copying, etc.
Example one liner:while true; do date; sleep 1; done
Expected results
Command finishing and not getting killed while active.
Actual results
Command gets killed after the set duration if no input is read, regardless of output and active operation.
- relates to
-
RHEL-19215 Idle session setting kills the GDM process
- Closed