We should get this to work with the minion user rather than reverting the default user to use root.
Ronny Trommer July 31, 2018 at 10:17 AM
Edited
Tried to make a PR to make the default user root on Debian/Ubuntu the same as in CentOS, but couldn't find the init script for Minion in our source code. Tried find . -name "minion" -type f no result?! WTF
I can find the init script for opennms with
Ronny Trommer July 31, 2018 at 9:42 AM
On CentOS 7 it is started by default as user root on Ubuntu it is started by default as user minion which doesn't work. If you set the run as user in /etc/init.d/minion from minion to root the service also starts on Ubuntu/Debian.
Ronny Trommer July 31, 2018 at 8:08 AM
Edited
Verified the problem on Ubuntu 18.04 LTS. The LSB init script does not work. You can start the Minion with {{/usr/share/minion/bin/start}} and {{/usr/share/minion/stop}}.
When you install Minion on Ubuntu/Debian from repositories, the sysV init script does not start the Minion.
When you try to start it the output is
The
journalctl -xe
output is the following:You can start|stop the Minion with root
/usr/share/minion/bin/{start,stop}
.Source: https://chat.opennms.com/opennms/pl/er48e6jspfbyjf4sbknt7hrdgy