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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 19.0.0
    • 19.0.0, Meridian-2017.1.0
    • Build / Packaging
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: