Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2031

Using "mender-artifact cp" command leaves various temporary files around

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Labels:
    • Backlog:
      no

      Description

      Executing

      mender-artifact cp mender-beagleboneblack_1.6.0b1-build1.sdimg:/etc/hosts hosts
      

      IOW copying out from the sdimg, leaves these files in /tmp:

      /tmp/mender-modify-image284962298
      /tmp/mendertmp170549973
      

      Similarly, doing:

      mender-artifact cp hosts raspberrypi3_release_1_1.6.0b1-build1.mender:/etc/hosts
      

      IOW copying a file into an artifact, leaves this file in the current directory:

      ./mender-artifact232213585
      

      They can be pretty big, so cleaning up is important.

        Attachments

          Release management

            Activity

              People

              Assignee:
              a10053 Marcin Pasinski
              Reporter:
              a10040 Kristian Amlie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: