Minion fails to start when running as non-root

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.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed October 26, 2016 at 1:10 PM

merged to develop

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created October 25, 2016 at 3:27 PM
Updated October 26, 2016 at 5:10 PM
Resolved October 26, 2016 at 1:10 PM