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

fix-karaf-setup.sh should honor RUNAS

    XMLWordPrintable

Details

    • Horizon 22 - Jan 19 - Feb 2
    • Backlog

    Description

      On a 29.0.x system with default RUNAS=opennms, running fix-karaf-setup.sh results in:

      [root@fd908 opennms]# bin/fix-karaf-setup.sh
      ERROR: you must run this script as opennms, not 'root'. 
             Create or edit /opt/opennms/etc/opennms.conf and set 'RUNAS=root' 
             if you wish for OpenNMS to run as root instead.
      

      This can be worked around by doing something like:

      [root@fd908 opennms]# su - opennms -s /bin/bash -c bin/fix-karaf-setup.sh 
      

      ...but this shouldn't be necessary in an ideal world.
       

      Attachments

        Issue Links

          Activity

            People

              ranger Benjamin Reed
              dino2gnt Dino Yancey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.