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

fix: use correct user for cancel linger file name

    • rhel-system-roles-1.78.1-0.1.el9
    • None
    • None
    • ZStream
    • 4
    • rhel-sst-system-roles
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • Red Hat Enterprise Linux
    • System Roles Sprint 1, System Roles Sprint 2, System Roles Sprint 3, System Roles Sprint 4
    • Approved Blocker
    • Bug Fix
    • Hide
      .The linger feature can be canceled for the correct users

      When processing the instruction list of configuration items from kube files or Quadlet files, the `podman` RHEL system role was incorrectly using the user ID associated with the entire list. It did not use the user ID associated with the list item to compile the linger file name. Consequently, the linger file was not created and therefore the `podman` RHEL system role could not cancel the linger feature for the actual user if necessary. With this update, `podman` uses the correct username to construct the linger file name. As a result, the linger feature can be canceled for the correct users.
      Show
      .The linger feature can be canceled for the correct users When processing the instruction list of configuration items from kube files or Quadlet files, the `podman` RHEL system role was incorrectly using the user ID associated with the entire list. It did not use the user ID associated with the list item to compile the linger file name. Consequently, the linger file was not created and therefore the `podman` RHEL system role could not cancel the linger feature for the actual user if necessary. With this update, `podman` uses the correct username to construct the linger file name. As a result, the linger feature can be canceled for the correct users.
    • Done
    • None

      Cause: When processing a list of kube or quadlet items, the
      code was using the user id associated with the list, not the
      item, to specify the linger filename.

      Consequence: The linger file does not exist, so the code
      does not cancel linger for the actual user.

      Fix: Use the correct username to construct the linger filename.

      Result: Lingering is cancelled for the correct users.

      QE: The test is now in tests_basic.yml

      Signed-off-by: Rich Megginson <rmeggins@redhat.com>

              rmeggins@redhat.com Richard Megginson
              rmeggins@redhat.com Richard Megginson
              Richard Megginson Richard Megginson
              David Jez David Jez
              Jaroslav Klech Jaroslav Klech
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: