Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
Meridian-2021.1.11, 29.0.6
-
Security Level: Default (Default Security Scheme)
-
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:
- 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.
- 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