Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
19.0.0
-
Security Level: Default (Default Security Scheme)
-
POSIX platforms when running as an unprivileged user
Description
The current start / stop script assumes that it is running as a privileged user and always tries to create / remove /var/lock/subsys/opennms. When running as an unprivileged user, this makes a bunch of noise. We should check whether we have write access to that directory and gate the attempt at creation / removal on that ability.