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

Upgrade to 29: "$RUNAS is not set"

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 29.0.0
    • 29.0.1
    • None
    • Security Level: Default (Default Security Scheme)
    • None
    • 3
    • Horizon 2021 - Nov 11 - Dec 1

    Description

      I'm getting this error upgrading from 28.1.1 on Debian to 29.0.0:

      Not creating home directory `/usr/share/opennms'.
      usage: /usr/share/opennms/bin/ensure-user-ping.sh <user>
      WARNING: Unable to enable ping by the opennms user. Try running /usr/share/opennms/bin/ensure-user-ping.sh manually.
      Something is very wrong, $RUNAS is not set. Bailing.
      Something is very wrong, $RUNAS is not set. Bailing.
      Job for opennms.service failed because the control process exited with error code.
      See "systemctl status opennms.service" and "journalctl -xe" for details.
      Setting up postgresql-client-12 (12.9-1.pgdg20.04+1) ... 

      This may be fine, but probably needs to at least be fixed to not make such a scary warning.

      Attachments

        Activity

          People

            ranger Benjamin Reed
            ranger Benjamin Reed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: