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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • 4.10
    • Containers
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • None
    • No
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:

       

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

                Created:
                Updated:
                Resolved: