RPM and DEB maintainer scripts remove OPENNMS_HOME/data tree

Description

How to reproduce:

This looks self-inflicted, in the "%post core" maintainer script:

The customer who reported this problem (https://mynms.opennms.com/Ticket/Display.html?id=2949) has their own enterprisey software distribution system (in lieu of YUM) which requires rpm --verify to come back with no missing files in order to consider a package installed. I think that's a reasonable thing to expect of a freshly-installed package.

Environment

CentOS 6.5 x86_64 Also reported on a RHEL 5.something x86_64 system

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jeff Gehlbach April 10, 2014 at 6:43 AM

Fix for RPM and DEB maintainer scripts pushed to 1.12.

Jeff Gehlbach April 10, 2014 at 5:20 AM

The Debian postinst script for opennms-server does the same thing.

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

PagerDuty

Created April 8, 2014 at 8:45 AM
Updated January 27, 2017 at 4:20 PM
Resolved April 10, 2014 at 6:43 AM