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

Skip /var/lock/subsys actions when running as unprivileged user

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0.0
    • Fix Version/s: 19.0.0, Meridian-2017.1.0
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      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.

        Attachments

          Activity

            People

            • Assignee:
              jeffg Jeff Gehlbach
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: