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

install script fails if an OpenNMS directory contains root-owned lost+found directory

    XMLWordPrintable

Details

    • Horizon 22 - Feb 16 - Mar 2, Horizon 22 - April 13 - 27

    Description

      When running install -dis, the process will fail if one of the OpenNMS directories is at the root of an extfs filesystem, because the lost+found directory is owned and accessible only by root.

      Steps to reproduce:

      1. Install OpenNMS such that one of its directories (e.g., /opt/opennms/logs or /var/log/opennms) is at the root of an extfs filesystem.
      2. Run ${OPENNMS_HOME}/bin/install -dis

      Expected result:

      The install script should complete normally.

      Actual result:

      The install script exits with a large stack trace, eventually blaming java.nio.file.AccessDeniedException: /opt/opennms/logs/lost+found

      Attachments

        Activity

          People

            ranger Benjamin Reed
            wkeaney Will Keaney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: