Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5966

[RHEL9/systemd/Bug] new systemd session idle timer killing midnight commander (mc) even if human input is provided

    • None
    • Important
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 8
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      This bug was initially created as a copy of Bug #2158355

      I am copying this bug because:

      Description of problem:

      The new systemd idle session timer is always being triggered when 'mc' or 'mcedit' is being used. The session is killed after the set timeout ignoring active input by the human 'mc'.
      With using 'vi' or 'nano' editor the session idle timer works and the session is not killed, only after being idle for the set timer (e.g. the 10 seconds in the reproducer below) the session is killed.

      Steps to Reproduce:

      1. Modify /etc/systemd/logind.conf, add 'StopIdleSessionSec=10'
      2. sudo systemctl restart systemd-logind
      3. Run 'mc''
      4. Keep being active for 20 seconds (e.g. presses down-key and then up-key)

      Actual results:Unable to keep active for 20 seconds, the session is killed after 10 seconds

      Expected results:Session is only killed after 10 seconds no human input is provided

              msekleta@redhat.com Michal Sekletar
              msekleta@redhat.com Michal Sekletar
              Michal Sekletar Michal Sekletar
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: