Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
29.0.6
-
Security Level: Default (Default Security Scheme)
-
RHEL 7.9
-
Horizon 22 - Mar 2 - 16, Horizon 22 - March 16 - 30
-
Backlog
Description
When upgrading OpenNMS, if you have set RUNAS to something other than opennms, the installer prints a warning and leaves directory ownership intact.
It does not leave directory ownership intact for /opt/opennms/logs (or /var/log/opennms), setting ownership to opennms:opennms even if RUNAS is set to a different user.
Steps to reproduce:
- Install an OpenNMS that's older than the current release.
- Configure RUNAS to a user that's not opennms.
- Set ownership for all OpenNMS files to that user.
- Upgrade OpenNMS.
Expected results:
If RUNAS is set to a value other than opennms, the /opt/opennms/logs and /var/log/opennms directory ownership should not be changed, or should be set to the configured RUNAS user.
Actual results:
/opt/opennms/logs (or /var/log/opennms) ownership is changed to opennms:opennms regardless of the value of RUNAS.
Attachments
Issue Links
- mentioned in
-
Page Loading...