Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16914

Fix user/group for macOS Installer Package

XMLWordPrintable

    • Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020)
    • 0.5

      Hi,

      There currently is an issue with macOS zabbix-agent installer for macOS.

      Installed with,
      sudo installer -pkg /tmp/zabbix_agent-4.2.7-macos-amd64-openssl.pkg -target /

      See (1), the line "dscl . -list /Groups UniqueID | grep $gid > /dev/null"

      • try to test if $gid (200) is already used, but this test is always false, so it uses 200 as group id which is the “_softwareupdate” group id, a very bad thing.

      Could you fix this issue on checking if the GID exists? GID 200 is used by "_softwareupdate"

      Another thing is, that the Zabbix user should be hidden from the default login, with a line like this,
      "dscl . -create /Users/$USER_NAME IsHidden 1", which is missing on the installer. this is why the User is visible as “normal” Login user.

            atumilovics Andrejs Tumilovics
            ArtursL Arturs Lontons
            Team C
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: