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

Failing inventory script results in hoarding of zombie processes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 3.0.3
    • Labels:
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      Version:

      root@myhostname:~# mender -v
      3.2.1	runtime: go1.14.15
      

      Steps to reproduce: 
       

      printf "# Comment\nmy_hostname" > /etc/hostname
      
      # This will result in a Warning from the client
      # level=warning msg="Inventory tool /usr/share/mender/inventory/mender-inventory-hostinfo returned unparsable output: incorrect line 'my_hostname
      
      # However, each failure will result in a zombie process which will just keep on spawning
      ps | grep mender-invent
      

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            Martinovic Alan Martinovic
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: