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

tmux is killed when the StopIdleSessionSec times out.

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • rhel-9.4.z
    • systemd
    • None
    • No
    • Low
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      The tmux and its jobs are killed if StopIdleSessionSec= is set.

      What is the impact of this issue to you?

      This behavior breaks the running of batch job of customer.

      Please provide the package NVR for which the bug is seen:

      systemd-252-32.el9_4.x86_64 +

      tmux-3.2a-5.el9.x86_64

      How reproducible is this bug?:

      Always.

      Steps to reproduce

      1. Fresh install RHEL9 and update to the latest available version.
      2. Install tmux.
      3. Simply set the `StopIdleSessionSec=60` to /etc/systemd/logind.conf.
      4. Restart the systemd-logind or a reboot.
      5. Run tmux and run jobs in tabs.
      6. Detach the tmux.
      7. Keep the session open and switch to other terminal.

      Expected results

      The tmux should survive after the session has been closed.

      Actual results

      The tmux and its jobs are killed along with the session.

              systemd-maint systemd maint mailing list
              rhn-support-qguo Qi Guo
              systemd maint mailing list systemd maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: