Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2
-
Component/s: Installation
-
Security Level: Default (Default Security Scheme)
-
Labels:None
-
Environment:Operating System: Solaris
Platform: Sun
-
Bugzilla Id:4069
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
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
Activity
Benjamin Reed
made changes -
| Field | Original Value | New Value |
|---|---|---|
| issue.field.bugzillaimportkey | 4069 | 15324 |
Benjamin Reed
made changes -
| Workflow | jira [ 15424 ] | jira-copy [ 17558 ] |
Matt Brozowski
made changes -
| Fix Version/s | Future 1.8 [ 10290 ] | |
| Assignee | OpenNMS Bug Mailing List [ buglist@opennms.org ] | Benjamin Reed [ ranger ] |
Benjamin Reed
made changes -
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | 1.9.8 [ 10394 ] | |
| Fix Version/s | 1.8.12 [ 10393 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
fixed in 1.8 and master