Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8844

Minion fails to start when running as non-root

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0.0
    • Fix Version/s: 19.0.0
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      After installing the opennms-minion package on a new system, '/etc/init.d/minion start' fails to start the Minion.

      When starting, the /opt/minion/data directory gets created by the root user, before we switch to the Minion user, and then startup fails with problems creating files in the data directory.

      I believe that the culprit is the call to '/opt/minion/bin/status' before we switch users.

        Attachments

          Activity

            People

            Assignee:
            ranger Benjamin Reed
            Reporter:
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: