Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-7522

toolbox command doesn't delete file /run/.containerenv when finished

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Normal
    • None
    • 4.10
    • Containers
    • None
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      toolbox pod doesn't delete file /run/.containerenv when the container is finished

      Version-Release number of selected component (if applicable):

      4.10

      How reproducible:

      Always

      Steps to Reproduce:

      1. oc debug node/worker01
      2. chroot /host
      3. sh-4.4# ls -lh /run/.containerenv
         ls: cannot access '/run/.containerenv': No such file or directory
      4. sh-4.4# toolbox
      5. ls -lh /run/.containerenv
         -rwxr-xr-x. 1 root root 0 Feb  1 10:13 /run/.containerenv
      6. exit
      7. sh-4.4# ls -lh /run/.containerenv
         -rwxr-xr-x. 1 root root 0 Feb  1 10:13 /run/.containerenv

      Actual results:

      /run/.containerenv exists after exiting the toolbox container

      Expected results:

      The file /run/.containerenv shouldn't exist

      Additional info:

       

      Attachments

        Activity

          People

            tsweeney@redhat.com Tom Sweeney
            rh-ee-amaroton Alicia Maroto Navarro
            Michael Nguyen Michael Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated: