prevent automatic start after installation / upgrade

Description

Installation on solaris now uses svc to start opennms immediately after installation. At this point in time it is not yet configured. If it's an upgrade there probably will be a mix of old and new configuration files.

Starting opennms with the default configuration or a configuration mix may have a lot of side-effects like adding unwanted nodes to the database, creating a lot of alarms etc.

To prevent this I would suppose the following patch to solaris/install/postinstall to remove the automatic startup:

diff --git a/solaris/install/postinstall b/solaris/install/postinstall
index be9fa7f..1b693ad 100644
— a/solaris/install/postinstall
+++ b/solaris/install/postinstall
@@ -26,5 +26,3 @@ else
fi

/usr/bin/su $INSTUSER -c "$BASEDIR/bin/install -dis" || exit 1
-
-/usr/sbin/svcadm enable $FMRI || exit 1

Environment

Operating System: Solaris Platform: Sun

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed April 6, 2011 at 11:53 AM

fixed in 1.8 and master

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created August 25, 2010 at 6:29 AM
Updated January 27, 2017 at 4:26 PM
Resolved April 6, 2011 at 11:53 AM

Flag notifications