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

Persisting Session in loginctl Causes Incorrect cgroup Assignment

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.6
    • CentOS Stream 9, rhel-9.4.z
    • systemd
    • None
    • rhel-plumbers
    • ssg_core_services
    • 26
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • None

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

       

      After a session is logged out and all tasks are stopped, the session persists in loginctl. This can lead to circumstances where users are not placed into the correct cgroup, leading to potential unlimited resource usage.

      https://github.com/systemd/systemd/issues/26744 

      Please provide the package NVR for which bug is seen: systemd-252-32.el9_4.6

      How reproducible: sometimes

      Steps to reproduce

      reliable reproduction is difficult on a single system, more details in github issue

      Expected results

      sessions with all tasks stopped are removed from loginctl

      Actual results

      logged out and stopped sessions are still present

              dtardon@redhat.com David Tardon
              neilhanlon Neil Hanlon (Inactive)
              systemd maint mailing list systemd maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: