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

Description

When installing Horizon 30.0.4-1, the behavior that was corrected in returned:

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:
ERROR org.opennms.install.Installer - OpenNMS is configured to run as 'opennms' but '/opt/opennms/logs/lost+found' is not writable by that account.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed December 8, 2022 at 2:26 PM

Fixed in foundation-2022

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Story Points

Components

Sprint

Affects versions

Priority

PagerDuty

Created October 25, 2022 at 1:59 PM
Updated December 8, 2022 at 2:26 PM
Resolved December 8, 2022 at 2:26 PM